Subject | Re: [firebird-support] Re: Truncating transaction logs in Firebird in v2.01 - v2.03 |
---|---|
Author | Aage Johansen |
Post date | 2008-04-15T19:55:18Z |
Niben M Singh wrote:
very occasional insert/update/deletes? It sure seems to make size of
the database small and SELECTs faster.
good thing. However, when inserts and updates happens there will
soon be a need for creating new pages (probably for both data and
indexes). This is (relatively) time consuming.
--
Aage J.
>database that is used for read only for the most of the time with
> MyDB.XXX
> --------------
> Data Pages = 23877
> Avg.Fill = 55%
> Pages with 20-39% Fill = 1
> Pages with 40-59% Fill = 23876
>
> MyDB_2.XXX
> --------------
> Data Pages = 14101
> Avg.Fill = 94%
> Pages with 20-39% Fill = 1
> Pages with 79-99% Fill = 14100
>
> This seems like similar to restoring database with -use_all_space option.
>
> Is there any ramification of using this restore option for
very occasional insert/update/deletes? It sure seems to make size of
the database small and SELECTs faster.
>If the database is strictly ReadOnly then use_all_space should be a
good thing. However, when inserts and updates happens there will
soon be a need for creating new pages (probably for both data and
indexes). This is (relatively) time consuming.
--
Aage J.