Mysql Installation; Mysql Configuration; Sysbench Options; Mysql Installation Packages - HP 5992-4755 Sizing Manual

Mysql sizing guide for hp proliant c-class blade servers
Table of Contents

Advertisement

Table 4 SysBench Options
SysBench option
--test
--oltp-table-size
--mysql-engine-trx
--oltp-test-mode
--oltp-read-only .
--oltp-dist-type
--max-requests
--num-threads
--init-rng
--max-time

MySQL Installation

The MySQL Certified Software, downloaded from the MySQL Network, provides the
mysql-enterprise-gpl-5.0.46-0.rhel5.x86_64.tar file for RHEL5 on x86_64 servers.
Table 5
lists the components contained in the tar file.
Table 5 MySQL Installation Packages
RPM Package
MySQL-server-enterprise-gpl-5.0.46-0.rhel5.x86_64.rpm
MySQL-client-enterprise-gpl-5.0.46-0.rhel5.x86_64.rpm
MySQL-devel-enterprise-gpl-5.0.46-0.rhel5.x86_64.rpm

MySQL Configuration

The example configuration file (my-large.cnf) that is provided with the MySQL database
server, was used as the basis of the my.cnf test file.
the mysqld configuration.
Table 6 MySQL Test Configuration
mysqld Option
max_connections
max_connect_errors
table_cache
sort_buffer_size
binlog_cache_size
14
Value
Description
oltp
OLTP emulates operations that a read database would perform. Other
options are CPU, threads, mutex, memory, and fileio.
1000000
Sets the number of rows in the test table.
yes
Sets the value for whether the storage engine used is transactional.
complex
Determines how transactions are performed. Options are simple (very
simple SELECTs), complex (transactional), and nontrx (non-transactional).
on/off
Sets whether the UPDATE/DELETE/INSERT queries are used. Both cases
were run for these tests.
special
Allows for the ditribution of random numbers
0
Sets the total number of requests allowed. The value "0" indicates
unlimited requests are allowed.
varied from 1 to 128
Sets the number of worker threads.
on
Initializes the random number generator.
180
Sets the limit for total execution time in seconds.
Value
1600
10
2048
512K
1M
Description
MySQL database server (mysqld, etc)
MySQL client programs (mysql,
mysqladmin, etc)
MySQL header files and libraries
(needed to build SysBench )
Table 6
lists the changes that were made to
Description
Maximum number of connections. The default is 100.
Number of interrupted connections from a host after which
connections are blocked.
Number of open tables for all threads. The default is 512.
Buffer size for each thread that needs to sort results. Increase
for faster ORDER BY and GROUP BY operations.
Size of cache to hold SQL statements for the binary log
during a transaction. Increase for large, multiple-statement
transactions.

Advertisement

Table of Contents
loading

Table of Contents