Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Buffering and Table Encryption.
Thu, May 17 2018 8:34 PMPermanent Link

Steve Gill

Avatar

Hi Tim,

Back in the Dark Ages before ye holy buffering was introduced in 2.28 Smile using a stored procedure to iterate through rows of an encrypted table with a lot of columns and rows could be really slow.  Removing the encryption sped things up.

Is there a performance improvement when using buffering with encrypted tables in the above scenario?

= Steve
Fri, May 18 2018 3:50 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< Is there a performance improvement when using buffering with encrypted tables in the above scenario?  >>

Unfortunately, no - the encryption works at the row/page/block level, so isn't affected by the file I/O buffering and behaves exactly the same.

This is another area where the single-file format will be better because it can perform encryption at the lower database block level, thus optimizing how often the decryption/encryption needs to occur on reads/writes.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, May 18 2018 6:10 PMPermanent Link

Steve Gill

Avatar

<<  This is another area where the single-file format will be better because it can perform encryption at the lower database block level, thus optimizing how often the decryption/encryption needs to occur on reads/writes. >>

Thanks Tim.

= Steve
Image