MySQL Forums
Forum List  »  Newbie

Re: Changing tmpdir causes InnoDB to break
Posted by: Rick James
Date: November 06, 2009 09:19PM

Another note: Do not set tmp_table_size too high -- it (and max_heap_table_size) control how determines when a tmp table is written to disk. Until then, it tries to create a tmp HEAP table in RAM. You setting of 1GB was causing it to allocate that much RAM, possibly causing the 'out of memory' issue previously.

I would set it to, say, 50MB. When a tmp table exceeds that, it will automatically convert to a MyISAM type and proceed.

Options: ReplyQuote


Subject
Written By
Posted
Re: Changing tmpdir causes InnoDB to break
November 06, 2009 09:19PM


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.