mariadb/sql-bench
unknown 90104181f9 FLUSH TABLE table_list
Fixes for RENAME TABLE
Portability fixes


Docs/manual.texi:
  FLUSH TABLES table_list
client/mysql.cc:
  Ia64 port
client/mysqladmin.c:
  Ia64 port
client/mysqldump.c:
  Ia64 port
client/mysqlimport.c:
  Ia64 port
client/mysqlshow.c:
  Ia64 port
client/readline.cc:
  Ia64 port
configure.in:
  Ia64 port
include/config-win.h:
  Ia64 port
include/thr_alarm.h:
  Ia64 port
myisam/myisamdef.h:
  Ia64 port
myisammrg/myrg_rkey.c:
  Ia64 port
mysys/thr_alarm.c:
  Easier compile of non threaded client
mysys/thr_lock.c:
  Easier compile of non threaded client
mysys/thr_mutex.c:
  Easier compile of non threaded client
sql-bench/crash-me.sh:
  Added test for RENAME + some ANSI SQL99 group functions
sql-bench/limits/mysql.cfg:
  New run
sql-bench/server-cfg.sh:
  Fix
sql-bench/test-insert.sh:
  Fix
sql/field.cc:
  Port to Ia64
sql/ha_berkeley.cc:
  Port to Ia64
sql/ha_myisam.cc:
  cleanup
sql/handler.cc:
  Port to Ia64
sql/hostname.cc:
  Port to Ia64
sql/item.cc:
  Port to Ia64
sql/item_create.cc:
  Port to Ia64
sql/item_func.cc:
  Port to Ia64
sql/item_strfunc.cc:
  Port to Ia64
sql/item_timefunc.cc:
  Port to Ia64
sql/lock.cc:
  Fix for RENAME
sql/log.cc:
  Port to Ia64
sql/log_event.h:
  Port to Ia64
sql/mini_client.cc:
  Port to Ia64
sql/mysql_priv.h:
  Port to Ia64
sql/mysqlbinlog.cc:
  Port to Ia64
sql/mysqld.cc:
  FLUSH TABLES table_list
sql/net_pkg.cc:
  Port to Ia64
sql/procedure.h:
  Port to Ia64
sql/share/swedish/errmsg.OLD:
  FLUSH TABLES table_list
sql/slave.cc:
  Port to Ia64
sql/sql_acl.cc:
  Port to Ia64
sql/sql_analyse.cc:
  Port to Ia64
sql/sql_analyse.h:
  Port to Ia64
sql/sql_base.cc:
  FLUSH TABLES table_list
sql/sql_class.cc:
  Port to Ia64
sql/sql_class.h:
  Port to Ia64
sql/sql_parse.cc:
  Port to Ia64
sql/sql_rename.cc:
  Fix of RENAME
sql/sql_show.cc:
  Port to Ia64
sql/sql_string.cc:
  Port to Ia64
sql/sql_string.h:
  Port to Ia64
sql/sql_table.cc:
  Fix of RENAME
sql/sql_udf.cc:
  Port to Ia64
sql/sql_yacc.yy:
  FLUSH TABLES table_list
sql/table.cc:
  Port to Ia64
sql/thr_malloc.cc:
  Port to Ia64
sql/time.cc:
  Port to Ia64
sql/unireg.cc:
  Port to Ia64
2000-08-22 00:18:32 +03:00
..
Comments Updated benchmark and results for PostgreSQL 7.0.2 2000-08-18 12:48:00 +03:00
Data Import changeset 2000-07-31 21:29:14 +02:00
limits FLUSH TABLE table_list 2000-08-22 00:18:32 +03:00
Results Updated benchmark and results for PostgreSQL 7.0.2 2000-08-18 12:48:00 +03:00
Results-win32 Import changeset 2000-07-31 21:29:14 +02:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
bench-init.pl.sh Additions for CHECK table + update of benchmarks 2000-08-17 01:05:02 +03:00
ChangeLog Import changeset 2000-07-31 21:29:14 +02:00
compare-results.sh Updated benchmark and results for PostgreSQL 7.0.2 2000-08-18 12:48:00 +03:00
copy-db.sh Import changeset 2000-07-31 21:29:14 +02:00
crash-me.sh FLUSH TABLE table_list 2000-08-22 00:18:32 +03:00
example.bat Import changeset 2000-07-31 21:29:14 +02:00
Makefile.am Updated benchmark and results for PostgreSQL 7.0.2 2000-08-18 12:48:00 +03:00
print-limit-table Import changeset 2000-07-31 21:29:14 +02:00
pwd.bat Import changeset 2000-07-31 21:29:14 +02:00
README Import changeset 2000-07-31 21:29:14 +02:00
run-all-tests.sh Import changeset 2000-07-31 21:29:14 +02:00
server-cfg.sh FLUSH TABLE table_list 2000-08-22 00:18:32 +03:00
test-alter-table.sh Import changeset 2000-07-31 21:29:14 +02:00
test-ATIS.sh Import changeset 2000-07-31 21:29:14 +02:00
test-big-tables.sh Import changeset 2000-07-31 21:29:14 +02:00
test-connect.sh Import changeset 2000-07-31 21:29:14 +02:00
test-create.sh Import changeset 2000-07-31 21:29:14 +02:00
test-insert.sh FLUSH TABLE table_list 2000-08-22 00:18:32 +03:00
test-select.sh Additions for CHECK table + update of benchmarks 2000-08-17 01:05:02 +03:00
test-wisconsin.sh Import changeset 2000-07-31 21:29:14 +02:00
uname.bat Import changeset 2000-07-31 21:29:14 +02:00

The MySQL Benchmarks

These tests needs a MySQL version of at least 3.20.28 or 3.21.10.
NOTE: With MySQL 3.20.# you have to use '--skip-in',  because MySQL 3.20
doesn't support the IN operator.

Currently the following servers are supported:
MySQL 3.20 and 3.21, PostgreSQL 6.#, mSQL 2.# and Solid Server 2.2

In this directory are the queries and raw data files used to populate
the MySQL benchmarks. In order to run the benchmarks you should normally
execute a command like the following:

run-all-tests --server=msyql --cmp=mysql,pg,solid --user=test --password=test --log

The above means that one wants to run the benchmark with MySQL. The limits
should be taken from all of mysql,PostgreSQL and Solid.  Login name and
password is 'test'.  The result should be saved as a RUN file in the output
directory.

When the above script has run you will have the individual results and the
the total RUN- file in the output directory.

If you want to look at some old results, try:

compare-results --dir=Results --cmp=mysql,pg,solid
compare-results --dir=Results --cmp=mysql,pg,solid --relative

compare-results --dir=Results --cmp=msql,mysql,pg,solid
compare-results --dir=Results --cmp=msql,mysql,pg,solid --relative

compare-results --dir=results --server=mysql --same-server --cmp=mysql,pg,solid


File			Description

Data/ATIS		Contains data for 29 related tables used in the ATIS tests.
Data/Wisconsin		Contains data for the Wisconsin benchmark.
Results			Contains old benchmark results.
Makefile.am		Automake Makefile
Overview-paper		A paper nicked from the net about database bench-
			marking.
README			This file.
test-ATIS.sh		Cretation of 29 tables and a lot of selects on them.
test-connect.sh		Test how fast a connection to the server is.
test-create.sh		Test how fast a table is created.
test-insert.sh		Test create and fill of a table.
test-wisconsin.sh	This is a port of the PostgreSQL version of this
			benchmark.
run-all-test		Use this to run all tests. When all test are run,
			use the --log --use-old option to get a RUN-file.
compare-results		Makes a compare table from different RUN files.
server-cfg		Contains the limit and functions for all supported
			SQL servers.  If you want to add a new server, this
			should be the only file that neads to be changed.


Most of the test should use portable SQL to make it possible to
compare different databases. Sometimes SQL extensions can make things
a lot faster. In this case the test may use the extensions if the --fast
option is used.

Useful options to all test-scripts (and run-all-tests):

--host=#	Hostname for MySQL server (default: localhost)
--db=#		Database to use (default: test)
--fast		Allow use of any non-standard SQL extension to
		do the get things done faster.
--skip-in	Don't do test with the IN operation (if the SQL server
		hasn't implemented this, for example mSQL and MySQL 3.20).
--lock-tables	Use table locking to get more speed.

From a text at http://www.mgt.ncu.edu.tw/CSIM/Paper/sixth/11.html

The Wisconsin Benchmark

The Wisconsin Benchmark described in [Bitton, DeWitt, and Turbyfill
1983] [Boral and DeWitt 1984] [Bitton and Turbyfill 1985] [Bitton and
Turbyfill 1988], and [DeWitt 1993] is the first effort to
systematically measure and compare the performance of relational
database systems with database machines.  The benchmark is a
single-user and single-factor experiment using a synthetic database
and a controlled workload.  It measures the query optimization
performance of database systems with 32 query types to exe cise the
components of the proposed systems.  The query suites include
selection, join, projection, aggregate, and simple update queries.

The test database consists of four generic relations.  The tenk
relation is the key table and most used. Two data types of small
integer number and character string are utilized.  Data values are
uniformly distributed. The primary metric is the query elapsed
time. The main criticisms of the benchmark include the nature of
single-user workload, the simplistic database structure, and the
unrealistic query tests.  A number of efforts have been made to extend
the benchmark to incorporate the multi-user test.  However, they do
not receive the same acceptance as the original Wisconsin benchmark
except an extension work called the AS3AP benchmark.