Remove 2003 Remove Code Remove Database Remove Monitoring
article thumbnail

Why Tcl is 700% faster than Python for database benchmarking

HammerDB

Python is a popular programming language, especially for beginners, and consequently we see it occurring in places where it just shouldn’t be used, such as database benchmarking. We use stored procedures because, as the introductory post shows, using single SQL statements turns our database benchmark into a network test).

article thumbnail

HammerDB v4.7 New Features Pt 2: Example CLI Scripts

HammerDB

When you list the HammerDB directory you can now see a directory called “scripts” This directory contains CLI scripts to build, run, delete and query TPROC-C and TPROC-H workloads against all databases. Copy Code Copied Use a different Browser ~/HammerDB-4.7$ Copy Code Copied Use a different Browser ~/HammerDB-4.7/scripts/tcl/maria/tprocc$

C++ 83
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

How to deploy HammerDB CLI fast with Docker

HammerDB

The TPC publishes an official Docker image on Docker Hub to enable the rapid deployment and testing of databases with HammerDB. This image includes example scripts to build schemas and test your databases with a single command. hammerdb>librarycheck Checking database library for Oracle Success. Database Configuration.

C++ 62
article thumbnail

HammerDB v4.6 New Features Pt2: Jobs Interface

HammerDB

For example on Windows an example of opening a new database. Copyright (C) 2003-2022 Steve Shaw Type "help" for a list of commands Initialized new SQLite on-disk database C:/Users/Hdb/AppData/Local/Temp/hammer.DB If disabled, the SQLite repository database is not opened, and it is not possible to query any jobs related data.

article thumbnail

HammerDB v4.6 New Features Pt1: Python CLI Interface

HammerDB

Copyright (C) 2003-2022 Steve Shaw. Copyright (C) 2003-2022 Steve Shaw. HammerDB will show the prompt “hammerdb>>>” to indicate that it is running a Python interpreter. Use a different Browser. $./hammerdbcli hammerdbcli py HammerDB CLI v4.6. Type "help()" for a list of commands. Use a different Browser.

article thumbnail

HammerDB v4.2 New Features Pt1: MariaDB Build and Test Example with the CLI

HammerDB

However, as the two databases diverged from a shared common codebase, this presented a challenge in that it was not possible to modify the workload for MySQL or MariaDB without also changing the other. Checking database library for MariaDB Error: failed to load mariatcl - couldn't load file "/home/HammerDB-4.2/lib/mariatcl0.1/libmariatcl0.1.so":

Testing 57
article thumbnail

What Adrian Did Next?—?Part 2?—?Sun Microsystems

Adrian Cockcroft

I was mostly coding in C, tuning FORTRAN, and when I needed to do a lot of data analysis of benchmark results used the S-PLUS statistics language, that is the predecessor to R. We had specializations in hardware, operating systems, databases, graphics, etc. It was the first database sizing guide Sun had ever produced.

Tuning 52