All Products
Search
Document Center

AnalyticDB:Preparations

Last Updated:Mar 28, 2026

Transaction Processing Performance Council-Decision Support (TPC-DS) is a decision support benchmark for evaluating the analytical performance of big data systems. This topic walks you through the steps required before running a TPC-DS benchmark test on an AnalyticDB for MySQL cluster.

Note

The TPC-DS implementation described here is derived from the TPC-DS benchmark and is not comparable to published TPC-DS benchmark results. It does not comply with all requirements of the TPC-DS benchmark.

Prerequisites

Before you begin, ensure that you have:

Install TPC-DS tools

  1. Go to the TPC-DS official website. In the top navigation bar, choose Downloads > Download Programs and Specifications.

  2. Click the download link for the TPC-DS tools. On the registration page that appears, enter a valid email address to receive the download link.

  3. Download the installation package using the link sent to your email. Rename the package as tpc-ds-tool.zip.

  4. Decompress the package, go to the tools directory, and compile the tools.

    unzip tpc-ds-tool.zip
    cd v2.13.0rc1/tools
    make
  5. Verify the compiled output.

    ls -l

    The output is similar to:

    drwxr-xr-x 2 root root  4096 January  21 11:47 answer_sets
    -rw-r--r-- 1 root root 17809 April  29 2020 EULA.txt
    drwxr-xr-x 2 root root  4096 January  21 10:47 query_templates
    drwxr-xr-x 2 root root  4096 May  12 2020 query_variants
    drwxr-xr-x 2 root root  4096 May  12 2020 specification
    drwxr-xr-x 2 root root  4096 May  12 2020 tests
    drwxr-xr-x 7 root root 20480 January  21 21:40 tools
    Note

    The tools directory contains tpcds.sql, which has the table creation statements you will use in later steps.