Shouldn't Max_data_length on a heap table be the same as the max_heap_table_size variable as long is max_rows is not set? My heap table can grow up to about 200mb. If I set the limit max_heap_table_size at 256MB, Max_data_length ends up being around 110MB. This gives me the 'table is full' error when it grows over (about) 110MB. I had to set it at 512MB to get it at it's current value. Is this a bug or am I missing something? show table status: Name | Type | Row_format | Rows | Avg_row_length | Data_length | Max_data_length mydata | HEAP | Dynamic | 0 | 187 | 0 | 237901961 show variables: Variable_name | Value max_heap_table_size | 536869888 mysql ver 3.23.41 SunOS 5.6 Generic_105181-15 sun4u sparc SUNW,Ultra-250 --Ian --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php