MySQL Forums
Forum List  »  Newbie

Re: Count group errcode 28 - No space left on device
Posted by: Phillip Ward
Date: May 13, 2011 09:10AM

And not just the original 38 million records, either!
By using the "( select ... )" syntax, MySQL is having to create a temporary, in -memory 'table' containing all the data you select within that 'sub-select' (wrong word, I know, but you get the idea). That's almost certainly filling the server's working memory and spilling over onto disk, hence the 'disk full' message.
If I read this aright, these pseudo tables are used to generate the counts that you're including with the raw data - is there no way that you can calculate these within your application layer?

Options: ReplyQuote


Subject
Written By
Posted
Re: Count group errcode 28 - No space left on device
May 13, 2011 09:10AM


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.