Sysbench Configuration; Sql Queries - HP 5992-4755 Sizing Manual

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

Advertisement

Table 2 Test Hardware Environment (continued)
Hardware
File System
Partitioning
Operating
System

SysBench Configuration

The OLTP test mode emulates real database usage by issuing common SQL queries on typical
table structures. SysBench populates the following table with oltp-table-size rows at the beginning
of the test.
CREATE TABLE `sbtest` (
`id` int(10) unsigned NOT NULL auto_increment,
`k` int(10) unsigned NOT NULL default '0',
`c` char(120) NOT NULL default '',
`pad` char(60) NOT NULL default '',
PRIMARY KEY (`id`),
KEY `k` (`k`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
To test general purpose database performance, the complex test mode was used. The InnoDB
storage engine supports ACID compliant transactions; therefore, the SysBench uses
BEGIN/COMMIT statements around each of the transactions.
in testing.
Table 3 SQL Queries
Type of Query
Point queries
Range queries
Range SUM()
queries
Ordered range
queries
Distinct range
queries
Updates on
indexed column
Updates on
non-index column
Delete queries
Insert queries
Table 4
lists the configuration options that were used for SysBench.
BL460c
BL465c
(ext3 – no LVM):
(ext3 – no LVM):
Disk0: /, /boot, swap
Disk0: /, /boot, swap
Disk1: FC attach – 7
Disk1: FC attach – 7
36GB disks 10k RPM,
36GB disks 10k RPM,
RAID 0
RAID 0
RHEL5 AS u1 SMP
RHEL5 AS u1 SMP
kernel (2.6.18-53.el5)
kernel (2.6.18-53.el5)
with errata updates
with errata updates
SQL Query Syntax
SELECT c FROM sbtest WHERE id=N
SELECT c FROM sbtest WHERE id BETWEEN N and M
SELECT SUM(c) FROM sbtest WHERE id BETWEEN N AND M
SELECT c FROM sbtest WHERE id BETWEEN N AND M ORDER BY c
SELECT DISTINCT c FROM sbtest WHERE id BETWEEN N AND M ORDER BY c
UPDATE sbtest SET k=k+1 WHERE id=N
UPDATE sbtest SET c=N WHERE id=N
DELETE FROM sbtest WHERE id=N
INSERT INTO sbtest VALUES (...)
BL480c
BL685c
(ext3 – no LVM):
(ext3 – no LVM):
Disk0: /, /boot, swap
Disk0: /, /boot, swap
Disk1: FC attach – 7
Disk1: FC attach – 7
36GB disks 10k RPM,
36GB disks 10k RPM,
RAID 0
RAID 0
RHEL5 AS u1 SMP
RHEL5 AS u1 SMP
kernel (2.6.18-53.el5)
kernel (2.6.18-53.el5)
with errata updates
with errata updates
Table 3
lists the SQL queries used
SysBench Configuration
13

Advertisement

Table of Contents
loading

Table of Contents