On 04/03/12 12:49, Dimitry Sibiryakov wrote:
> 03.04.2012 10:44, Vlad Khorsun wrote:
>> To not read whole database searching
>> for the not encrypted pages after restart i offer to store last encrypted 
>> page number
>> at header page (also, obviously, we need to store encription state on the 
>> header
>> such as "clear", "encrypted", "encryption is in progress", "decryption is in 
>> progress").
>    Do you suggest to write header page after writing of every single 
> encrypted page, thus 
> doubling I/O?..

This may be done once per N pages (with N = 1024 for example).
To continue with encryption engine searches inside that N pages for not
encrypted yet.


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to