HAMMERDB, LOAD TESTING AND BENCHMARKING DATABASES WITH TCL/TK

Slides:



Advertisements
Similar presentations
SOM Sponsors: HARDWARE PERFORMANCE TESTING TOOLS (ORACLE DB) By: Casey Dyke (Macquarie Bank) Yury Velikanov (Pythian) & All of you.
Advertisements

Oracle SQL Developer Data Modeler 3.0: Technical Overview March 2011.
AppManager 7: Deep Technical Dive Tim Sedlack & Michi Schniebel Sr. Product Managers.
Chapter 11 - Monitoring Server Performance1 Ch. 11 – Monitoring Server Performance MIS 431 – created Spring 2006.
©Company confidential 1 Performance Testing for TM & D – An Overview.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
1 Copyright 2008 NexJ Systems Inc. Confidential and Proprietary - Not for Distribution. Open Source Strategy NexJ Systems Inc.
Product Update & Road Map Jo Fuller Product Specialist.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
1 Progress Software’s OpenEdge Platform Which database is right for your environment? Simon Epps.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Uwe Lüthy Solution Specialist, Core Infrastructure Microsoft Corporation Integrated System Management.
EM401 Overview of MobiLink Synchronization Jim Graham Director of Engineering iAnywhere Solutions
Recent Enhancements to Quality Assurance and Case Management within the Emissions Modeling Framework Alison Eyth, R. Partheepan, Q. He Carolina Environmental.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Service Pack 2 System Center Configuration Manager 2007.
REMINDER Check in on the COLLABORATE mobile app Oracle Performance Management with vCenter Operations Manager and Oracle Enterprise Manager (OEM) Adapter.
CERN IT Department CH-1211 Genève 23 Switzerland t Load testing & benchmarks on Oracle RAC Romain Basset – IT PSS DP.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
Welcome to IBC233 Cindy Laurin And Russ Pangborn.
Enterprise Wide Information Systems SAP R/3 Overview & Basis Technology Instructor: Richard W. Vawter.
The Holmes Platform and Applications
Everything you've ever wanted to know about using Control-M to integrate any application workload September 9, 2016 David Fernandez Senior Presales Consultant.
Introduction ITEC 420.
Jean-Philippe Baud, IT-GD, CERN November 2007
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Got stress? Sometimes the SQL Server needs some too
Customizing custom.
Shared Services with Spotfire
About Bill Bill Baer (ˈbɛər)
The Client/Server Database Environment
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Open Source distributed document DB for an enterprise
Work report Xianghu Zhao Nov 11, 2014.
Spark Presentation.
Logo here Module 3 Microsoft Azure Web App. Logo here Module Overview Introduction to App Service Overview of Web Apps Hosting Web Applications in Azure.
SQL Server Monitoring Overview
HPE Persistent Memory Microsoft Ignite 2017
The Client/Server Database Environment
Got stress? Sometimes the SQL Server needs some too
Deploying and Configuring SSIS Packages
PHP / MySQL Introduction
IBM DATASTAGE online Training at GoLogica
Phil Bernstein Microsoft Corp.
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
HP C/C++ Remote developer plug-in for Eclipse
Database Driven Websites
Continuous Performance Engineering
Web Site Project Management
Populating a Data Warehouse
Managing Clouds with VMM
Populating a Data Warehouse
Welcome to IBC233 Taught by Cindy Laurin.
Oracle Architecture Overview
Welcome to IBC233 Taught by Cindy Laurin.
Populating a Data Warehouse
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
Technical Capabilities
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
SSDT and Database Project Basics
AWS S3 Cloud Backup Licensing per system Starting at $79 per year.
Performance And Scalability In Oracle9i And SQL Server 2000
Taught by Cindy Laurin And Mohamed Kassim
Welcome to IBC233 Cindy Laurin.
Windows Forms in Visual Studio 2005: An in-depth look at key features
Mark Quirk Head of Technology Developer & Platform Group
Ready Pre-day Azure Monitoring Workshop
The Database World of Azure
Presentation transcript:

HAMMERDB, LOAD TESTING AND BENCHMARKING DATABASES WITH TCL/TK Steve Shaw July 2017

Introduction and why this presentation? Steve Shaw – Database Tech Manager Intel Co-authored 2 books on Oracle More Database focus than a developer HammerDB is an employer approved open source project First used TCL in Oracle 9i Enterprise Manager Background Entry on Tcler’s Wiki by Steve Huntley for HammerDB that said it was successful and well hidden – I wanted to update the entry Email conversation with Steve Huntley led me to update the Wiki and submit this presentation to EuroTCL

What is HammerDB? “industry standard database benchmarking tool”* http://www.hammerdb.com/benchmarks.html

Why HammerDB? New method: Enable people to run own benchmarks Old method: Submit official audited benchmarks Example cost for 1 official benchmark $4,483,729 ‘Bare Metal’ environment Last official TPC-C benchmark in 2014, 1 current New method: Enable people to run own benchmarks Inbuilt OLTP (TPC-C) and OLAP (TPC-H) workloads Zero Cost Bare Metal + Cloud, virtualization, containers, control groups Share your results online

HammerDB from a TCL viewpoint Sourceforge GPL project open source, precompiled and packaged (installjammer) for Windows and Linux TK GUI driven configuration using Tile themes In-built scripts to build and run benchmarks Script editor in Ctext with highlighting Script posted to multiple ‘Virtual Users’ Virtual Users are TCL threads User Output monitored in a tablelist Errors reported to inbuilt tkcon console

Databases and TCL extensions used All extensions compiled using gcc on Linux and MS Visual C/C++ on Windows Third party database libraries are required in the library path Database TCL Extension Oracle/TimesTen Oratcl MS SQL Server/Linux and Windows Debian patch version of TclODBC 2.5.1 IBM DB2 updated version of db2tclBelinksy to add bind variable support MariaDB/MySQL/Amazon Aurora MySQLTcl PostgreSQL/Greenplum/Amazon Redshift PgTcl Pgtclng version Redis In-built TCL client Trafodion SQL on Hadoop TDBC

Example Usage SQL Server Typically set up as client/server GUI driven options Select Build from GUI Choose Options Confirm Build

Build Schema The actions of each thread determined by position TCL Build Script + T-SQL Multi-Threaded Build Schema Complete

Configure Driver GUI chosen options loaded into script Choose Workload Driver Script Virtual Users

Run Workload Virtual Users Run the benchmark

Why TCL for database benchmarking? TCL Threading Model - User sees 1 process per application One Interpreter per thread eq High Performance, High Scalability, Stability Users check a TSV to See if stop button pressed or can kill threads Database driven To 100% One thread, 1 interpreter with low level API Tens of millions transactions per minute

Commercial Comparison TCL based open source application delivers higher performance at lower CPU utilisation than leading commercial tool

Pure TCL Transaction Counter and CPU Monitor Separate thread emu + ribbon graph Detachable Window Driven by server side agent running mpstat On Windows uses TCL mpstat using twapi Detachable Window

Integrated Database Performance Output and Reports AWR Report 41,248 per sec * 60 = 2474880 = 2474902 TPM

Autopilot and Remote Modes Timed TK driven button presses for ‘one press’ automated test sequence Remote Modes comm based connect multiple clients for VM/Cluster testing Autopilot Remote Modes

Example use in Intel and partners Used by the leading Enterprise OEMS eg HPE SQL Server on Linux Used in Intel database testing in multiple groups eg Generate database performance data for forthcoming processors CPUs required to pass multiple performance tests HammerDB is one of these these Scalability proven alignment over generations with TPC-C at fraction of cost Example ‘Skylake’ (not in chart!) Generation of performance data for multiple SKUs Review and Approval Known product performance Not public due to database licensing Generational Performance Scaling CPU Generations TPM

Example Use Externally Req Id: 76262 Senior Storage Solutions Engineer: Austin, TX, US Database benchmarks – HammerDB, SysBench Technical Marketing Engineer (SC16457) SUPERMICRO COMPUTER INC, San Jose, CA Define and develop application benchmarks Key examples include HammerDB Job ID #: 53651 Position Title: Performance Engineer Location: CHN-Beijing Application benchmarks and load generation tools (BigBench, HammerDB, etc) Senior performance engineer Principled Technologies, Inc. - Durham, NC 27703 HammerDB, or similar benchmark toolsets * Senior Testing Eng. Hexatier - England Experience with Jmetter, HammerDB or any other database performance tool  (huge advantage)  Senior testing engineer Jerusalem IL Experience with Jmetter, HammerDB or any other database performance tool Regional Technical Specialist Oracle. Hitachi Data Systems Santa Clara, CA, US o Exposure to standard benchmarking tools (Swingbench, HammerDB, etc.)

Ongoing Development for v3 HammerDB grew ‘organically’ from an application called Hammerora for Oracle Now Supports top 5 RDBMS (+2) Multiple Requests to support additional databases Refactoring underway to make adding databases easier – 328 listed in DB-Engines Now XML <-> Dict driven to make adding databases by XML file and build and driver scripts eg requests for SAP HANA, SQLite, Cassandra, MongoDB, Tibero, Cubrid, Linter and TPC-E, TPC- DS

Other planned v3 Development Updates to latest TCL/TK packages and extensions for precompiled currently 8.6.0 (there is a lot of testing required per database!) Code Tidying Number of GUI enhancements and improve some ‘idiosyncrasies’ Transaction Counter Improvements A lot of scope for C based helper functions eg random strings Add to Metrics eg permission from author to add ASHMON for Oracle currently in TCL/TK 8.4 using BLT Updates to Documentation for new release – currently fairly extensive as need to detail database connectivity

Questions?