An open API service indexing awesome lists of open source software.

https://github.com/matrixorigin/mo_tpch_open


https://github.com/matrixorigin/mo_tpch_open

Last synced: about 1 year ago
JSON representation

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.