Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
53d583ca
Commit
53d583ca
authored
Sep 27, 2000
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql into donna.mysql.com:/home/my/bk/mysql
parents
3b86d2e5
d9c70f5d
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
162 additions
and
170 deletions
+162
-170
sql-bench/Results/ATIS-mysql-NT_4.0
sql-bench/Results/ATIS-mysql-NT_4.0
+8
-8
sql-bench/Results/RUN-mysql-NT_4.0
sql-bench/Results/RUN-mysql-NT_4.0
+69
-70
sql-bench/Results/alter-table-mysql-NT_4.0
sql-bench/Results/alter-table-mysql-NT_4.0
+7
-7
sql-bench/Results/big-tables-mysql-NT_4.0
sql-bench/Results/big-tables-mysql-NT_4.0
+6
-6
sql-bench/Results/connect-mysql-NT_4.0
sql-bench/Results/connect-mysql-NT_4.0
+10
-10
sql-bench/Results/create-mysql-NT_4.0
sql-bench/Results/create-mysql-NT_4.0
+1
-13
sql-bench/Results/insert-mysql-NT_4.0
sql-bench/Results/insert-mysql-NT_4.0
+38
-34
sql-bench/Results/select-mysql-NT_4.0
sql-bench/Results/select-mysql-NT_4.0
+13
-13
sql-bench/Results/wisconsin-mysql-NT_4.0
sql-bench/Results/wisconsin-mysql-NT_4.0
+5
-5
sql/mysqld.cc
sql/mysqld.cc
+5
-4
No files found.
sql-bench/Results/ATIS-mysql-NT_4.0
View file @
53d583ca
Testing server 'MySQL 3.23.2
3 beta' at 2000-09-01 1:23:52
Testing server 'MySQL 3.23.2
5 beta' at 2000-09-27 2:53:29
ATIS table test
Creating tables
Time for create_table (28): 0 wallclock secs ( 0.00 usr 0.0
0
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for create_table (28): 0 wallclock secs ( 0.00 usr 0.0
2
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Inserting data
Time to insert (9768): 5 wallclock secs ( 0.
69 usr 1.47
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to insert (9768): 5 wallclock secs ( 0.
86 usr 1.25
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Retrieving data
Time for select_simple_join (500): 4 wallclock secs ( 1.
47 usr 0.69
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_join (200): 22 wallclock secs (13.
20 usr 5.34
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_distinct (800): 17 wallclock secs ( 4.75 usr 1.7
0
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_group (2800):
19 wallclock secs ( 3.31 usr 0.98
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_simple_join (500): 4 wallclock secs ( 1.
75 usr 0.53
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_join (200): 22 wallclock secs (13.
38 usr 5.28
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_distinct (800): 17 wallclock secs ( 4.75 usr 1.7
8
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_group (2800):
21 wallclock secs ( 3.16 usr 1.13
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Removing tables
Time to drop_table (28): 0 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 6
7 wallclock secs (23.42 usr 10.20
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 6
9 wallclock secs (23.89 usr 9.98
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/RUN-mysql-NT_4.0
View file @
53d583ca
This diff is collapsed.
Click to expand it.
sql-bench/Results/alter-table-mysql-NT_4.0
View file @
53d583ca
Testing server 'MySQL 3.23.2
3 beta' at 2000-09-01 0:45:18
Testing server 'MySQL 3.23.2
5 beta' at 2000-09-27 2:14:35
Testing of ALTER TABLE
Testing with 1000 columns and 1000 rows in 20 steps
Insert data into the table
Time for insert (1000) 0 wallclock secs ( 0.
13 usr 0.09
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for insert (1000) 0 wallclock secs ( 0.
06 usr 0.03
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for alter_table_add (992): 12
28 wallclock secs ( 0.55
usr 0.17 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for alter_table_add (992): 12
42 wallclock secs ( 0.42
usr 0.17 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for create_index (8): 2
5
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for create_index (8): 2
6
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for drop_index (8): 2
7 wallclock secs ( 0.00 usr 0.00
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for drop_index (8): 2
4 wallclock secs ( 0.00 usr 0.02
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for alter_table_drop (496): 10
33 wallclock secs ( 0.17 usr 0.08
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for alter_table_drop (496): 10
42 wallclock secs ( 0.25 usr 0.25
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 23
13 wallclock secs ( 0.84 usr 0.34
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 23
34 wallclock secs ( 0.75 usr 0.48
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/big-tables-mysql-NT_4.0
View file @
53d583ca
Testing server 'MySQL 3.23.2
3 beta' at 2000-09-01 1:25:00
Testing server 'MySQL 3.23.2
5 beta' at 2000-09-27 2:54:38
Testing of some unusual tables
All tests are done 1000 times with 1000 fields
Testing table with 1000 fields
Testing select * from table with 1 record
Time to select_many_fields(1000):
20 wallclock secs ( 8.72 usr 9.24
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_many_fields(1000):
19 wallclock secs ( 8.08 usr 9.09
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing select all_fields from table with 1 record
Time to select_many_fields(1000): 36 wallclock secs ( 8.
88 usr 9.50
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_many_fields(1000): 36 wallclock secs ( 8.
97 usr 8.94
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing insert VALUES()
Time to insert_many_fields(1000): 3 wallclock secs ( 0.
66 usr 0.17
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to insert_many_fields(1000): 3 wallclock secs ( 0.
44 usr 0.09
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing insert (all_fields) VALUES()
Time to insert_many_fields(1000): 1
8 wallclock secs ( 0.16 usr 0.14
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to insert_many_fields(1000): 1
9 wallclock secs ( 0.08 usr 0.33
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time:
79 wallclock secs (18.42 usr 19.0
5 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time:
80 wallclock secs (17.56 usr 18.4
5 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/connect-mysql-NT_4.0
View file @
53d583ca
Testing server 'MySQL 3.23.2
3 beta' at 2000-09-01 1:26:20
Testing server 'MySQL 3.23.2
5 beta' at 2000-09-27 2:55:59
Testing the speed of connecting to the server and sending of data
All tests are done 10000 times
Testing connection/disconnect
Time to connect (10000): 3
3 wallclock secs (11.69 usr 10.25
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to connect (10000): 3
2 wallclock secs (10.92 usr 11.08
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Test connect/simple select/disconnect
Time for connect+select_simple (10000): 3
6 wallclock secs (12.89 usr 11.09
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for connect+select_simple (10000): 3
7 wallclock secs (12.31 usr 11.61
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Test simple select
Time for select_simple (10000): 4 wallclock secs (
1.03 usr 1.67
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_simple (10000): 4 wallclock secs (
0.86 usr 1.70
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing connect/select 1 row from table/disconnect
Time to connect+select_1_row (10000): 3
9 wallclock secs (11.72 usr 12.45
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to connect+select_1_row (10000): 3
8 wallclock secs (12.33 usr 12.44
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing select 1 row from table
Time to select_1_row (10000): 5 wallclock secs (
0.95 usr 2.0
0 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_1_row (10000): 5 wallclock secs (
1.13 usr 1.7
0 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing select 2 rows from table
Time to select_2_rows (10000):
5 wallclock secs ( 1.30 usr 1.92
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_2_rows (10000):
6 wallclock secs ( 0.97 usr 1.97
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Test select with aritmetic (+)
Time for select_column+column (10000): 6 wallclock secs ( 1.
11 usr 1.64
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_column+column (10000): 6 wallclock secs ( 1.
06 usr 1.67
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing retrieval of big records (65000 bytes)
Time to select_big (10000): 5
7 wallclock secs (18.77 usr 10.03
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to select_big (10000): 5
5 wallclock secs (19.89 usr 8.75
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 18
5 wallclock secs (59.45 usr 51.06
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 18
3 wallclock secs (59.48 usr 50.92
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/create-mysql-NT_4.0
View file @
53d583ca
Testing server 'MySQL 3.23.2
3 beta' at 2000-09-01 1:29:26
Testing server 'MySQL 3.23.2
5 beta' at 2000-09-27 2:59:02
Testing the speed of creating and droping tables
Testing with 10000 tables and 10000 loop count
Testing create of tables
Time for create_MANY_tables (10000): 219 wallclock secs ( 2.70 usr 1.36 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Accessing tables
Time to select_group_when_MANY_tables (10000): 191 wallclock secs ( 1.67 usr 1.97 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing drop
Time for drop_table_when_MANY_tables (10000): 153 wallclock secs ( 1.09 usr 1.41 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing create+drop
Time for create+drop (10000): 128 wallclock secs ( 3.75 usr 2.59 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for create_key+drop (10000): 161 wallclock secs ( 5.14 usr 2.31 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 852 wallclock secs (14.36 usr 9.64 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/insert-mysql-NT_4.0
View file @
53d583ca
Testing server 'MySQL 3.23.2
3 beta' at 2000-09-01 1:43:39
Testing server 'MySQL 3.23.2
5 beta' at 2000-09-27 2:59:03
Testing the speed of inserting data into 1 table and do some selects on it.
The tests are done with a table that has 100000 rows.
...
...
@@ -8,63 +8,67 @@ Creating tables
Inserting 100000 rows in order
Inserting 100000 rows in reverse order
Inserting 100000 rows in random order
Time for insert (300000): 20
6 wallclock secs (30.56 usr 39.33
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for insert (300000): 20
3 wallclock secs (30.05 usr 40.38
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing insert of duplicates
Time for insert_duplicates (300000): 59 wallclock secs (
8.80 usr 11.75
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for insert_duplicates (300000): 59 wallclock secs (
6.50 usr 10.52
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Retrieving data from the table
Time for select_big (10:3000000): 87 wallclock secs (61.98 usr 25.58 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_key (10:3000000): 88 wallclock secs (63.17 usr 24.64 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by (10:3000000): 98 wallclock secs (62.34 usr 25.09 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_diff_key (500:1000): 124 wallclock secs ( 0.48 usr 0.05 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_prefix (5010:42084): 14 wallclock secs ( 4.63 usr 1.80 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range (5010:42084): 16 wallclock secs ( 4.67 usr 1.58 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key_prefix (200000): 200 wallclock secs (92.94 usr 38.81 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key (200000): 201 wallclock secs (92.67 usr 41.23 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_big (10:3000000): 88 wallclock secs (64.08 usr 24.75 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by_key (10:3000000): 89 wallclock secs (63.61 usr 25.09 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for order_by (10:3000000): 99 wallclock secs (63.39 usr 25.81 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_diff_key (500:1000): 123 wallclock secs ( 0.39 usr 0.08 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_prefix (5010:42084): 15 wallclock secs ( 5.30 usr 1.48 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_key2 (5010:42084): 16 wallclock secs ( 4.69 usr 1.74 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key_prefix (200000): 198 wallclock secs (91.75 usr 40.53 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key (200000): 193 wallclock secs (92.27 usr 38.89 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_key2 (200000): 202 wallclock secs (93.95 usr 37.08 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Test of compares with simple ranges
Time for select_range_prefix (20000:43500): 13 wallclock secs ( 5.
33 usr 2.36
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range
(20000:43500): 14 wallclock secs ( 5.75 usr 2.14
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_group (111):
33 wallclock secs ( 0.14 usr 0.00
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max_on_key (15000): 14 wallclock secs ( 6.51 usr 2.
45
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max (60):
18 wallclock secs ( 0.03 usr 0.02
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_on_key (100):
25 wallclock secs ( 0.01 usr 0.00
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count (100): 39 wallclock secs ( 0.
14 usr 0.03
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_big (20): 9
8 wallclock secs ( 0.03
usr 0.02 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range_prefix (20000:43500): 13 wallclock secs ( 5.
44 usr 2.44
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range
_key2 (20000:43500): 13 wallclock secs ( 5.33 usr 2.16
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_group (111):
40 wallclock secs ( 0.13 usr 0.02
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max_on_key (15000): 14 wallclock secs ( 6.51 usr 2.
50
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max (60):
20 wallclock secs ( 0.05 usr 0.03
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_on_key (100):
36 wallclock secs ( 0.05 usr 0.02
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count (100): 39 wallclock secs ( 0.
06 usr 0.02
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_big (20): 9
2 wallclock secs ( 0.05
usr 0.02 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing update of keys with functions
Time for update_of_key (500): 6
3 wallclock secs ( 4.78 usr 6.47
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_of_key_big (501): 34 wallclock secs ( 0.0
5 usr 0.06
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_of_key (500): 6
2 wallclock secs ( 4.77 usr 6.50
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_of_key_big (501): 34 wallclock secs ( 0.0
8 usr 0.05
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing update with key
Time for update_with_key (100000): 18
8 wallclock secs (26.88 usr 40.5
9 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_with_key (100000): 18
5 wallclock secs (24.97 usr 40.9
9 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing update of all rows
Time for update_big (500): 6
8 wallclock secs ( 0.02
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_big (500): 6
4 wallclock secs ( 0.00
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing left outer join
Time for outer_join_on_key (10:10): 40 wallclock secs ( 0.00 usr 0.0
1
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join (10:10): 1
18 wallclock secs ( 0.01
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join_found (10:10): 10
4 wallclock secs ( 0.02
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join_not_found (500:10): 5
9 wallclock secs ( 0.02
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join_on_key (10:10): 40 wallclock secs ( 0.00 usr 0.0
0
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join (10:10): 1
20 wallclock secs ( 0.00
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join_found (10:10): 10
6 wallclock secs ( 0.01
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for outer_join_not_found (500:10): 5
5 wallclock secs ( 0.00
usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing delete
Time for delete_key (10000): 7 wallclock secs ( 0.
73 usr 1.13
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for delete_
big (12): 21 wallclock secs ( 0.00 usr 0.02
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for delete_key (10000): 7 wallclock secs ( 0.
97 usr 1.25
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for delete_
all (12): 22 wallclock secs ( 0.00 usr 0.00
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Insert into table with 16 keys and with a primary key with 16 parts
Time for insert_key (100000): 1
434 wallclock secs (14.73 usr 12.73
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for insert_key (100000): 1
593 wallclock secs (14.31 usr 14.47
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing update of keys
Time for update_of_key (256): 427 wallclock secs ( 0.02 usr 0.08 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for update_of_key (256): 479 wallclock secs ( 0.06 usr 0.06 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Deleting rows from the table
Time for delete_big_many_keys (128): 1498 wallclock secs ( 0.02 usr 0.01 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Deleting everything from table
Time for delete_
big_many_keys (2): 412 wallclock secs ( 0.00 usr 0.00
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for delete_
all_many_keys (1): 1498 wallclock secs ( 0.02 usr 0.01
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Inserting 100000 rows with multiple values
Time for multiple_value_insert (100000): 9 wallclock secs ( 2.
48 usr 0.19
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for multiple_value_insert (100000): 9 wallclock secs ( 2.
51 usr 0.24
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for drop table(1): 0 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time:
4332 wallclock secs (490.00 usr 278.16
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time:
5829 wallclock secs (581.28 usr 317.09
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/select-mysql-NT_4.0
View file @
53d583ca
Testing server 'MySQL 3.23.2
3 beta' at 2000-09-01 2:55:53
Testing server 'MySQL 3.23.2
5 beta' at 2000-09-27 4:36:14
Testing the speed of selecting on keys that consist of many parts
The test-table has 10000 rows and the test is done with 500 ranges.
Creating table
Inserting 10000 rows
Time to insert (10000): 7 wallclock secs ( 1.2
3 usr 1.14
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to insert (10000): 7 wallclock secs ( 1.2
5 usr 1.03
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing big selects on the table
Time for select_big (70:17207): 1 wallclock secs ( 0.
34 usr 0.20
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range (410:1057904): 18
9 wallclock secs (27.13 usr 9.00
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max_on_key (70000): 1
66 wallclock secs (30.02 usr 11.73
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_on_key (50000):
320 wallclock secs (22.06 usr 8.56
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_big (70:17207): 1 wallclock secs ( 0.
44 usr 0.11
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for select_range (410:1057904): 18
7 wallclock secs (27.56 usr 9.31
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for min_max_on_key (70000): 1
97 wallclock secs (30.55 usr 11.14
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_on_key (50000):
402 wallclock secs (22.42 usr 8.89
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_group_on_key_parts (1000:0): 4
0 wallclock secs ( 2.53 usr 0.92
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_group_on_key_parts (1000:0): 4
7 wallclock secs ( 2.34 usr 0.75
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Testing count(distinct) on the table
Time for count_distinct (1000:2000):
75 wallclock secs ( 1.13 usr 0.31
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group_on_key (1000:6000):
40 wallclock secs ( 0.8
1 usr 0.23 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group_on_key_parts (1000:100000): 1
58 wallclock secs ( 2.78 usr 1.14
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group (1000:100000): 1
57 wallclock secs ( 2.50 usr 1.09
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_big (1000:10000000): 11
25 wallclock secs (223.27 usr 83.00
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 2
278 wallclock secs (313.80 usr 117.34
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct (1000:2000):
97 wallclock secs ( 0.97 usr 0.36
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group_on_key (1000:6000):
54 wallclock secs ( 0.6
1 usr 0.23 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group_on_key_parts (1000:100000): 1
44 wallclock secs ( 2.44 usr 1.28
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_group (1000:100000): 1
44 wallclock secs ( 2.70 usr 0.98
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for count_distinct_big (1000:10000000): 11
17 wallclock secs (225.77 usr 83.39
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 2
397 wallclock secs (317.05 usr 117.49
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql-bench/Results/wisconsin-mysql-NT_4.0
View file @
53d583ca
Testing server 'MySQL 3.23.2
3 beta' at 2000-09-01 3:33:5
1
Testing server 'MySQL 3.23.2
5 beta' at 2000-09-27 5:16:1
1
Wisconsin benchmark test
Time for create_table (3): 0 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Inserting data
Time to insert (31000): 1
8 wallclock secs ( 2.22 usr 3.9
7 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to delete_big (1):
1
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to insert (31000): 1
9 wallclock secs ( 2.39 usr 3.6
7 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time to delete_big (1):
0
wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Running actual benchmark
Time for wisc_benchmark (114): 9 wallclock secs ( 5.
69 usr 1.53
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Time for wisc_benchmark (114): 9 wallclock secs ( 5.
80 usr 1.64
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 28 wallclock secs (
7.91 usr 5.50
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
Total time: 28 wallclock secs (
8.19 usr 5.31
sys + 0.00 cusr 0.00 csys = 0.00 CPU)
sql/mysqld.cc
View file @
53d583ca
...
...
@@ -558,6 +558,7 @@ static sig_handler print_signal_warning(int sig)
void
unireg_end
(
int
signal_number
__attribute__
((
unused
)))
{
(
void
)
my_delete
(
pidfile_name
,
MYF
(
0
));
// This may not always exist
clean_up
();
pthread_exit
(
0
);
// Exit is in main thread
}
...
...
@@ -1435,8 +1436,8 @@ int main(int argc, char **argv)
uint
files
=
set_maximum_open_files
(
wanted_files
);
if
(
files
&&
files
<
wanted_files
)
// Some systems return 0
{
max_connections
=
(
ulong
)
(
files
-
10
)
/
5
;
table_cache_size
=
(
ulong
)
(
files
-
10
-
max_connections
)
/
2
;
max_connections
=
(
ulong
)
min
((
files
-
10
),
max_connections
)
;
table_cache_size
=
(
ulong
)
max
((
files
-
10
-
max_connections
)
/
2
,
64
)
;
DBUG_PRINT
(
"warning"
,
(
"Changed limits: max_connections: %ld table_cache: %ld"
,
max_connections
,
table_cache_size
));
...
...
@@ -1682,7 +1683,7 @@ int main(int argc, char **argv)
}
(
void
)
pthread_mutex_unlock
(
&
LOCK_thread_count
);
#ifndef __WIN__
(
void
)
my_delete
(
pidfile_name
,
MYF
(
MY_WME
));
// Not neaded anymore
(
void
)
my_delete
(
pidfile_name
,
MYF
(
0
));
// Not neaded anymore
#endif
my_thread_end
();
exit
(
0
);
...
...
@@ -2200,7 +2201,7 @@ enum options {
OPT_REPLICATE_DO_DB
,
OPT_REPLICATE_IGNORE_DB
,
OPT_LOG_SLAVE_UPDATES
,
OPT_BINLOG_DO_DB
,
OPT_BINLOG_IGNORE_DB
,
OPT_WANT_CORE
,
OPT_SKIP_CONCURRENT_INSERT
,
OPT_MEMLOCK
,
OPT_MYISAM_RECOVER
,
OPT_SKIP_CONCURRENT_INSERT
,
OPT_MEMLOCK
,
OPT_MYISAM_RECOVER
};
static
struct
option
long_options
[]
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment