MySQL Forums
Forum List  »  Memory Storage Engine

Re: No Limits - Memory Engine
Posted by: Rick James
Date: March 10, 2013 12:04PM

The (threadbuffers*max connections) part tends to be pessimistic.

(max_heap_table_size*total memory tables) is probably wrong, since max_heap_table_size can be set before each CREATE TABLE...MEMORY, thereby giving different limits. (But I am not sure of the details.) That is, SET to different values before each CREATE.

I have investigated several formulas for total memory footprint, each has flaws. This lists the main components:
You are reaching into a rarely used area -- ENGINE=Memory.

For you, I would recommend reserving enough room for your MEMORY table(s), then follow the guidelines in that link with what memory remains.

Options: ReplyQuote

Written By
March 04, 2013 12:59AM
March 04, 2013 09:28PM
March 06, 2013 09:17AM
March 07, 2013 11:25PM
Re: No Limits - Memory Engine
March 10, 2013 12:04PM
March 20, 2013 07:19PM
March 18, 2013 07:38AM

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.