Subject | Re: [ib-support] Data Caching by IB |
---|---|
Author | Helen Borrie |
Post date | 2002-08-23T15:01:35Z |
At 10:45 AM 23-08-02 -0400, you wrote:
You have multiply posted this same message in more than one list and have
received replies. Please check back through the archives.
Someone asked *why* you want to "defeat caching" and I'm curious too...
I'm wondering if what you really wanted to ask was "How can I defeat
asynchronous writes?" If yes, and you are on a Windows server platform,
the answer is YES, you can and should defeat it. Use the gfix
tool. Snippet from Using Firebird (applies also to InterBase):
Syntax for enabling and disabling Forced Writes
The command switch is w[rite]{sync | async}
To enable Forced Writes:
gfix -w sync customer.gdb
To disable:
gfix -w async customer.gdb
It's particularly necessary to attend to this with InterBase, which creates
databases with Forced Writes disabled by default. It's not an issue on
Win9x or ME, which don't support async write at all. Firebird enables it
by default.
heLen
>Does anyone know if Interbase supports data caching, wherein data onceJack,
>requested are placed in a cache for re-use in case the same data are
>requested again?
>
>I would like to know if (a) InterBase supports caching, and (b) if yes,
>whether caching can be defeated, and how.
You have multiply posted this same message in more than one list and have
received replies. Please check back through the archives.
Someone asked *why* you want to "defeat caching" and I'm curious too...
I'm wondering if what you really wanted to ask was "How can I defeat
asynchronous writes?" If yes, and you are on a Windows server platform,
the answer is YES, you can and should defeat it. Use the gfix
tool. Snippet from Using Firebird (applies also to InterBase):
Syntax for enabling and disabling Forced Writes
The command switch is w[rite]{sync | async}
To enable Forced Writes:
gfix -w sync customer.gdb
To disable:
gfix -w async customer.gdb
It's particularly necessary to attend to this with InterBase, which creates
databases with Forced Writes disabled by default. It's not an issue on
Win9x or ME, which don't support async write at all. Firebird enables it
by default.
heLen