TPC-DS Benchmark Report

TPC-DS is a decision support benchmark developed by the Transaction Processing Performance Council (TPC). TPC-DS models several generally applicable aspects of a decision support system, including queries and data maintenance. TPC-DS aims to provide a comprehensive and realistic workload for testing and evaluating the performance of database systems in a retail environment. The TPC-DS benchmark simulates the sales and return data of three sales channels (stores, Internet, and catalog) in a retail enterprise. In addition to creating tables for sales and return data models, it also includes a simple inventory system and a promotion system.

The benchmark tested a total of 99 complex SQL queries against 24 tables. The test utilized a 1TB data volume, and the primary performance metric was the response time of each query, that is, the duration between submitting the query and returning the results.

The following section presents the performance of three databases in single concurrency and 5-concurrency scenarios. The time unit is seconds, which measured the total time required for all SQL statements to complete.

Database

Total Execution Time in Single Concurrency

Total Execution Time in 5-Concurrency

SynxDB

5335

21125

Greenplum 6

6834

28255

Greenplum 7

6088

24750

Disclaimer

Greenplum® is a registered trademark of Broadcom Inc. Synx Data Labs and SynxDB are not affiliated with, endorsed by, or sponsored by Broadcom Inc. Any references to Greenplum are for comparative, educational, and interoperability purposes only.

Test environment

Hardware

In this test, we used AWS platform compute instances. To ensure fairness and comparability of the test environment, identical hardware resources were allocated to SynxDB and Greenplum, enabling accurate comparison between them.

Instance Type

Number of Instance

Region

r5.4xlarge

5

us-east-2a

The configuration of a single instance was as follows:

Processors

Memory

Storage

Network

16 cores

128 GB

8 * 500GB EBS (gp3)

10 Gbit/s

Total resources were as follows:

Total Processors

Total Memory

Total Storage

Total Network

80 cores

640 GB

20000 GB

50 Gbit/s

Software

Based on the aforementioned hardware resources, both SynxDB and Greenplum were deployed in a multi-node manner. 8 primary segments and 8 mirrors were deployed on each instance (mirror-mode=grouped), while the coordinator nodes and data nodes were deployed independently. The deployment architecture diagram is as follows:

Operating system and database kernel information:

Item

SynxDB

Greenplum

Operating system version

Rocky Linux 9.5

Rocky Linux 9.5

Database version

SynxDB 4.0

OSS Greenplum 6.27.1
OSS Greenplum 7.1.0

Test program

Tests were conducted on both SynxDB and Greenplum with a data scale of 1TB. All test results were obtained through actual measurements by SynxDB engineers using the same machine configuration and database parameters. The following methods were adopted during the testing process:

  • Used TPC-DS benchmark test tool.

  • Data storage method: AOCS columnar storage.

  • Data compression method and level: Used zstd compression with compression level 1.

Test steps

  1. Prepare the test environment.

    1. Install the SynxDB 4.0 test cluster following the SynxDB official documentation.

    2. Download and install Greenplum 6.27.1 and Greenplum 7.1.0.

  2. Set parameters. Both SynxDB and Greenplum were configured with tunable parameters and options different from the defaults. The database tuning options were as follows:

    Parameter name

    SynxDB

    Greenplum 6

    gp_vmem_protect_limit

    15000

    15000

    max_statement_mem

    ‘14GB’

    ‘14GB’

    statement_mem

    ‘12GB’

    ‘12GB’

    gp_fts_probe_timeout

    600

    600

    gp_fts_probe_interval

    600

    600

    gp_segment_connect_timeout

    1800

    1800

    gp_interconnect_queue_depth

    10

    10

    gp_interconnect_snd_queue_depth

    8

    8

    gp_interconnect_min_retries_before_timeout

    100

    100

    gp_autostats_mode

    ‘none’

    ‘none’

    autovacuum

    off

    off

    max_connections

    100/500

    100/500

    max_prepared_transactions

    100

    100

    gp_enable_runtime_filter_pushdown

    on

    /

  3. Download the TPC-DS benchmark test tool from https://github.com/HashDataFE/TPC-DS-CBDB.

  4. Run the run.sh script.

  5. Check the execution results through the tpcds_%y%m%d_%H%M%S.log log file.

Test conclusion

Multiple tests were conducted on both SynxDB and OSS Greenplum, and the best results were selected for performance comparison.

Data loading performance

The following table shows the comparison of loading TPC-DS data tables with a data volume of 1TB.

Database

Loading Speed

Time Required to Load 1TB of Data

SynxDB

700(MB/s)

25 (minutes)

Greenplum 6

700(MB/s)

25 (minutes)

Greenplum 7

700(MB/s)

25 (minutes)

Performance testing of 99 queries

The comparison of the 99 SQL statements of TPC-DS was as follows:

SynxDB (s)

Greenplum 6 (s)

Greenplum 7 (s)

5335

6834

6088

Conclusion: In terms of sequential execution, SynxDB was approximately 21.9% faster than Greenplum 6 and about 12.3% faster than Greenplum 7.

The details of SQL execution time were as follows:

NO.SynxDB (s)Greenplum 6 (s)Greenplum 7 (s)
Q01586
Q02458345
Q03101817
Q04179207184
Q05426650
Q06111717
Q07263735
Q08142019
Q09138212157
Q10203329
Q11106119109
Q12354
Q13386047
Q14314347314
Q1571110
Q16174729
Q17245441
Q18172626
Q19142320
Q20588
Q2161111
Q22262933
Q23677781707
Q24203236239
Q25265339
Q26131818
Q27243435
Q287311999
Q29285038
Q30433
Q31304137
Q3291715
Q33223535
Q34172724
Q35294441
Q36323735
Q3771612
Q38597268
Q39293431
Q4081511
Q41111
Q42101918
Q43192923
Q44334150
Q45576
Q46233231
Q47546152
Q48335539
Q49425748
Q50153332
Q51475650
Q52101816
Q53172221
Q54173937
Q55101816
Q56213432
Q57262824
Q58193129
Q59113176109
Q60233536
Q61335643
Q62121511
Q63142422
Q647589109
Q65698272
Q66182321
Q67938892883
Q68243331
Q69183227
Q70596264
Q71233432
Q725427857
Q73152220
Q74888580
Q75587876
Q76212424
Q77294137
Q78129227194
Q79343841
Q80416449
Q81665
Q82182119
Q83354
Q84243
Q85101713
Q86111211
Q87587068
Q8883165162
Q89182724
Q906108
Q91142
Q926109
Q93193432
Q94212314
Q95325234338
Q96112322
Q97576056
Q98121816
Q99222822

Throughput testing in TPC-DS scenario

The performance comparison of 99 SQL statements of TPC-DS in a 5-concurrency scenario is as follows:

SynxDB (s)

Greenplum 6 (s)

Greenplum 7 (s)

21125

28255

24750

Conclusion: In the 5-concurrency scenario, SynxDB was 25.2% faster than Greenplum 6 and 14.6% faster than Greenplum 7. In multi-concurrency scenarios, SynxDB outperformed Greenplum 6 and Greenplum 7 in terms of performance.

The detailed data was as follows:

NO.SynxDB (s)Greenplum 6 (s)Greenplum 7 (s)
S1S2S3S4S5S1S2S3S4S5S1S2S3S4S5
Q01232161362241451821282536314717
Q02259223211132197323266371227336166149228314203
Q032752382531609210754796688745557
Q04803734867539685949101891254898573410551153626670
Q0588911079998152231202177159106130154138118
Q0681444552747488797810362828311397
Q0714289881131051631291141719916010110815486
Q0851586143676469856310875918150104
Q09225197233178234269246243240224195186192174161
Q105652545841941899210060122811056780
Q1151847390384580939552711955577685465231113700745
Q1271612131418351514272043163117
Q13116158143185107150362269394268180237151244237
Q14818974707691771672954704647802790981681635804
Q15182419202134353332252832322839
Q161196158505357655838517037310611511081295
Q1792878999153136123368220100128142243130121
Q18655366102631167066875166877013747
Q1978515763829991751489792936988115
Q20141718182025282428233830403938
Q2121103882229242420373931222556
Q22521068346892666579705220262576254
Q23322232873186450032693470372636975115266530943226281947912694
Q249711024138580956993211711699677517107812291432831579
Q2511171899384248169172164163205107132114122
Q264047944347821638662446149605863
Q27115176118958529120015692911681381718091
Q28106124120120143166223164195210125200217182167
Q2982701066714117014514311919594162110120182
Q301012981111141381012148811
Q3198781521131348286126147107123748777154
Q32565229314181976452917585515895
Q3375726575642279592901231069097130110
Q345570405555116126889476103761139795
Q35112108121941131511311184510215821216277134
Q36198146116741271702051508617430714811486185
Q372715322012735230342910140353256
Q38188411184271175256184246138221152463388170182
Q39108156861461611031416915214713371226139125
Q40373739224064625441743553453952
Q41113111212201011
Q4226362736437710392725369671106894
Q43905974496310898131731081547310714495
Q4468506558667211376118768477806482
Q45231819162631211718312525283028
Q468895236897161112701051171371319382300
Q4715714157125106138133333116121152133181160169
Q481011013484146239253107323221163223113171220
Q4910212494108801141321355712512810814957185
Q503610356364311315312190171130189129117153
Q5111417916213922516820821197116158228145173149
Q5281384053517471611063888112778454
Q5365573994628692122105667910611811426
Q5469675180671291151619412928912514389242
Q55365731305561766851528573874658
Q5650506872477711711187741037310614592
Q5710176699481971468170798266928770
Q5864564656561081071296382939314564104
Q59531280452235514799454634505831465272436253454
Q6081587584549511687967599858613095
Q61138716677931751211179351267113115123115131
Q62413440513353485969475245315783
Q6379895876421011321341016211611715810989
Q64324233322255272370269258457233379337320259288
Q65367177164233207282249227166191207217225192322
Q66556717435153893747555381524578
Q67394738534151425544615552527954847135688945694224441952195510
Q687992122866011619012496135100165197141134
Q695953576049100636474648364729871
Q70412179203188199269232177175146424216166226183
Q717468881069113310912989185104119135109151
Q7220922523337220580576774710121009379544407386430
Q7357415147877292119104111126100847488
Q74511506533384361401306305610396567560388806559
Q75301348202226269288298267226192400242360263373
Q763757804655668510051737271686448
Q777493675911112711191881479711086109118
Q78502402390347516811731607430902925624561331771
Q7911813514125615723011711966177116112120102239
Q8013810923314510821713417022316415797161171138
Q8114142391520211912222012231430
Q82595330252954818161647873494651
Q8351161071217101216101691612
Q84568478117899149712
Q854657333432989255796187706457136
Q86448026262438344025345941262845
Q87314433430219226341306569204320373287358224239
Q88112116126130155203213337168226224182274148240
Q8947721811195969842138103837312613392
Q90181012551520252321141822261821
Q91431154221414171765554
Q92162164562333534027332846262624
Q9356574962110780207116682691051149
Q942881422921242751362311541846950538472
Q95728152213011056117473214721174120110788681781108613841328
Q96107454123302158570811991371141637582
Q97163182156114274182206189136287153141170176325
Q9868554931422058590704816076895593
Q99187991167111410910912211514058108101143110