Skip to content

Conversation

gaoboal
Copy link
Collaborator

@gaoboal gaoboal commented Apr 9, 2024

Added a set of benchmarking tests to compare the query performance of OpenMLDB and Redis. The tests use the open-source TalkingData dataset and cover the following typical scenarios:

  1. Querying all data for a specified key.
  2. Querying data at a specified time range for a given key.
  3. Querying data at a specified timestamp for a given key.

"`channel` int, \n" +
"`click_time` Timestamp, \n" +
"`is_attributed` int \n" +
")\n" + "OPTIONS (replicanum=1); ";
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add ts

ArrayList<HashMap<String, Object>> rows = new ArrayList<>();

while (res.next()) {
HashMap<String, Object> row = new HashMap<>();
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

增加开关

Copy link
Collaborator

@tobegit3hub tobegit3hub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vagetablechicken
Copy link
Collaborator

I'll approve it after code update and get result set size test

@gaoboal gaoboal merged commit 442a4d3 into 4paradigm:main Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants