Jump to content

Archived

This topic is now archived and is closed to further replies.

holly

Does index rebuild on Insert/Update?

Recommended Posts

I just discovered how to make an index on my MySQL database, which vastly speeds up my query speed - hurray! So here\'s a really basic question I can\'t see an answer to in the MySQL manual - when I add another chunk of data to my table, via INSERT, or change data via UPDATE, are the indexes I\'ve created rebuilt automatically? From what I\'ve read, it sounds like they are, but I\'m not sure.

 

If the index updates automatically, then performance-wise, is it faster to DROP and recreate the index when updating rather than let it update automatically? Table has around 200K records in it, if that matters.

 

thanks,

Holly

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.