No - nothing will truncate it automatically - because it can't be
truncated while the DB is running. Would be fairly easy to do with
scripts.
However:
1) 200k is tiny and should not be worried about - it probably jumps
because you have a large transaction operation running on certain nights
and not others.
2) There is some science performance wise to never truncate the BI
files unless they accidentally get very large (maybe 100MB+, maybe more
depending on the horsepower and size of your server), otherwise each
time the Progress server needs a new BI block it has to allocate it from
the file server, this can be slow down as no transaction for anyone can
continue until the new block is built.
Thank you,
Justin C. Muller
President, Managing Partner
Velocity Development Group, LLC
jmuller@... <mailto:jmuller@...>
www.velocitydev.com <http://www.velocitydev.com>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of drew.pete
Sent: Tuesday, September 08, 2009 3:08 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: The B1 File
Is it possible to have truncation run automatically if it reaches a
certain size??
--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
wayne <wmc20@...> wrote:
truncated while the DB is running. Would be fairly easy to do with
scripts.
However:
1) 200k is tiny and should not be worried about - it probably jumps
because you have a large transaction operation running on certain nights
and not others.
2) There is some science performance wise to never truncate the BI
files unless they accidentally get very large (maybe 100MB+, maybe more
depending on the horsepower and size of your server), otherwise each
time the Progress server needs a new BI block it has to allocate it from
the file server, this can be slow down as no transaction for anyone can
continue until the new block is built.
Thank you,
Justin C. Muller
President, Managing Partner
Velocity Development Group, LLC
jmuller@... <mailto:jmuller@...>
www.velocitydev.com <http://www.velocitydev.com>
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of drew.pete
Sent: Tuesday, September 08, 2009 3:08 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: The B1 File
Is it possible to have truncation run automatically if it reaches a
certain size??
--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
wayne <wmc20@...> wrote:
>in
> Matt Caldwell wrote:
> > What is the B1 file, and what can cause it to jump from 23K to 201K
> > size overnight? Been monitoring it for a few months, and it has10x
> > remained the same size for about 2 months, and then it grows almost
> > in 1 night. Curious.doing
>
> As others mentioned, it is used to restore records to their original
> state if a transaction is canceled. Once a record lock is released and
> the record updated, the BI space is flagged as reusable. Normally only
> a few records are locked at any time, and it keeps reusing freed space
> and it never grows much.
>
> If you have a poorly written program looping through many records
> updates, it may leave them ALL locked till the entire processfinishes.
> This can make the file grow.[Non-text portions of this message have been removed]
>
> 200K is TINY though. Often it's several megs. Unless you're backing up
> to floppy disks or something don't worry about it.
>
> -Wayne
>