Skip to content

Commit

Permalink
docs: move v0.9.1 benchmark report to tsbs dir (#4598)
Browse files Browse the repository at this point in the history
* docs: move v0.9.1 benchmark report to tsbs dir

* docs: add newlines
  • Loading branch information
evenyag authored Aug 21, 2024
1 parent a12a905 commit 9c1704d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/benchmarks/log/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ INSERT INTO test_table (message, timestamp) VALUES ()
The goal is to test fuzzy search performance for each database. In real scenarios it means the log is produced by some kind of middleware and inserted directly into the database.

## Creating tables
See [here](./create_table.sql) for GreptimeDB and Clickhouse's create table clause.
See [here](./create_table.sql) for GreptimeDB and Clickhouse's create table clause.
The mapping of Elastic search is created automatically.

## Vector Configuration
Expand All @@ -41,11 +41,11 @@ Please refer to [SQL query](./query.sql) for GreptimeDB and Clickhouse, and [que

## Steps to reproduce
0. Decide whether to run structured model test or unstructured mode test.
1. Build vector binary(see vector's config file for specific branch) and databases binaries accordingly.
1. Build vector binary(see vector's config file for specific branch) and databases binaries accordingly.
2. Create table in GreptimeDB and Clickhouse in advance.
3. Run vector to insert data.
4. When data insertion is finished, run queries against each database. Note: you'll need to update timerange value after data insertion.

## Addition
- You can tune GreptimeDB's configuration to get better performance.
- You can setup GreptimeDB to use S3 as storage, see [here](https://docs.greptime.com/user-guide/operations/configuration/#storage-options).
- You can setup GreptimeDB to use S3 as storage, see [here](https://docs.greptime.com/user-guide/operations/configuration/#storage-options).
4 changes: 2 additions & 2 deletions docs/benchmarks/log/create_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ CREATE TABLE IF NOT EXISTS test_table
message String,
timestamp String,
INDEX inv_idx(message) TYPE full_text(0) GRANULARITY 1
)
)
ENGINE = MergeTree()
ORDER BY tuple();
ORDER BY tuple();
2 changes: 1 addition & 1 deletion docs/benchmarks/log/query.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,4 @@ URL: `http://127.0.0.1:9200/_search`
}
}
}
```
```
2 changes: 1 addition & 1 deletion docs/benchmarks/log/structured_vector.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ compression = "none"
doc_type = "_doc"
endpoints = [ "http://127.0.0.1:9200" ]
id_key = "id"
mode = "bulk"
mode = "bulk"
2 changes: 1 addition & 1 deletion docs/benchmarks/log/unstructured_vector.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ compression = "none"
doc_type = "_doc"
endpoints = [ "http://127.0.0.1:9200" ]
id_key = "id"
mode = "bulk"
mode = "bulk"
File renamed without changes.

0 comments on commit 9c1704d

Please sign in to comment.