Re: Doubt regarding L.Log size
Posted in 1998
Paul Watson wrote:
>
> Art S. Kagel wrote:
>
> > Sadagopan, Sathish wrote:
> > >
> > > Hi,
> > > LOGSIZE in the onconfig is shown as 1000 Kb, whereas size in onstat -l shows
> > >
> > > a figure of 5000 , Page size is 2K.
> > > How can that be ?
> >
> > It looks like someone used onparams to add logfiles with sizes
> > different from that stored in the onconfig. This is possible. The
> > size stored in onconfig is only used when constructing a new engine
> > with oninit -i. However, I had thought that onparams updates the
> > ONCONFIG file?!?! Hmm maybe someone added an explicitely sized log
> > file of 1000K and later dropped it. Anyway no worries.
> >
> > Art S. Kagel
>
> I don't believe the LOGSIZE has ever been updated via the onparams.
The tool is not the point. Someone changed the logsize in the ONCONFIG
file using either onparams, onmonitor, or some editor like vi or emacs.
The point is it matters not unless you want to add more log files. If
you want your new logs to be the same size as the old logs you will
have to change the LOGSIZE back either in the ONCONFIG file directly or
using onmonitor or onparams. Actually, on second thought, since the
current LOGSIZE value is off by one order of magnitude it looks more
like someone accidentally deleted a zero in vi or wiped out the field
in onmonitor by accident and mistyped it trying to put it back the way
it was. Anyway, again, it does not matter. You can have logfiles of
several different sizes and the engine does not really care.
Art S. Kagel