Jump to content

Overhead


The Little Guy

Recommended Posts

As you update and delete rows in your database, it builds up overhead.

 

Think of it like using a car. You can use it for so long, then it needs servicing. That's what optimizing is. Overhead is the build up of...well, rubbish, I suppose.

 

That's how I always think of it :/

Link to comment
https://forums.phpfreaks.com/topic/103027-overhead/#findComment-527724
Share on other sites

When information is deleted or updated with data using smaller amount of storage, this leaves gaps in the table. The database storage engine maintains a table of the empty gaps and attempts to reuse them when new information is added. The "overhead" of finding an unused space of the necessary size and using it takes extra time. By optimizing the table (defragmenting it), the unused gaps are removed, so the storage engine does not spend the extra time trying to fill them with new data. Also, the more entries there are in the table of the empty gaps, the longer it can take to scan that table to find an appropriate entry to reuse.

Link to comment
https://forums.phpfreaks.com/topic/103027-overhead/#findComment-527736
Share on other sites

Archived

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

×
×
  • Create New...

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.