PC Review


Reply
Thread Tools Rate Thread

CompactDatabase needs a Flush ?

 
 
Peter
Guest
Posts: n/a
 
      4th Dec 2008
Hey,

I am using the CompactDatabase method of the DBEngine on every system startup.
The system is running on XPe and so I can not be sure that a proper system
shutdown will always be done. Sometimes the system will be shut off by a
simple switch off of the PC.
So to be sure that the new created database is not still in some file-buffer
and not already written to the harddrive, do I need a Flush of the compacted
and new created database to be sure that it really reaches the harddrive ?
Does the CompactDatabase method already write through the File Buffer ?
Or do I have to open the file again with the flags FILE_FLAG_WRITE_THROUGH ?
Or do I have to run the FlushFileBuffers method ?

By the way the buffering of the harddisk itself is already disabled.
All I have to take care about is the buffering on the software side.

Thank's for any info.
Peter
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DAO COMPACTDATABASE ERRORS =?Utf-8?B?QW50aG9ueQ==?= Microsoft Access 1 13th Oct 2007 03:59 PM
CompactDatabase Ain't Doing @#$% =?Utf-8?B?QkNQ?= Microsoft Access VBA Modules 3 23rd Jul 2007 02:41 PM
To make flush right select text and click flush right, Not so! =?Utf-8?B?YW5vcmVvNHU=?= Microsoft Word Document Management 1 10th Oct 2005 11:56 PM
The CompactDatabase method JonWayn Microsoft Access VBA Modules 1 10th Nov 2003 05:00 AM
Re: DAO CompactDatabase Method M.L. Sco Scofield Microsoft Access 0 30th Oct 2003 08:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:07 AM.