readme
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· 代码 · 共 94 行
TXT
94 行
The MySQL BenchmarksThese tests require a MySQL version of at least 3.20.28 or 3.21.10.Currently the following servers are supported:MySQL 3.20 and 3.21, PostgreSQL 6.#, mSQL 2.# and Solid Server 2.2The benchmark directory contains the query files and raw data files used topopulate the MySQL benchmark tables. In order to run the benchmarks, youshould normally execute a command such as the following:run-all-tests --server=mysql --cmp=mysql,pg,solid --user=test --password=test --logThis means that you want to run the benchmarks with MySQL. Thelimits should be taken from all of MySQL, PostgreSQL, and Solid.The login name and password for connecting to the server both are``test''. The result should be saved as a RUN file in the outputdirectory.When run-all-tests has finished, will have the individual results and thethe total RUN- file in the output directory.If you want to look at some old results, use the compare-results script.For example:compare-results --dir=Results --cmp=mysql,pg,solidcompare-results --dir=Results --cmp=mysql,pg,solid --relativecompare-results --dir=Results --cmp=msql,mysql,pg,solidcompare-results --dir=Results --cmp=msql,mysql,pg,solid --relativecompare-results --dir=Results --server=mysql --same-server --cmp=mysql,pg,solidSome of the files in the benchmark directory are:File DescriptionData/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 MakefileREADME This file.test-ATIS.sh Creation 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 A port of the PostgreSQL version of this benchmark.run-all-tests Use this to run all tests. When all tests are run, use the --log and --use-old options to get a RUN-file.compare-results Generates a comparison table from different RUN files.server-cfg Contains the limits 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 tests should use portable SQL to make it possible tocompare different databases. Sometimes SQL extensions can make thingsa lot faster. In this case the test may use the extensions if the --fastoption 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 get things done faster.--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 BenchmarkThe Wisconsin Benchmark described in [Bitton, DeWitt, and Turbyfill1983] [Boral and DeWitt 1984] [Bitton and Turbyfill 1985] [Bitton andTurbyfill 1988], and [DeWitt 1993] is the first effort tosystematically measure and compare the performance of relationaldatabase systems with database machines. The benchmark is asingle-user and single-factor experiment using a synthetic databaseand a controlled workload. It measures the query optimizationperformance of database systems with 32 query types to exercise thecomponents of the proposed systems. The query suites includeselection, join, projection, aggregate, and simple update queries.The test database consists of four generic relations. The tenkrelation is the key table and most used. Two data types of smallinteger numbers and character strings are utilized. Data values areuniformly distributed. The primary metric is the query elapsedtime. The main criticisms of the benchmark include the nature ofsingle-user workload, the simplistic database structure, and theunrealistic query tests. A number of efforts have been made to extendthe benchmark to incorporate the multi-user test. However, they donot receive the same acceptance as the original Wisconsin benchmarkexcept an extension work called the AS3AP benchmark.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?