insert-solid-Linux_2.0.36_i686-cmp-mysql,pg,solid
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:4k
源码类别:
MySQL数据库
开发平台:
Visual C++
- Testing server 'SOLID Server - v.02.30.0026 (Linux ix86)' at 1999-03-06 13:04:51
- 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): 947 wallclock secs (259.72 usr 21.92 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Testing insert of duplicates
- Time for insert_duplicates (300000): 91 wallclock secs (59.65 usr 3.36 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Retrieving data from the table
- Time for select_big (10:3000000): 312 wallclock secs (119.98 usr 6.62 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for order_by_key (10:3000000): 375 wallclock secs (120.22 usr 7.12 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for order_by (10:3000000): 367 wallclock secs (116.72 usr 6.11 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Note: Query took longer then time-limit: 600
- Estimating end time based on:
- 15 queries in 15 loops of 5000 loops took 602 seconds
- Estimated time for select_range_prefix (5000:126): 200666 wallclock secs (10.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Note: Query took longer then time-limit: 600
- Estimating end time based on:
- 30 queries in 30 loops of 5000 loops took 1198 seconds
- Estimated time for select_range (5000:252): 199666 wallclock secs ( 8.33 usr 1.67 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for select_key_prefix (200000): 545 wallclock secs (216.93 usr 15.32 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for select_key (200000): 573 wallclock secs (251.14 usr 17.44 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Test of compares with simple ranges
- Note: Query took longer then time-limit: 600
- Estimating end time based on:
- 560 queries in 14 loops of 500 loops took 623 seconds
- Estimated time for select_range_prefix (20000:1218): 623 wallclock secs ( 0.39 usr 0.03 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Note: Query took longer then time-limit: 600
- Estimating end time based on:
- 560 queries in 14 loops of 500 loops took 622 seconds
- Estimated time for select_range (20000:1218): 622 wallclock secs ( 0.32 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for select_group (101): 1206 wallclock secs ( 0.06 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for min_max_on_key (3000): 6 wallclock secs ( 1.91 usr 0.16 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for min_max (60): 406 wallclock secs ( 0.03 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for count_on_key (100): 1151 wallclock secs ( 0.13 usr 0.01 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for count (100): 1213 wallclock secs ( 0.10 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Testing update with functions
- Time for update_key (500): 2 wallclock secs ( 0.42 usr 0.05 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for update_key_big (501): 818 wallclock secs ( 0.30 usr 0.02 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Testing delete
- Time for delete_key (500): 29 wallclock secs ( 0.43 usr 0.06 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Time for delete_big (12): 250 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Insert into table with 7 keys and with a primary key with 7 parts
- Time for insert_key (100000): 1153 wallclock secs (85.87 usr 7.46 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Testing update of keys
- Time for update_of_primary_key_many_keys (256): 3015 wallclock secs ( 0.28 usr 0.02 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Deleting everything from table
- Time for delete_big (2): 163 wallclock secs ( 0.00 usr 0.00 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)
- Estimated total time: 457496 wallclock secs (1277.60 usr 88.42 sys + 0.00 cusr 0.00 csys = 0.00 CPU secs)