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:
http://mysql.rjweb.org/doc.php/memory
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


Subject
Views
Written By
Posted
8377
March 04, 2013 12:59AM
3195
March 04, 2013 09:28PM
2804
March 06, 2013 09:17AM
2767
March 07, 2013 11:25PM
Re: No Limits - Memory Engine
2905
March 10, 2013 12:04PM
2622
March 20, 2013 07:19PM
2663
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.