home *** CD-ROM | disk | FTP | other *** search
/ CD BIT 75 / CD BIT 75.iso / Software / mysql-4.0.22-win / data1.cab / Development / sql-bench / Comments / mysql.benchmark < prev    next >
Encoding:
Text File  |  2004-10-28  |  1.3 KB  |  40 lines

  1. # This file describes how to run MySQL benchmarks with MySQL
  2.  
  3. # The test was run on a Intel Xeon 2x 550 Mzh machine with 1G memory,
  4. # 9G hard disk.  The OS is Suse 6.4, with Linux 2.2.14 compiled with SMP
  5. # support
  6. # Both the perl client and the database server is run
  7. # on the same machine. No other cpu intensive process was used during
  8. # the benchmark.
  9.  
  10. #
  11. #
  12. # First, install MySQL from RPM or compile it according to the
  13. # recommendations in the MySQL manual
  14. #
  15.  
  16. # Start MySQL
  17.  
  18. bin/safe_mysqld -O key_buffer=16M &
  19.  
  20. #
  21. # Now we run the test that can be found in the sql-bench directory in the
  22. # MySQL 3.23 source distribution with and without --fast
  23. #
  24. # Note that if you want to make a results that is comparead to some database,
  25. # You should add "--cmp=databasename" as an extra option to the test
  26. #
  27. $CMP=--cmp=pg
  28.  
  29. run-all-tests --comment="Intel Xeon, 2x550 Mhz, 1G, key_buffer=16M" $CMP
  30. run-all-tests --comment="Intel Xeon, 2x550 Mhz, 1G, key_buffer=16M" --fast $CMP
  31.  
  32. # If you want to store the results in a output/RUN-xxx file, you should
  33. # repeate the benchmark with the extra option --log --use-old-result
  34. # This will create a the RUN file based of the previous results
  35. #
  36.  
  37. run-all-tests --comment="Intel Xeon, 2x550 Mhz, 1G, key_buffer=16M" --log --use-old-result $CMP
  38. run-all-tests --comment="Intel Xeon, 2x550 Mhz, 1G, key_buffer=16M" --fast --log --use-old-result $CMP
  39.