HammerDB DB2 Quick Start



Similar documents
Redis OLTP (Transactional) Load Testing

SQL Server Instance-Level Benchmarks with HammerDB

Microsoft SQL Server OLTP (Transactional) Load Testing

WINDOWS 64-BIT INSTALLATION NOTES ORACLE VIRTUALBOX Micro Planner X-Pert V3.5.1 Digital Download Edition

HammerDB Metrics. Introduction. Installation

Oracle OLTP (Transactional) Load Testing

Microsoft SQL Server Decision Support (DSS) Load Testing

TimesTen In-Memory OLTP (Transactional) Load Testing

MySQL OLTP (Transactional) Load Testing

Run your own Oracle Database Benchmarks with Hammerora

PostgreSQL OLTP (Transactional) Load Testing

Connecting To SOM Network Drives With Windows XP

Monitoring ESX/ESXi servers with Verax NMS & APM

Microsoft SQL Server OLTP Best Practice

MultiSite Manager. Setup Guide

Suite. How to Use GrandMaster Suite. Exporting with ODBC

Deployment Guide: Transparent Mode

AXIS 1440 Print Server For EPSON Printers: Product Update. Important Information for Windows

Network Load Balancing

Hallpass Instructions for Connecting to Mac with a Mac

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

CNR-BTU5 Bluetooth Dongle

OCS Virtual image. User guide. Version: Viking Edition

Change Manager 5.0 Installation Guide

How to create scalability test cases under DB2 LUW with Benchmark Factory for Databases

Deploying BitDefender Client Security and BitDefender Windows Server Solutions

AutoMate BPA Server 10 Installation Guide

Installation of IR under Windows Server 2008

Reconfiguring VMware vsphere Update Manager

Rational Quality Manager. Quick Start Tutorial

Connecting and Setting Up Your Laptop Computer

MAC OSX INSTALLATION NOTES ORACLE VIRTUALBOX Micro Planner X-Pert V3.5.1 Digital Download Edition

DP-313 Wireless Print Server

Uninstall Check Scanning software (Fujitsu S300)

1-Port Wireless USB 2.0 Print Server Model # APSUSB201W. Quick Installation Guide. Ver. 2A

Auditing UML Models. This booklet explains the Auditing feature of Enterprise Architect. Copyright Sparx Systems Pty Ltd

Download and Install the Citrix Receiver for Mac/Linux

IronKey Enterprise Server 6.1 Quick Start Guide

ECT362 Installing Linux Virtual Machine in KL322

? Index. Introduction. 1 of 38 About the QMS Network Print Monitor for Windows NT

Start A New Project with Keil Microcontroller Development Kit Version 5 and Freescale FRDM-KL25Z

Installation Instruction STATISTICA Enterprise Small Business

To begin, visit this URL:

LABSHEET 1: creating a table, primary keys and data types

Gmail Or other POP3

1. Open Thunderbird. If the Import Wizard window opens, select Don t import anything and click Next and go to step 3.

Inventory Computers Using TechAtlas for Libraries

LPR for Windows 95/98/Me/2000/XP TCP/IP Printing User s Guide. Rev. 03 (November, 2001)

Introduction. Installation of SE S AM E BARCODE virtual machine distribution. (Windows / Mac / Linux)

These instructions were tested on OS X Earlier or later versions may have slight or major differences in how things work and appear.

Automated backup. of the LumaSoft Gas database

Using Keil software with Linux via VirtualBox

Avaya Identity Engines Ignition Server Getting Started. Avaya Identity Engines Ignition Server Release 7.0

MONITORING PERFORMANCE IN WINDOWS 7

MultiSite Manager. Setup Guide

Installation Guidelines (MySQL database & Archivists Toolkit client)

Introduction. There are several bits of information that must be moved:

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

Querying Databases Using the DB Query and JDBC Query Nodes

Accessing Oracle 11g from SAS on Linux Using DataDirect Connect for ODBC

Jolly Server Getting Started Guide

How to install USB driver (MICRO/I)

Screen Capture. User s Guide. For ClassPad Series

StoreGrid Backup Server With MySQL As Backend Database:

A browser must be open and connected through Jeffco s network How to set up network printing over WI-FI

Quick Installation Guide

Quest Soft Token for Windows Phone User Guide

How to Connect to CDL SQL Server Database via Internet

Printer Sharing of the PT-9500pc in a Windows Environment

Introduction to Decision Support, Data Warehousing, Business Intelligence, and Analytical Load Testing for all Databases

Asterisk SIP Trunk Settings - Vestalink

Uninstalling the current MagellanCyclo desktop tool

Downloading/Installing LockDown Browser for Windows

Configuring Network Load Balancing with Cerberus FTP Server

Set Up Setup with Microsoft Outlook 2007 using POP3

For paid computer support call

Using Web Jetadmin to Back Up and Restore the HP Print Server Appliance

Install and Configure Oracle Outlook Connector

VMware vrealize Operations for Horizon Installation

JORAM 3.7 Administration & Monitoring Tool

Connecting your Blackberry to Aliant Hosted Exchange. Instructions for connecting Blackberry hand-held devices to Aliant Hosted Exchange

Service & Support. How can you establish a connection between an S PLC and SIMATIC NET OPC? S PLC, SIMATIC NET OPC.

Installing a printer in Windows 95.

General Tips: Page 1 of 20. By Khaled Elshaer.

Installing the Panini Universal Scanner Driver

Active Directory Integration for Greentree

Computer Science and Engineering MacOS Cisco VPN Client Installation and Setup Guide

CDOT Workflow ProjectWise Web Access Operations

Exchanger XML Editor - Data Import

Application Notes for Calabrio Workforce Management Release 9.2(1) SR3 with Avaya Aura Contact Center Release 6.4 Issue 1.0

Human Resources Installation Guide

Using VirtualBox ACHOTL1 Virtual Machines

ACCESSING IBM iseries (AS/400) DB2 IN SSIS

Common Services Platform Collector (CSPC) Self-Service - Getting Started Guide. November 2015

Setting up a database for multi-user access

OpenVPN over SSH tunneling

CANON FAX L360 SOFTWARE MANUAL

This means that any user from the testing domain can now logon to Cognos 8 (and therefore Controller 8 etc.).

Installing and Configuring vcloud Connector

Once the software has finished downloading, locate the ivms-4000(v2.0).exe on your hard drive and open it.

Transcription:

HammerDB DB2 Quick Start This quick start tutorial gets you up and running with the essentials of load testing and benchmarking for the IBM DB2 Database. Install DB2 Server... 1 Optional: Install DB2 Client Software for Networked Access... 3 Install HammerDB... 4 Build a DB2 Test Schema... 5 Run a DB2 Load Test... 8 Support and Questions... 15 Install DB2 Server IBM provide DB2 in a virtual appliance format with a pre-configured DB2 test database in a Linux operating system. This provides the most rapid way to install and configure DB2 and the recommended virtual environment for DB2 VM testing is Oracle VirtualBox. Figure 1 Oracle VirtualBox Alternatively IBM also offer DB2 Express-C as a freely available version of DB2 that can be run in the 32 or 64-bit Windows and Linux environments that HammerDB supports. 1

Figure 2 DB2 Running Start DB2 and create a database with the name of your choosing, in this example tpcc is used. 2

Figure 3 DB2 Database Created Optional: Install DB2 Client Software for Networked Access Alternatively if you already have a DB2 database running and you wish to connect across a network HammerDB only requires the IBM Data Server Driver for ODBC and CLI. Note that HammerDB connects to DB2 via CLI as the db2tcl interface is C based interface enabling CLI connectivity. ODBC is not used for HammerDB connectivity to DB2. Figure 5 Data Server Driver Configure your db2dsdriver.cfg file with the hostname, port and database that you have created on the server. db2inst1:~/odbc_cli/clidriver/cfg> more db2dsdriver.cfg <?xml version="1.0" encoding="utf-8" standalone="no"?> <configuration> <dsncollection> <dsn alias="tpcc" host="db2v1032bit" name="tpcc" port="50001"/> </dsncollection> 3

<databases> <database host="db2v1032bit" name="tpcc" port="50001"/> </databases> </configuration> Install HammerDB To install HammerDB follow the HammerDB installation guide. Before proceeding you should have your DB2 database software installed and running. Firstly you will need to select which benchmark and database you wish to use by choosing select benchmark from under the TPC menu. The initial settings are determined by the values in your config.xml file. Select DB2 and TPC- C and press OK as shown in Figure 6. Figure 6 Select Benchmark You are now ready to begin building a schema as shown in Figure 7. 4

Figure 7 TPC-C Schema Options Build a DB2 Test Schema Click on the Benchmark tree view and under TPC-C select TPC-C Schema options to display the TPC-C Schema options window as shown in Figure 8. Within this window enter the details for DB2 connectivity. The specified database will be created during installation. Select a number of warehouses with the slider, 5 is good for a first test under a VM and set the Virtual Users to build schema to the number of virtual CPU cores on your guest system. Click OK. 5

Figure 8 Build Options Double-click on the Build option as shown in Figure 9. Figure 9 Build Option 6

On the Create Schema prompt check the details and Click Yes. Figure 10 Confirm Schema Wait for the Schema creation to complete, the time to completion depends on your system but should normally be less than 10 minutes. Figure 11 Schema Building 7

Figure 12 Schema Build Complete When the Display shows TPCC SCHEMA COMPLETE and all users have completed successfully the build is finished. Press the red traffic light icon to close the users down. Run a DB2 Load Test You can now proceed to run a load test against your created schema. Under the benchmark tree view select Driver Script and options. The choices to select for the driver script are displayed. Note that the database name and usernames if changed for the build options will also be reflected here. Accept the default values and click OK. 8

Figure 14 Driver Options Now select the Driver Script option and double-click on Load as shown in Figure 15, this populates the Script Editor window with the driver script. You can observe that the EDITABLE OPTIONS correspond to the driver script options set in the previous step. You do not need to edit the script. 9

Figure 15 TPC-C Driver Script Under the Virtual User view double-click on Options and enter the number of users you wish to run against your system. Don t select too many to start with as the workload is intensive. If you wish check the Show Output button to see what your users are doing whilst the test is running, however note that displaying the output will reduce the overall level of performance and click OK. Figure 16 Select Virtual Users Double-click on Create Virtual Users as shown in Figure 17 to create the virtual users, they will not start 10

running yet. Figure 17 Create Virtual Users You can observe that the virtual users have been created but their status is shown as waiting. Now click the Run Virtual Users button as shown in Figure 18 to start the test. The virtual users will begin to execute the driver script in the Script Editor Window. 11

Figure 18 Virtual Users Created and Run You can now observe that the load test is in progress as the virtual users display their output. 12

Figure 19 Load Testing Running By clicking on the pencil icon shown in Figure 19 you can observe the transaction rate reported by DB2. Figure 20 Transaction Counter 13

Also observe with HammerDB Metrics that a load has been placed on the system. Figure 21 HammerDB Metrics The load will complete when all virtual users have completed the number of transactions you defined or can be stopped by pressing the red traffic light icon as shown in Figure 22 to destroy the virtual users. Figure 22 Virtual Users Complete 14

HammerDB users of other databases should note that at the present time DB2 does not make Transaction Counter statistics queryable and therefore a transaction counter is not available. Performance statistics are available as NOPM by running a timed test. For next steps such as running timed and automated tests follow the Introduction to Transactional (OLTP) Load Testing for all Databases. Support and Questions For help use the HammerDB Sourceforge forum available at the HammerDB sourceforge project 15