Subject | Re: [firebird-support] Effect of DefaultDbCachePages? |
---|---|
Author | Ivan Prenosil |
Post date | 2009-01-21T15:02:24Z |
Hi Alexandre,
than to let anybody fiddle with it (note that using of isc_dpb_num_buffers
is not restricted to admin/owner only).
Ivan
> I though that the connection parameter would override the database pageI think it is safer to use value set by administrator (gfix),
> cache, In my mind the precedence would be:
>
> 1) if you specified cache size during connection, that value is used. Period
than to let anybody fiddle with it (note that using of isc_dpb_num_buffers
is not restricted to admin/owner only).
> otherwiseYou can verify it yourself, it is just one minute test :)
> 2) if the database has specified cache size (e.g. using gfix), then that
> value is used
> otherwise
> 3) DefaultDbCachePages is used.
>
> In fact it doesn't matter in practice for me I never use connection
> specific buffer size, just the database specified one. But I think the
> order I said would make more sense (at least on my narrow point of
> view), since if I want for some reason and for a special case a distinct
> buffer size I could supply it just for that connection, overriding the
> database default.
Ivan