GitHub user kongfanshen-0801 added a comment to the discussion: In the 
implementation of TDE, why is encryption performed before compression? What is 
the rationale behind this?

Generally, data should be compressed first and then encrypted when written.
However, when TDE was first designed, it mainly aimed to support heap tables, 
which do not support compression.
AO/AOCS tables were implemented later; to keep the code simple, the same 
codebase was reused, so the order of compression and encryption was not taken 
into account.

GitHub link: 
https://github.com/apache/cloudberry/discussions/1495#discussioncomment-15313940

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to