Bug #10074 | latent database size mesurement | ||
---|---|---|---|
Submitted: | 21 Apr 2005 21:15 | Modified: | 22 Apr 2005 0:45 |
Reporter: | Quartz 12h | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 4.1.10 | OS: | Linux (linux) |
Assigned to: | CPU Architecture: | Any |
[21 Apr 2005 21:15]
Quartz 12h
[22 Apr 2005 0:45]
Heikki Tuuri
Hi! After you delete, InnoDB purges the deleted rows in the background. New inserts do not necessarily grow the table, if there is lots of free page on the B-tree pages. Regards, Heikki
[22 Apr 2005 13:57]
Quartz 12h
Hi, Thanks, but I guess I want this to be turned into a feature. The problem is the unnaccounted space: that thing in background should report the vacant spots somewhere. We cannot monitor our database actual growth and in case of emergencies (db getting full), we may react too late to spawn the purging routines. Figuring how full is a DB and how it grows (delta-size/delta-time) is crutial to our app. Thanks.
[27 Apr 2005 13:34]
Quartz 12h
Where should we look for mesuring that space about to be freed (deletes in progress)? What should we look for to detect that the background delete jobs are finished? Where can we find the space in freed 'B-tree pages'?