SQL Server Instance-Level Benchmarks with HammerDB



Similar documents
SQL Server Instance-Level Benchmarks with DVDStore

HammerDB DB2 Quick Start

Redis OLTP (Transactional) Load Testing

Microsoft SQL Server OLTP (Transactional) Load Testing

Virtual Office Remote Installation Guide

Online Backup - Installation and Setup

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

Microsoft SQL Server OLTP Best Practice

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

2.3 - Installing the moveon management module - SQL version

Published. Technical Bulletin: Use and Configuration of Quanterix Database Backup Scripts 1. PURPOSE 2. REFERENCES 3.

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

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

Backup / migration of a Coffalyser.Net database

1 of 10 1/31/2014 4:08 PM

Installation Guide. (June 2014)

Procedure for updating Firmware of EZ4 W or ICC50 W

MSSQL quick start guide

You may have been given a download link on your trial software . Use this link to download the software.

Stellar Phoenix Exchange Server Backup

Sage Intelligence Financial Reporting for Sage ERP X3 Version 6.5 Installation Guide

Microsoft SQL Server Decision Support (DSS) Load Testing

Upgrading MySQL from 32-bit to 64-bit

InformationNOW SQL 2005 Database Backup and Restoration

PigCHAMP Knowledge Software. Enterprise Edition Installation Guide

Getting Started using the SQuirreL SQL Client

TimesTen In-Memory OLTP (Transactional) Load Testing

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

Connecticut Hazardous Waste Manifests Database

IMPORTANT Please Read Me First

Call Recorder Quick CD Access System

Installation / Backup \ Restore of a Coffalyser.Net server database using SQL management studio

Getting Started with Attunity CloudBeam for Azure SQL Data Warehouse BYOL

Installation Instruction STATISTICA Enterprise Small Business

Lepide Event Log Manager: Installation Guide. Installation Guide. Lepide Event Log Manager. Lepide Software Private Limited

Installing LearningBay Enterprise Part 2

Practice Fusion API Client Installation Guide for Windows

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

How To Use A Microsoft Microsoft Database Server 2012

Metadata Import Plugin User manual

Automated backup. of the LumaSoft Gas database

Exchange Server Backup and Restore

DSS Support Backup / Restore DSS Databases using Windows Backup Windows XP Windows 2003 Server

Installing SQL Express. For CribMaster 9.2 and Later

BackupAssist v6 quickstart guide

Server Installation: ServerTools

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

Oracle OLTP (Transactional) Load Testing

FileMaker 12. ODBC and JDBC Guide

3 Setting up Databases on a Microsoft SQL 7.0 Server

1. Introduction About the BackupAssist Hyper-V solution Advantages Features Granular technology... 2

AVALANCHE MC 5.3 AND DATABASE MANAGEMENT SYSTEMS

This article Includes:

IMPORTANT: The person who installs and sets up the PCS Axis database on the central database server

User Installation Guide

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

Reconfiguration of VMware vcenter Update Manager

Online Backup and Recovery Manager Setup for Microsoft Windows.

JAMF Software Server Installation Guide for Windows. Version 8.6

Basic SQL Server operations

NAS 253 Introduction to Backup Plan

Trax Attendance Manager Full Installation (Windows XP, 32 bit Windows Vista, or 32 bit Windows 7)

SAS 9.3 Foundation for Microsoft Windows

InventoryControl for use with QuoteWerks Quick Start Guide

Reconfiguring VMware vsphere Update Manager

Getting Started with MozyPro Online Backup Online Software from Time Warner Cable Business Class

THANK YOU FOR INSTALLING CARBONITE SERVER BACKUP!

Installing CM4D Reporter with Microsoft SQL Server Express R2 x64 for Windows 7

TSM Studio Server User Guide

Intellicus Cluster and Load Balancing (Windows) Version: 7.3

Jet Data Manager 2012 User Guide

Restoring SQL Server Database after Accidental Deletion of.mdf File. SQL Server /06/2016

Before you may use any database in Limnor, you need to create a database connection for it. Select Project menu, select Databases:

NAS 249 Virtual Machine Configuration with VirtualBox

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

Symantec Backup Exec Desktop Laptop Option ( DLO )

How To Set Up An Intellicus Cluster And Load Balancing On Ubuntu (Windows) With A Cluster And Report Server (Windows And Ubuntu) On A Server (Amd64) On An Ubuntu Server

There are numerous ways to access monitors:

Upgrading CloudPortal Services Manager 11.0 to Version

Hosting Users Guide 2011

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

Setup and configuration for Intelicode. SQL Server Express

Reconfiguring VMware vsphere Update Manager

Signiant Agent installation

How to Schedule Report Execution and Mailing

Video Administration Backup and Restore Procedures

Database Servers Tutorial

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

The basic steps involved in installing FLEETMATE Enterprise Edition and preparing it for initial use are as follows:

Database Operations (Backup/Restore/Move/Manage) Technical Support Engineering Rosslare Security NA For more information please see

If you have questions or need assistance, contact PCS Technical Services using the contact information on page 10.

DMS Performance Tuning Guide for SQL Server

Support Document: Microsoft SQL Server - LiveVault 7.6X

JAMF Software Server Installation Guide for Linux. Version 8.6

How to move a SQL database from one server to another

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

Transcription:

SQL Server Instance-Level Benchmarks with HammerDB TPC-C is an older standard for performing synthetic benchmarks against an OLTP database engine. The HammerDB tool is an open-sourced tool that can run these benchmarking tests against SQL Server, Oracle, MySQL, and PostgreSQL installations. It is open-sourced and freely available at http://hammerdb.com. It generates a benchmark values in the form of transactions placed per minute and orders placed per minute per test cycle, and tests the performance of the instance configuration and the infrastructure underneath it. You create a synthetic workload dataset with an included tool, or automate it with an add-on utility called AutoHammer. This tool is used quite frequently by Heraflux to compare the relative performance between two SQL Server instances. Load the same test data into two different instances, run the same test on each server, and compare the results. Raw server performance is compared, and differences in the server performance can be isolated. An official quickstart guide to HammerDB is located for your reference at http://hammerora.sourceforge.net/ hammerora_quickstart_v2.10.pdf. Pre-Requisites First, download the two pre-requisite test bundles. The core HammerDB release is located at SourceForge at https://sourceforge.net/projects/hammerora/files/hammerdb/hammerdb-2.16/hammerdb-2.16-win-x86-64- Setup.exe/download. The automation engine AutoHammer is located at https://sourceforge.net/projects/hammerora/ files/hammerdb/autohammer%20extension/autohammer_extension_5.zip/download. Download them both. First, install the HammerDB runtime installer. The 64-bit installer will create a folder in the C:\Program Files\HammerDB- X.XX folder (where X.XX is the version number). Create a shortcut in a location of your choosing to the hammerdb.bat file inside this folder, as it does not create a shortcut on the Start menu. Database Creation First, we need to create a placeholder database for this benchmark. The default creation process is not the most efficient in that it uses options that create inefficiencies, such as high VLF counts. Modify the following script to create a new database with appropriately sized data and log files, the correct autogrowth sizes, and SIMPLE mode. Adjust the script as needed. This script was originally constructed for SQL Server 2012. www.heraflux.com Heraflux Technologies - SQL Server Benchmarks P a g e 1

USE master GO CREATE DATABASE [tpcc] CONTAINMENT = NONE ON PRIMARY ( NAME = N'tpcc', FILENAME = N'E:\DATA\tpcc.mdf', SIZE = 10485760KB, FILEGROWTH = 524288KB ) LOG ON ( NAME = N'tpcc_log', FILENAME = N'F:\LOG\tpcc_log.ldf', SIZE = 1048576KB, FILEGROWTH = 524288KB ) GO ALTER DATABASE [tpcc] SET RECOVERY SIMPLE GO Next, open the shortcut to hammerdb.bat. The default view opens to the Oracle database test. Double click on the SQL Server benchmark. Select the MSSQL Server TPC-C option, and click OK. www.heraflux.com Heraflux Technologies SQL Server Benchmarks P a g e 2

Expand Schema Build and double-click Options. Name the database the same as the one you created within SQL Server. Select the number of warehouses and virtual users. This helps select the intensity of the OLTP workload. To help size the workload, the following items are examples of the workloads created by these options. Number of Warehouses Database Size Compressed Backup Size 5 500MB 240MB 100 10GB 4.6GB 500 50GB 23GB Select the number of warehouses that will create a database which is indicative of your average production workload. Next, double click Build, and the system will populate the database with sample data which it will use to benchmark the system. www.heraflux.com Heraflux Technologies SQL Server Benchmarks P a g e 3

Once complete, the header will change to COMPLETE. Click the red stoplight icon in the header to end the process. www.heraflux.com Heraflux Technologies SQL Server Benchmarks P a g e 4

You will now see that the database has tables populated with data. It is recommended to back up the new database for future restoration purposes, as this database population process is time consuming and the backup copy gives us an exact dataset to perform comparison testing on other systems with. Load Testing Open the shortcut to hammerdb.bat if the program is not already open and select SQL Server. www.heraflux.com Heraflux Technologies SQL Server Benchmarks P a g e 5

Expand Driver Script and select Options. Select Timed Test Driver Script. Leave the default rampup and test duration values unless you have a specific need to do otherwise. Open Virtual User then Options. Select the number of virtual users. Make sure not to check Show Output, as it can slow the actual benchmark results considerably! Select Create under Virtual User to create the virtual users for the test. Finally, select the Run virtual users green arrow icon in the header to start the test. www.heraflux.com Heraflux Technologies SQL Server Benchmarks P a g e 6

Autopilot Testing To perform a stress test with varying number of virtual users, load the Driver Script options as outlined above. Next, expand Autopilot. Double click Options. Click the Autopilot Enabled option, and reset the minutes per test field to eight minutes. At five minutes per test, plus two minutes for ramp-up, the eight minute window is more than enough time to complete each test. Next, set the appropriate virtual user sequence values. These numbers are to be one greater than the number of actual users executed against the database, as the first user is a controlling user. In this example, we will be ramping up the users from two to 256. Click OK to save these values. Next, click the green circular arrow icon ( ) in the menu row to begin the automatic test bundle. In the Autopilot window, the test output resembles the following output. Wait as the test bundle completes. Record the two values per test TPM (Transactions Per Minute) and OPM (Orders Placed Per Minute) for the user value. Interpreting Output The final step to the HammerDB load testing is to interpret the output. Two metrics are produced by the testing: Transactions per minute Orders placed per minute www.heraflux.com Heraflux Technologies SQL Server Benchmarks P a g e 7

These two metrics can be used, along with the Perfmon sample collection during the tests, to show relative comparison of multiple machines. www.heraflux.com Heraflux Technologies SQL Server Benchmarks P a g e 8