Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query and insert very slow #1976

Open
8188 opened this issue Feb 19, 2024 · 2 comments
Open

query and insert very slow #1976

8188 opened this issue Feb 19, 2024 · 2 comments
Assignees
Milestone

Comments

@8188
Copy link

8188 commented Feb 19, 2024

environment: laptop, windows10, docker desktop cnosdb:community-latest
table: 4000 columns
query by cli:
public ❯ select count(time) from booltest;
+----------------------+
| COUNT(booltest.time) |
+----------------------+
| 30 |
+----------------------+
Query took 2.893 seconds.
insert: as slow as query
when use influxdb, the same table, insert 10 datum only takes 100ms around

@h4ofanya
Copy link
Collaborator

environment: Mac and docker cnosdb:community-latest
table: 4000 double columns without any data
Mac:
public ❯ select count(time) from air;
+-----------------+
| COUNT(air.time) |
+-----------------+
| 0 |
+-----------------+
Query took 21.938 seconds.

docker:
+-----------------+
| COUNT(air.time) |
+-----------------+
| 0 |
+-----------------+
Query took 2.147 seconds.

@roseboy-liu
Copy link
Contributor

environment: Mac and docker cnosdb:community-latest table: 4000 double columns without any data Mac: public ❯ select count(time) from air; +-----------------+ | COUNT(air.time) | +-----------------+ | 0 | +-----------------+ Query took 21.938 seconds.

docker: +-----------------+ | COUNT(air.time) | +-----------------+ | 0 | +-----------------+ Query took 2.147 seconds.

did you build release mode on mac env ? looks like debug mode running.

@roseboy-liu roseboy-liu modified the milestones: V2.4.1, Long Term Apr 11, 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

No branches or pull requests

4 participants