📄 insert-sybase_odbc-nt_4.0-cmp-db2,informix,ms-sql,mysql,oracle,solid,sybase
字号:
Testing server 'Sybase enterprise 11.5 NT' at 1998-10-02 8:13:25Testing 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 keysCreating tablesInserting 100000 rows in order0 : Fri Oct 2 08:13:31 199810000 : Fri Oct 2 08:15:49 199820000 : Fri Oct 2 08:18:01 199830000 : Fri Oct 2 08:20:14 199840000 : Fri Oct 2 08:22:27 199850000 : Fri Oct 2 08:24:48 199860000 : Fri Oct 2 08:27:19 199870000 : Fri Oct 2 08:30:03 199880000 : Fri Oct 2 08:32:09 199890000 : Fri Oct 2 08:34:12 1998Inserting 100000 rows in reverse order0 : Fri Oct 2 08:36:14 199810000 : Fri Oct 2 08:38:17 199820000 : Fri Oct 2 08:40:22 199830000 : Fri Oct 2 08:42:31 199840000 : Fri Oct 2 08:44:39 199850000 : Fri Oct 2 08:46:43 199860000 : Fri Oct 2 08:48:50 199870000 : Fri Oct 2 08:51:04 199880000 : Fri Oct 2 08:53:26 199890000 : Fri Oct 2 08:56:23 1998Inserting 100000 rows in random order0 : Fri Oct 2 08:58:39 199810000 : Fri Oct 2 09:01:03 199820000 : Fri Oct 2 09:04:49 199830000 : Fri Oct 2 09:08:33 199840000 : Fri Oct 2 09:12:29 199850000 : Fri Oct 2 09:15:12 199860000 : Fri Oct 2 09:18:09 199870000 : Fri Oct 2 09:21:29 199880000 : Fri Oct 2 09:24:42 199890000 : Fri Oct 2 09:28:39 1998Time for insert (300000): 4682 secs (4681.62 usr 0.00 sys = 4681.62 cpu)Testing insert of duplicatesTime for insert_duplicates (300000): 331 secs (331.28 usr 0.00 sys = 331.28 cpu)Retrieving data from the tableTime for select_big (10:3000000): 275 secs (275.20 usr 0.00 sys = 275.20 cpu)Time for order_by_key (10:3000000): 273 secs (272.97 usr 0.00 sys = 272.97 cpu)Time for order_by (10:3000000): 395 secs (394.89 usr 0.00 sys = 394.89 cpu)Note: Query took longer then time-limit: 600Estimating end time based on:1490 queries in 1490 loops of 5000 loops took 601 secondsEstimated time for select_range_prefix (5000:5960): 2016 secs (2017.70 usr 0.00 sys = 2017.70 cpu)Note: Query took longer then time-limit: 600Estimating end time based on:1490 queries in 1490 loops of 5000 loops took 603 secondsEstimated time for select_range (5000:5960): 2023 secs (2021.03 usr 0.00 sys = 2021.03 cpu)Note: Query took longer then time-limit: 600Estimating end time based on:6904 queries in 3452 loops of 100000 loops took 601 secondsEstimated time for select_key_prefix (200000): 17410 secs (17410.02 usr 0.00 sys = 17410.02 cpu)Note: Query took longer then time-limit: 600Estimating end time based on:6824 queries in 3412 loops of 100000 loops took 601 secondsEstimated time for select_key (200000): 17614 secs (17614.13 usr 0.00 sys = 17614.13 cpu)Test of compares with simple rangesNote: Query took longer then time-limit: 600Estimating end time based on:2920 queries in 73 loops of 500 loops took 602 secondsEstimated time for select_range_prefix (20000:6351): 602 secs (602.38 usr 0.00 sys = 602.38 cpu)Note: Query took longer then time-limit: 600Estimating end time based on:2920 queries in 73 loops of 500 loops took 603 secondsEstimated time for select_range (20000:6351): 603 secs (603.08 usr 0.00 sys = 603.08 cpu)Time for select_group (91): 56 secs (55.88 usr 0.00 sys = 55.88 cpu)Time for min_max_on_key (3000): 96 secs (96.64 usr 0.00 sys = 96.64 cpu)Time for min_max (60): 17 secs (16.74 usr 0.00 sys = 16.74 cpu)Time for count_on_key (100): 14 secs (14.21 usr 0.00 sys = 14.21 cpu)Time for count (100): 23 secs (22.40 usr 0.00 sys = 22.40 cpu)Testing update with functionsTime for update_key (500): 40 secs (39.90 usr 0.00 sys = 39.90 cpu)Time for update_key_big (501): 347 secs (347.05 usr 0.00 sys = 347.05 cpu)Testing deleteTime for delete_key (500): 43 secs (42.44 usr 0.00 sys = 42.44 cpu)Time for delete_big (12): 181 secs (181.45 usr 0.00 sys = 181.45 cpu)Insert into table with 16 keys and with a primary key with 15 partsTime for insert_key (100000): 7053 secs (7053.03 usr 0.00 sys = 7053.03 cpu)Testing update of keysTime for update_of_key (256): 1023 secs (1022.68 usr 0.00 sys = 1022.68 cpu)Deleting everything from tableTime for delete_big (2): 7736 secs (7735.26 usr 0.00 sys = 7735.26 cpu)Estimated total time: 69907 secs (69908.40 usr 0.00 sys = 69908.40 cpu)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -