I have mysql MyISAM table on which I am doing a simple select id from mytable limit 1;
. This just freezes the system.
I tried explain select id from mytable limit 1;
. Again it freezes my system. Table demographics: 50k records, 10 mbs size, 2 indexes (primary key autoincrement), 8 columns.
I am clueless why the explain
statement failed, as it is supposed to display the query plan, nothing else. Neither the table size is enormous nor the number of records, then why is mysql working so slow? Rather, what am I missing here?