I am trying to create and load a temporary mySQL table into memory using the following syntax but am running into a "Table is full" error:
CREATE TEMPORARY TABLE IF NOT EXISTS tmpHistory ENGINE=MEMORY SELECT * FROM history ORDER BY date ASC;
My original history InnoDB table has about 3m rows and about 300mb. I've increased both of the following server variables from their 16mb default values:
max_heap_table_size = 536870912
tmp_table_size = 536870912
I'm running mySQL on AWS r3.xlarge which is a 4-core box with 30.5GB of RAM.
I've reviewed this SO guidance but am still running into the Table is Full error. I'm new to using the Memory Engine, so any suggestions are appreciated.