​ TdBench 7.2 – tdb.sh Utility Script. 2 Created for TdBench 7.x release to consolidate tools Open architecture – looks for scripts in the./tools directory.

Slides:



Advertisements
Similar presentations
CC SQL Utilities.
Advertisements

ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.
Ch-11 Project Execution and Termination. System Testing This involves two different phases with two different outputs First phase is system test planning.
1 Microsoft Access 2002 Tutorial 9 – Automating Tasks With Macros.
Getting Started: Ansoft HFSS 8.0
The New Data Pump Caleb Small Next generation Import / Export New features Better performance Improved security Versatile interfaces.
Copyright © 2011 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are trademarks of Accenture. SQL Workshop Day 4.
UNESCO ICTLIP Module 4. Lesson 3 Database Design, and Information Storage and Retrieval Lesson 3. Information storage and retrieval using WinISIS.
Query Manager. QM is a collection of tools you can use to obtain information from the AS/400 database Used to –select, arrange, and analyze information.
Automating Tasks With Macros
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
Lecture 4: Introduction to PHP 3 PHP & MySQL
Attribute databases. GIS Definition Diagram Output Query Results.
HORIZONT 1 TWS/WebAdmin Tips & Tricks HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 /
Passage Three Introduction to Microsoft SQL Server 2000.
Module 9: Transferring Data. Overview Introduction to Transferring Data Tools for Importing and Exporting Data in SQL Server Introduction to DTS Transforming.
® IBM Software Group © 2006 IBM Corporation The Eclipse Data Perspective and Database Explorer This section describes how to use the Eclipse Data Perspective,
Access Tutorial 10 Automating Tasks with Macros
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute.
FireRMS SQL Audit, Archiving & Purging Presented by Laura Small FireRMS Quality Assurance.
0 UMN 2011 ERP Terapan ABAP Introduction Session # 8.
Denise Luther Senior IT Consultant Practical Technology Enablement with Enterprise Integrator.
Web Application Development. Define ER model in QSEE Generate SQL Create Database mySQL Write Script to use TableEditor class Process to create A simple.
SqlReports Dean Dahlvang PSUG-MO March About Dean Dean Dahlvang Director of Administrative Technology for the Proctor.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
Web Application Development. Tools to create a simple web- editable database QSEE MySQL (or PHPMyAdmin) PHP TableEditor.
ODBC : What is it and how does it work with MDS ?.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
Shell Scripting Introduction. Agenda What is Shell Scripting? Why use Shell Scripting? Writing and Running a Shell Script Basic Commands -ECHO - REM.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
June 6 th – 8 th 2005 Deployment Tool Set Synergy 2005.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
Active-HDL Interfaces Debugging C Code Course 10.
Interfaces to External EDA Tools Debussy Denali SWIFT™ Course 12.
Database control Introduction. The Database control is a tool that used by the database administrator to control the database. To enter to Database control.
Oracle Data Integrator Procedures, Advanced Workflows.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
DataMAPPER - Applied Database Tech. 이화여대 과학기술대학원 석사 3 학기 992COG08 김지혜.
Event Log View and Sentry Event Log Management Copyright 2002 Engagent, Inc.
Microsoft Access 2000 Presentation 1 The Basics of Access.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
Mark E. Fuller Senior Principal Instructor Oracle University Oracle Corporation.
Copyright 2007, Information Builders. Slide 1 Machine Sizing and Scalability Mark Nesson, Vashti Ragoonath June 2008.
1 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way.
Linux Operations and Administration
Introduction to Teradata Client Tools. 2 Introduction to Teradata SQL  OBJECTIVES :  Teradata Product Components.  Accessing Teradata – Database /
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
1 Introduction to SQL *Plus Oracle SQL Interface MIS309 Database Systems.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
Commands 3/1/ Boot PROM Fundamentals All Sun systems have resident boot PROM firmware Provides basic hardware testing and initialization prior.
Last Updated : 12 th April 2004 Center of Excellence Data Warehousing Group Overview of Teradata Utilities.
Copyright © Teradata Corporation By Doug Ebel Teradata Americas Benchmark COE TdBench V7.2 - A Query Driver Designed for Data Warehouse Benchmarks.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Enterprise Database Systems Introduction to SQL Server Dr. Georgia Garani Dr. Theodoros Mitakos Technological.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
D Copyright © 2009, Oracle. All rights reserved. Using SQL*Plus.
SQLcl: A Modern Command Line Interface to the Oracle Database
Integrating ArcSight with Enterprise Ticketing Systems
HORIZONT TWS/WebAdmin DS TWS/WebAdmin DS Tips & Tricks
SQL and SQL*Plus Interaction
Using SQL*Plus.
LOCO Extract – Transform - Load
CSE 491/891 Lecture 21 (Pig).
8 6 MySQL Special Topics A Guide to MySQL.
Using SQL*Plus.
Presentation transcript:

​ TdBench 7.2 – tdb.sh Utility Script

2 Created for TdBench 7.x release to consolidate tools Open architecture – looks for scripts in the./tools directory with formatted comments – For customer engagements, allows installing customer specific benchmark execution scripts Communicates with tdbench.sh via pipes – provides tested interface for stopping/killing test Runs macros for manipulating the TestTracking table – Add notes or condition descriptions to completed tests – Close out test that didn’t end gracefully by updating ActualStopTime – Can wrap execution of other tools (brand-x query drivers) with TestStart/Teststop macro executions Installed automatically as part of TdBench tdb.sh Overview

3 Default is to run interactive – Top menu to select a submenu of function. – Submenu prompts for parameters, the runs shell script in./tools menu Example interactive prompting for parameters: After prompting, it shows command that will execute You can execute that command directly in a batch mode, e.g../tdb.sh tpcds_1_gen "1" "" "y“ Example of running another “query driver”:./tdb.sh testrun "bteq logon sbox2/acme_Benchmark,TempPw1 < t.sql" "tdb_Demo" "Show tdb.sh running a test” tdb.sh Execution Interactive or Batch Enter parameters for tpcds_1_gen: Optional size in GB (default 1, or enter 1, 10, 30, 100, 300, 1000, 3000, 10000, 30000, ) (or quit or help): 1 Optional target name (default tools/tpcds) (or quit or help): Optional Y for foreground (default will run in background) (or quit or help): y the command that will execute:./tdb.sh tpcds_1_gen "1" "" "y" Enter Y to execute, edit to fix your responses, or quit to cancel Enter your answer: (or quit or help): y Initiating the data generation in foreground

4 Main Menu 1.Commands for any query driver 2.Monitor or control tdbench.sh 3.Tools to prepare benchmarks 4.Benchmark (TPC) load and execute 5.Help on tdbench setup, getting started 2 Level Menu Structure in tdb.sh for TdBench 7.2

5 1.Commands for any query driver Main 1. teststart - Initiate a test, optionally providing name & description of test, creates RunID teststop - Terminate a test, optionally providing RunId and timestamp testrun - Initiate a test, then run another command or query driver, then end the test note - Add a note or observation to the recent or prior RunID condition - Add specific description of the conditions to the recent or prior RunID title - Set or replace the title of the recent or prior RunID list - List out the tests, specifying the range of RunIDs report - List out statistics for a RunID... Enter a number between 1 and 8 (or quit or help): Options To Maintain TestTracking Table Outside TdBench.sh Can be used to launch “Brand-X” query drivers or use TestTracking table to simplify analysis of arbitrary script execution (e.g. bteq serial execution of all queries or shell script of all initial loads)

6 2.Monitor or control tdbench.sh Main 1. status - Analyze if a test is running and if it is, request the queues to summarize query counts and timings 2. watch - Watch execution via Active.Stats file 3. stop - If tdbench.sh is running, will ask if you want to kill or stop current or all tests Enter a number between 1 and 3 (or quit or help): Options to Monitor/Stop TdBench.sh execution Puts status/stop/kill commands into pipe for tdbench. Status output appears on tdbench console. (May be on nohup.out if running disconnected)

7 3.Tools to prepare benchmarks Main 1. backup_work - Backup the dictionary definitions below a user or database 2. namesql - Apply comments or query_bands with filename as queryid numbersql - Apply comments or query_bands with numbered query IDs speedtest - Run a series of load, export and backups to test dbms and client speed splitsql - Transform 1 SQL file into.lst file and directory of sql scripts 6. tableview - show columns from delimited file tptload - Load 1 file to one table tptunlock - Unlock table locked by failed tpt load wrapup - At end of benchmark, save dbql/resusage from tests + benchmark db... Enter a number between 1 and 9 (or quit or help): General Utility Tools An assortment of tools for preparing SQL scripts, testing the speed of utilities and hardware, loading data, backing up DDL, and archiving DBQL/Resusage rows within bounds of tests.

8 4.Benchmark (TPC) load and execute Main 1. tpcds_1_gen - Generate a TPC-DS set of data tpcds_2_define - Define Tpc-DS tables and create data loading script tpch_1_gen - Generate a TPC-H set of data in background tpch_2_define - Define Tpc-H tables and create data loading script... Enter a number between 1 and 4 (or quit or help): Standardized Benchmark Setup Script %_1_gen runs the tpc data generator for a given size of data to load. Script %2_define creates tables inside database you’ve defined and creates scripts for loading and executing benchmark.

9 5.Help on tdbench setup, getting started Main 1. tdbench_getting_started_info - Simple examples with explanations of using tdbench.sh and tdb.sh 2. tdbench_reference_info - Complete help output from tdbench 3. tdbench_setup_info - How to setup and install tdbench and related tools Enter a number between 1 and 3 (or quit or help): General Help Information