-
Notifications
You must be signed in to change notification settings - Fork 751
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
Support Output MySQL format #6791
Comments
Could you try one databend-query node and test it again? It is not useful to deploy 3-nodes on a single machine(IO&CPU-bound) |
Yes, I used local fs as the engine. I before tested with 1 query node, just a little better. I'll test it again some time later. |
Thank you. |
Yes, I actually do not realize this. But the problem seems not about storage engine, the performance bottleneck is about DFQueryResultWriter, a problem between mysql client and query server. Or if I do misunderstand? |
Hmm, could you put the MySQL client query status, like:
MySQL DFQueryResultWriter is not a stream writer, for the query with |
1000000 rows in set (11.30 sec) Table |
That's right. We can refactor |
not needed in practice |
Summary
Execution time of query
select * from customer limit 1000000
(customer is generated by tpc-h dbgen with 100GB scale factor) is 10-sec level which is less than 1 sec in mysql.ps: test in my own macbook with a cluster of 3 query nodes
pprof:
The text was updated successfully, but these errors were encountered: