Subject | Re: [firebird-support] sweep performance |
---|---|
Author | Aage Johansen |
Post date | 2004-01-13T22:26:45Z |
On Tue, 13 Jan 2004 21:07:22 +0000 (UTC), <lnd@...> wrote:
No restart, but backup+restore. Maybe you're thinking of something else?
There's no need to "fix" this. The empty space will (eventually) be used.
Some people think a 'compacted' database is nice so they do a
backup+restore to get rid of 'empty space'. And Firebird will then have to
spend time asking the OS for additional disk space ...
--
Aage J.
> KnowledgeBase Id: 132 of ibphoenix claims that sweep "complete table scan ofThe SWEEP is quite fast if there is no 'garbage' in the database.
> every table in the database"
> Is this true for current versions of FB? How long usually sweep takes say
> for million records database - minutes, hours, days?
> KnowledgeBase Id: 111 lists some interesting cases when databases has to beIs this the max 255 meta data changes on a table ?
> restarted. What limitation limitations have been removed?
No restart, but backup+restore. Maybe you're thinking of something else?
> In particular those (or what workarround other then backup/restore):backup
> * With record deletes the data pages will develop holes. The database will
> have several partially filled pages. The only way to fix this is to do a
> and restore. The backup and restore will effectively defragment the datapages.
There's no need to "fix" this. The empty space will (eventually) be used.
Some people think a 'compacted' database is nice so they do a
backup+restore to get rid of 'empty space'. And Firebird will then have to
spend time asking the OS for additional disk space ...
> * TIP (Table Information Page) growth - We will continually allocatenew TIP pages.
> As the # of transactions grows this increases the memory overhead aseach new
> tranaction needs a larger buffer to store TIP bits. The # of pagesDon't know.
> on disk grows. A gbak/restore is required to restore the number to TIP
> pages to a smaller, more efficient value.
> In general, what is the largest more or less 24h FB database known?I've heard about databases of 200GB, and one close to 1TB (maybe not 24x7).
--
Aage J.