Mysql: what to do when memory tables reach max_heap_table_size? -
i'm using mysql memory table way cache data rows read several times. chose alternative because i'm not able use xcache or memcache in solution. after reading mysql manual , forum topic have concluded error raised when table reaches maximum memory size. want know if there way catch error in order truncate table , free memory. don't want raise limit of memory can used, need way free memory automatically table can continue working.
thanks.
if you're out of memory, engine raise error 1114
following error message:
the table 'table_name' full
you should catch error on client side , delete data table.
Comments
Post a Comment