On Sat, Jan 5, 2013 at 5:35 AM, Dimitry Sibiryakov <s...@ibphoenix.com> wrote:

>
>    A dumb question: when touched pages are flushed to disk?
>
> a) after each single version removal
> b) after all versions of a record removal
> c) after all versions of all records on a data page removal
> d) after complete garbage collection for all records in list.
>

There's nothing magic about sweep.  Unlike gstat and gfix, it uses the C
API (not DSQL) to access the database.  It's I/O is just like a normal
application, meaning that pages are written depending on the state of the
cache.  Sweep, like any application, has no control over writes except that
its changes will go to disk when it commits.

Cheers,

Ann
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to