Testing server 'MySQL 3.23.3 alpha' at 1999-09-24  9:51:46

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.

Generating random keys
Creating tables
Inserting 100000 rows in order
Inserting 100000 rows in reverse order
Inserting 100000 rows in random order
Time for insert (300000): 145 wallclock secs (45.22 usr  7.48 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Testing insert of duplicates
Time for insert_duplicates (300000): 18 wallclock secs ( 6.67 usr  2.24 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Retrieving data from the table
Time for select_big (10:3000000): 68 wallclock secs (46.86 usr  8.02 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
Time for order_by_key (10:3000000): 69 wallclock secs (47.13 usr  7.95 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
Time for order_by (10:3000000): 90 wallclock secs (46.72 usr  8.08 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
Time for select_diff_key (500:1000): 305 wallclock secs ( 0.59 usr  0.01 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
Time for select_range_prefix (5000:63000): 19 wallclock secs ( 5.62 usr  0.47 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
Time for select_range (5000:63000): 18 wallclock secs ( 5.57 usr  0.57 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
Time for select_key_prefix (200000): 404 wallclock secs (172.53 usr 12.29 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
Time for select_key (200000): 402 wallclock secs (154.50 usr 10.45 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Test of compares with simple ranges
Time for select_range_prefix (20000:43500): 22 wallclock secs ( 9.15 usr  0.69 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
Time for select_range (20000:43500): 21 wallclock secs ( 9.26 usr  0.80 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Testing update of keys in loops
note: Aborting update loop because of timeout
Note: Query took longer then time-limit: 600
Estimating end time based on:
548951 queries in 548951 loops of 600000 loops took 1194 seconds
Estimated time for update_of_key (600000): 1305 wallclock secs (160.80 usr 25.83 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Testing update with key
Time for update_with_key (100000):  381 wallclock secs (62.03 usr 12.20 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Testing update of all rows
Time for update_big (500):  50 wallclock secs ( 0.00 usr  0.01 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Testing delete
Time for delete_key (500):  1 wallclock secs ( 0.16 usr  0.01 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
Time for delete_big (12): 20 wallclock secs ( 0.00 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Insert into table with 5 keys and with a primary key with 5 parts
Time for insert_key (100000): 80 wallclock secs (15.22 usr  2.82 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Testing update of keys
Time for update_of_primary_key_many_keys (256): 31 wallclock secs ( 0.03 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Deleting everything from table
Time for delete_big_many_keys (2): 35 wallclock secs ( 0.00 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU)

Estimated total time: 3485 wallclock secs (788.07 usr 99.92 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
