` Printed Icetips Article

Icetips Article



Par2: Sync physical file with IMDD
2005-03-10 -- Paul Blais
 
>How is the physical file updated from the memory file?
>

The driver does NOTHING for you. I have found with tables that don't
change much can be handled by adding code in the memory table TRIGGERS
inside the DCT. So for an ADD you also add it to the disk copy, change
you fetch and update, and delete you delete. If you have a multi user
situation where the disk copy might change a lot you may not want to
use a memory table. You could if you developed a system to notify
other work stations that the disk copy has been updated or
periodically reloaded it. The problem can be that the overhead of
doing all this may be more than the savings you get. It's up to you to
determine where it works best.



Printed November 21, 2024, 11:34 am
This article has been viewed/printed 35247 times.