Transaction Processing Performance Council-Decision Support (TPC-DS) is a decision support benchmark that is used to evaluate the analytical performance of big data systems. You can perform a complete TPC-DS benchmark test in AnalyticDB for MySQL to obtain information about the analytical performance of an AnalyticDB for MySQL cluster.
The implementation of TPC-DS in this topic is derived from the TPC-DS benchmark and is not comparable to published TPC-DS benchmark results. The implementation does not comply with all the requirements of the TPC-DS benchmark.
Before you perform a TPC-DS test in AnalyticDB for MySQL, make the following preparations:
Create an AnalyticDB for MySQL cluster. For more information, see Create a cluster.
Configure an IP address whitelist for the cluster. For more information, see Configure an IP address whitelist.
Create a database account for the cluster. For more information, see Create a database account.
To connect to the cluster over the Internet, apply for a public endpoint. For more information, see Apply for or release a public endpoint.
Install TPC-DS tools.
Visit the TPC-DS official website. In the top navigation bar, choose Downloads > Download Programs and Specifications.
Click the download link of the TPC-DS tools. The registration page appears.
NoteMake sure that you enter a valid email address to receive the download link of the TPC-DS tools.
Obtain the download link in your email and download the installation package.
Rename the installation package as
tpc-ds-tool.zip
.Decompress the installation package and go to the
tools
directory to compile the tools.Decompress the installation package.
unzip tpc-ds-tool.zip
Go to the
tools
directory to compile the tools.cd v2.13.0rc1/tools make
View the compiled file.
ls -l
The following output is returned:
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
NoteYou can obtain the
tpcds.sql
file that contains table creation statements in thetools
directory.