select-pg_fast-Linux_2.2.14_my_SMP_i686-cmp-mysql,pg
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:2k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. Testing server 'PostgreSQL version 7.0.2' at 2000-08-17  6:40:22
  2. Testing the speed of selecting on keys that consist of many parts
  3. The test-table has 10000 rows and the test is done with 12 ranges.
  4. Creating table
  5. NOTICE:  Vacuum: table not found
  6. Time for book-keeping (1):  1 wallclock secs ( 0.00 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  7. Inserting 10000 rows
  8. Time to insert (10000): 12 wallclock secs ( 3.13 usr  0.45 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  9. NOTICE:  Vacuum: table not found
  10. Time for book-keeping (1):  0 wallclock secs ( 0.00 usr  0.01 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  11. Testing big selects on the table
  12. Time for select_big (70:17207):  1 wallclock secs ( 0.14 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  13. Time for select_range (410:75949): 24 wallclock secs ( 0.92 usr  0.02 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  14. Note: Query took longer then time-limit: 600
  15. Estimating end time based on:
  16. 16968 queries in 2424 loops of 10000 loops took 601 seconds
  17. Estimated time for min_max_on_key (70000): 2479 wallclock secs (20.34 usr  2.93 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  18. Note: Query took longer then time-limit: 600
  19. Estimating end time based on:
  20. 27270 queries in 5454 loops of 10000 loops took 601 seconds
  21. Estimated time for count_on_key (50000): 1101 wallclock secs (15.60 usr  2.51 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  22. Time for count_group_on_key_parts (1000:0): 216 wallclock secs ( 1.37 usr  0.02 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  23. Testing count(distinct) on the table
  24. Time for count_distinct (1000:2000): 185 wallclock secs ( 0.71 usr  0.16 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  25. Time for count_distinct_group_on_key (1000:6000): 145 wallclock secs ( 0.33 usr  0.07 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  26. Time for count_distinct_group_on_key_parts (1000:100000): 246 wallclock secs ( 1.09 usr  0.05 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  27. Time for count_distinct_group (1000:100000): 246 wallclock secs ( 1.12 usr  0.06 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  28. Time for count_distinct_big (1000:10000000): 529 wallclock secs (82.37 usr  2.86 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  29. NOTICE:  Vacuum: table not found
  30. Time for book-keeping (1):  1 wallclock secs ( 0.00 usr  0.00 sys +  0.00 cusr  0.00 csys =  0.00 CPU)
  31. Estimated total time: 5187 wallclock secs (127.12 usr  9.14 sys +  0.00 cusr  0.00 csys =  0.00 CPU)