Subject | Re: [ib-support] When do FB/IB 'flush' to disk? |
---|---|
Author | lester@lsces.co.uk |
Post date | 2001-11-29T19:31:42Z |
> >From previous discussion I have impression that people think that with forced writes onI leave that to someone else to confirm or deny?
> inserting 10 rows into table (in one transaction) will generate 10+ i/o operations, which imho is not true.
> When inserting large amount of data, they must be finally physicallyPerhaps in *nix, but in Windows it has been proven that the
> written to file anyway, so the main difference between forced writes on
> and off is that with forced writes off the OS is free to change order
> of physical writes, thus (potentially) minimizing disk rattling.
PHYSICAL write to disk of large quantities of data does not
happen until windows actually gets round to it - by being
told.
> Thread for writing pages to disk when server is idle could be handy,The discussion here is how to get windows to ACTUALLY write
> but such thread would not be probably activated when importing large amout
> of data anyway.
to disk rather than holding the information in it's own disk
cache until something else forces it to disk ( or not if the
power fails ) even after the information has been commited.
In my own case, we had instances of Windows crashing because
of a sound card fault, and all tickets issued, processed and
commited in the previous hours ( up to 4 ) where lost when
the machine was restarted. We now close the connection and
re-open it every 10 mins or so and only lose that window,
but having now replaced the problem sound cards, the system
is stable again anyway. A thread may be writing the pages,
but is windows taking any notice?
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services