Journaling

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Thu Apr 19 13:21:57 CDT 2012


On 4/19/12 5:03 PM, "Fabian Kneubuehl" <support at ysd.ch> wrote:

Hi Fabian,.

> That makes things a bit complicated. If I never call flush at all and the
> user¹s PC crashed at the end of the day he loses all his entries?

May be... Ivan?

You MUST call flushes.

As well as working with transctions you must do
    START TRANSACTION
    COMMIT

And sometimes even write logic for ROLLBACK.


> Personally I would prefer a flush after each UPDATE/INSERT/DELETE as in our
> current version but because simultaneous journaling slows down these operation
> 10 times I should think about disabling journaling ­ except you can minimize
> the overhead for both operations at the same time (flush each change and
> journaling).

We will check yet this timing ....
I am not sure this is right ...
May be something should be improved ...


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina-beta mailing list