https://github.com/matrixorigin/mo_tpch_open
https://github.com/matrixorigin/mo_tpch_open
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/matrixorigin/mo_tpch_open
- Owner: matrixorigin
- Created: 2024-05-28T09:02:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-07T03:09:55.000Z (about 2 years ago)
- Last Synced: 2025-04-24T00:12:08.722Z (about 1 year ago)
- Language: C
- Size: 2.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Usage
These scripts are used to make tpc-h test.
follow the steps below:
### 1. generate tpc-h data. use -h for more infomations.
./bin/gen-tpch-data.sh -s 1
### 2. create tpc-h tables. modify `conf/matrixone.conf` to specify MatrixOne info, then run script below.
./bin/create-tpch-tables.sh
### 3. load tpc-h data. use -h for help.
./bin/load-tpch-data.sh
### 4. run tpc-h queries.
./bin/run-tpch-queries.sh
NOTICE: At present, MatrixOne's query optimizer and statistical information functions are not complete, so we rewrite some queries in TPC-H to adapt to MatrixOne' execution framework, but it does not affect the correctness of the results. The rewritten SQL is marked with "Modified" in the corresponding .sql file.
A new query optimizer will be released in subsequent releases.
Currently, differnt scales use the same suite of query sqls.