~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/sql-bench/Comments/mysql.benchmark

  • Committer: patrick crews
  • Date: 2011-06-07 18:45:15 UTC
  • mto: This revision was merged to the branch mainline in revision 2329.
  • Revision ID: gleebix@gmail.com-20110607184515-vwzakr741grhr2yl
Initial work for sql-bench mode.  Added sql-bench to the tree.  Test script for running entire suite added

Show diffs side-by-side

added added

removed removed

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