How to improve performance #4816
-
Hello, I'm new to GreptimeDB. Currently, I use "Spark + Parquet" for data analysis. I'm thinking of GreptimeDB as a distributed version of DataFusion that supports external secondary indexes. At first glance, the query performance of GreptimeDB's EXTERNAL TABLE was significantly better compared to "Spark + Parquet." However, I'm struggling with the performance of NATIVE TABLEs. Could someone advise me on how to improve the performance? test result
queries
Data
DDL
GreptimeDB installaion
GreptimeDB confI don't know which configurations are important. After goolging I just added following lines to
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello, looking at the four types of query statements you listed, external tables seem to be a more suitable choice. If you still want to try the native table, modify the create table statement to:
I made two modifications based on your table creation statement:
I also have a question: Does the |
Beta Was this translation helpful? Give feedback.
Hello, looking at the four types of query statements you listed, external tables seem to be a more suitable choice.
If you still want to try the native table, modify the create table statement to:
I made two modifications based on your table creation statement:
PRIMARY KEY(row_id)
I also have a question: Does the
ts
column in your data file represent actual time, or is it just a fixe…