> > Or - create tmp file and load with new content;
> > log "intent to relink table file";
> > relink table file; log "file is relinked".
>
> It seems to me that whole content of the table should be
> logged before relinking or shrinking.
Why not just fsync tmp files?
Vadim