Can anyone suggest a method of measuring the size of a HEAP/MEMORY-type table? This would be useful to set an appropriate figure for the max_heap_table_size server variable.
I can create the table on disk rather than in memory and check the file size that way, but is there a more direct method?
I can create the table on disk rather than in memory and check the file size that way, but is there a more direct method?