You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[opt](benchmark) update ssb, tpch, tpcds benchmark result (#3535)
## Versions
- [x] dev
- [x] 4.x
- [ ] 3.x
- [ ] 2.1
## Languages
- [x] Chinese
- [x] English
## Docs Checklist
- [ ] Checked by AI
- [ ] Test Cases Built
[Star Schema Benchmark(SSB)](https://www.cs.umb.edu/~poneil/StarSchemaB.PDF) is a lightweight performance test set in the data warehouse scenario. SSB provides a simplified star schema data based on [TPC-H](http://www.tpc.org/tpch/), which is mainly used to test the performance of multi-table JOIN query under star schema. In addition, the industry usually flattens SSB into a wide table model (Referred as: SSB flat) to test the performance of the query engine.
11
+
[Star Schema Benchmark(SSB)](https://www.cs.umb.edu/~poneil/StarSchemaB.PDF) is a lightweight performance test set in the data warehouse scenario. SSB provides a simplified star schema data based on [TPC-H](http://www.tpc.org/tpch/), which is mainly used to test the performance of multi-table JOIN query under star schema.
12
12
13
-
This document mainly introduces the performance of Doris on the SSB 1000G test set.
13
+
This document mainly introduces the performance of Doris on the SSB SF1000 test set.
14
14
15
-
We tested 13 queries on the SSB standard test dataset based on Apache Doris version 2.0.15.1.
15
+
We tested 13 queries on the SSB standard test dataset based on Apache Doris.
| Number of Machines | 4 [Aliyun g9i Virtual Machine](https://www.alibabacloud.com/help/en/ecs/user-guide/general-purpose-instance-families#g9i) (1FE,3BEs) |
22
+
| CPU | Intel® Xeon® Granite Rapids 32C |
23
23
| Memory | 128G |
24
24
| Disk | Enterprise SSD (PL0) |
25
25
@@ -28,8 +28,7 @@ We tested 13 queries on the SSB standard test dataset based on Apache Doris vers
28
28
- Doris Deployed 3BEs and 1FE
29
29
- Kernel Version: Linux version 5.15.0-101-generic
30
30
- OS version: Ubuntu 20.04 LTS (Focal Fossa)
31
-
- Doris software version: Apache Doris 2.0.15.1
32
-
- JDK: openjdk version "1.8.0_352-352"
31
+
- JDK: openjdk 17.0.2
33
32
34
33
## 3. Test Data Volume
35
34
@@ -42,57 +41,35 @@ We tested 13 queries on the SSB standard test dataset based on Apache Doris vers
42
41
| dates | 2,556 | Date |
43
42
| lineorder_flat | 5,999,989,709 | Wide Table after Data Flattening |
44
43
45
-
## 4. SSB Flat Test Results
46
-
47
-
Here we use Apache Doris 2.0.15.1 for comparative testing. In the test, we use Query Time(ms) as the main performance indicator. The test results are as follows:
48
-
49
-
| Query | Doris 2.0.15.1 (ms) |
50
-
|-----------|---------------------|
51
-
| q1.1 | 80 |
52
-
| q1.2 | 10 |
53
-
| q1.3 | 110 |
54
-
| q2.1 | 1680 |
55
-
| q2.2 | 1210 |
56
-
| q2.3 | 1060 |
57
-
| q3.1 | 2010 |
58
-
| q3.2 | 1560 |
59
-
| q3.3 | 600 |
60
-
| q3.4 | 10 |
61
-
| q4.1 | 2380 |
62
-
| q4.2 | 190 |
63
-
| q4.3 | 120 |
64
-
|**Total**|**11020**|
65
-
66
-
67
-
## 5. Standard SSB Test Results
68
-
69
-
Here we use Apache Doris 2.0.15.1 for comparative testing. In the test, we use Query Time(ms) as the main performance indicator. The test results are as follows:
70
-
71
-
| Query | Doris 2.0.15.1 (ms) |
72
-
|-----------|---------------------|
73
-
| q1.1 | 330 |
74
-
| q1.2 | 80 |
75
-
| q1.3 | 80 |
76
-
| q2.1 | 1780 |
77
-
| q2.2 | 1970 |
78
-
| q2.3 | 1510 |
79
-
| q3.1 | 4000 |
80
-
| q3.2 | 1720 |
81
-
| q3.3 | 1510 |
82
-
| q3.4 | 160 |
83
-
| q4.1 | 4010 |
84
-
| q4.2 | 840 |
85
-
| q4.3 | 400 |
86
-
|**Total**|**19390**|
87
-
88
-
## 6. Environment Preparation
44
+
## 4. Standard SSB Test Results
45
+
46
+
In the test, we use Query Time(ms) as the main performance indicator. The test results are as follows:
Please first refer to the [official documentation](../install/deploy-manually/separating-storage-compute-deploy-manually) to install and deploy Apache Doris first to obtain a Doris cluster which is working well(including at least 1 FE 1 BE, 1 FE 3 BEs is recommended).
91
68
92
69
93
-
## 7. Data Preparation
70
+
## 6. Data Preparation
94
71
95
-
### 7.1 Download and Install the SSB Data Generation Tool.
72
+
### 6.1 Download and Install the SSB Data Generation Tool.
96
73
97
74
Execute the following script to download and compile the [ssb-tools](https://github.com/apache/doris/tree/master/tools/ssb-tools) tool.
98
75
@@ -102,7 +79,7 @@ sh bin/build-ssb-dbgen.sh
102
79
103
80
After successful installation, the `dbgen` binary will be generated under the `ssb-dbgen/` directory.
104
81
105
-
### 7.2 Generate SSB Test Set
82
+
### 6.2 Generate SSB Test Set
106
83
107
84
Execute the following script to generate the SSB dataset:
108
85
@@ -114,11 +91,11 @@ sh bin/gen-ssb-data.sh -s 1000
114
91
>
115
92
> Note 2: The data will be generated under the `ssb-data/` directory with the suffix `.tbl`. The total file size is about 600GB and may need a few minutes to an hour to generate.
116
93
>
117
-
> Note 3: A standard test data set of 100G is generated by default.
94
+
> Note 3: A standard test data set of SF100 is generated by default.
118
95
119
-
### 7.3 Create Table
96
+
### 6.3 Create Table
120
97
121
-
#### 7.3.1 Prepare the `doris-cluster.conf` File.
98
+
#### 6.3.1 Prepare the `doris-cluster.conf` File.
122
99
123
100
Before import the script, you need to write the FE’s ip port and other information in the `doris-cluster.conf` file.
124
101
@@ -141,23 +118,23 @@ export PASSWORD=''
141
118
export DB='ssb'
142
119
```
143
120
144
-
#### 7.3.2 Execute the Following Script to Generate and Create the SSB Table:
121
+
#### 6.3.2 Execute the Following Script to Generate and Create the SSB Table:
145
122
146
123
```shell
147
124
sh bin/create-ssb-tables.sh -s 1000
148
125
```
149
126
150
127
Or copy the table creation statements in [create-ssb-tables.sql](https://github.com/apache/doris/blob/master/tools/ssb-tools/ddl/create-ssb-tables-sf1000.sql) and [create-ssb-flat-table.sql](https://github.com/apache/doris/blob/master/tools/ssb-tools/ddl/create-ssb-flat-tables-sf1000.sql) and then execute them in the MySQL client.
151
128
152
-
### 7.4 Import data
129
+
### 6.4 Import data
153
130
154
131
We use the following command to complete all data import of SSB test set and SSB FLAT wide table data synthesis and then import into the table.
155
132
156
133
```shell
157
134
sh bin/load-ssb-data.sh
158
135
```
159
136
160
-
### 7.5 Checking Imported data
137
+
### 6.5 Checking Imported data
161
138
162
139
```sql
163
140
selectcount(*) from part;
@@ -168,176 +145,13 @@ select count(*) from lineorder;
0 commit comments