The database engine can use multiple levels of cache. In addition to
the internal L1 database cache (Cache Allocation=#), the system can also
leverage the operating system cache (Use System Cache=Yes). One of
these is holding onto the "old" data for you.
In a Windows environment, the system does NOT always re-read data after
the files have been physically replaced at the OS level, and some level
of reading of the cached data is expected. This is simply beyond the
design of the environment.
The easiest solution is to stop and restart the engine whenever you must
play with files at the OS level. In our data recovery work, where we
often work with the files at the OS level, we run into this all the
time. We simply rename the file to a new name to "clear" the data from
cache.
Goldstar Software Inc.
Pervasive-based Products, Training & Services
Bill Bach
BillBach at (no spam) goldstarsoftware.com
http://www.goldstarsoftware.com
*** Next Pervasive Service & Support Class - Nov 2008 ***
nmm wrote: