MySQL Forums
Forum List  »  NDB clusters

Re: performance of aggregate in Cluster
Posted by: Mikael Ronström
Date: January 23, 2015 09:36AM

Hi,
The aggregate query fetches all 10M rows from the data nodes, for each row
it gets the two columns you specified, so probably around 70-80 bytes sent
per row. So the MySQL Server have to process 10M messages of 70-80 bytes in
size, this will take a few seconds, so it is quite hard to improve it.

But one thing you can do is to ensure that you use the option to lock the
NDB receive thread to a specific CPU which nobody else is using. If you
can get this configuration working it is possible that you can improve
the results of this query.

Rgrds Mikael Ronström

Options: ReplyQuote


Subject
Views
Written By
Posted
1853
December 29, 2014 08:58PM
Re: performance of aggregate in Cluster
681
January 23, 2015 09:36AM
650
January 26, 2015 02:47AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.