Is there a way to determine whether a mysql index fits entirely in available memory? If so, how would I:
To find memory available to MySQL, look in my.cnf, likely located at: /etc/mysql/my.cnf
my.cnf
/etc/mysql/my.cnf
key_buffer_size = 264M
To find size of indexes for a table: SHOW TABLE status FROM [DBNAME]
SHOW TABLE status FROM [DBNAME]