alin19 Posted May 29, 2008 Share Posted May 29, 2008 when i'm using a php query to delete a record from a mysql table, i go in phpmy admin and i have a red line like this: Space usage Type Usage Data 3,436 B Index 2,048 B Overhead 64 B Effective 5,420 B Total 5,484 B Optimize table Optimize table and i have to press optimize table every time why i get this? Quote Link to comment https://forums.phpfreaks.com/topic/107792-mysql-overhead/ Share on other sites More sharing options...
MadTechie Posted May 29, 2008 Share Posted May 29, 2008 Its probably to do with indexing.. if you use a join on a field thats not indexed, mysql will need to index that field (this slows it down), if you index that field it should stop the overhead and speed up the searches, Quote Link to comment https://forums.phpfreaks.com/topic/107792-mysql-overhead/#findComment-552631 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.