Giter Club home page Giter Club logo

Comments (9)

MichaelScofield avatar MichaelScofield commented on June 2, 2024

@tx991020 can you provide more detailed infomation about your benchmark testing setup?

from greptimedb.

tx991020 avatar tx991020 commented on June 2, 2024

translates to The format is as follows
"1","1208026841","477458502","FKlJh","2023-08-05 08:56:00","pSvqg","gQWxL","JikNj","972076018","348948709","1","GMZHG","XzNXZ","QHfSD","0","ejliy"

6 million records
Comparison between standalone MySQL and standalone GrepTime: In terms of a count query with a non-indexed field, GrepTime is several seconds slower than MySQL in execution.

from greptimedb.

tx991020 avatar tx991020 commented on June 2, 2024

MySQL takes 6 seconds, while GrepTime seems to take 11 seconds

from greptimedb.

MichaelScofield avatar MichaelScofield commented on June 2, 2024

Thx! Can you share the create table sql as well? If there are senstive data, it's ok to change the columns names. We'd like to do the same benchmark to investigate more

from greptimedb.

tx991020 avatar tx991020 commented on June 2, 2024

CREATE TABLE IF NOT EXISTS xxxx (
a BIGINT NULL,
b BIGINT NULL,
c TIMESTAMP(3) NOT NULL DEFAULT current_timestamp(),
d TIMESTAMP(3) NULL DEFAULT current_timestamp(),
e STRING NULL DEFAULT '',
f INT NULL,
g INT NULL,
h INT NULL,
i STRING NULL,
j STRING NULL,
k STRING NULL,
l STRING NULL,
m STRING NULL,
n STRING NULL,
o INT NULL,
p INT NULL,
q INT NULL,
r STRING NULL,
s STRING NULL,
t STRING NULL,
u STRING NULL,
v STRING NULL,
w STRING NULL,
x TINYINT NULL DEFAULT 0,
y INT NULL,
z STRING NULL,
aa STRING NULL,
ab TINYINT NULL DEFAULT 0,
ac TINYINT NULL DEFAULT 0,
TIME INDEX (c),
PRIMARY KEY (a)
)
ENGINE=mito
WITH(
regions = 1
);

from greptimedb.

MichaelScofield avatar MichaelScofield commented on June 2, 2024

@tx991020 can you share the queries for benchmarking, too?

from greptimedb.

tx991020 avatar tx991020 commented on June 2, 2024

slect count(*) from xxx; slelect e from xxx where xx

from greptimedb.

MichaelScofield avatar MichaelScofield commented on June 2, 2024

thx, we'll investigate the query performance asap

from greptimedb.

MichaelScofield avatar MichaelScofield commented on June 2, 2024

@tx991020 we are currently have some issues related to scan, dragging down our overall query performance. It's planned to be optimized soon, stay tuned!

from greptimedb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.