Hello,

I'm not really sure that we want need to have a setting for how
frequently to reset the snapshot.  For testing I agree that it's okay to
make it very frequent, but otherwise I think we'd rather the user not
have to be concerned with a setting for this.  Just make it happen on a
regular enough basis, so that the user can forget it.

100ms sounds a bit too frequent for my taste.  But why do we need to
measure it in wall-clock time?  In the REPACK proposed patches, Antonin
does it every 1024 pages (the value to be tuned, per the XXX comment in
the patch).  I think a page-measured operation is good enough, and maybe
something like once every 128 MB (so every 16k pages?)

Thanks

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"We have labored long to build a heaven, only            (Prof. Milton Glass)
 to find it populated with horrors"                    (Watchmen, Alan Moore)


Reply via email to