-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PG-1012 Documented set up of the_heap access method #305
Conversation
Added How to decrypt a table
Performance test results: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
documentation/docs/setup.md
Outdated
sudo systemctl restart postgresql-17 | ||
``` | ||
|
||
After you enabled `pg_tde` and started the Percona Server for PostgreSQL, a principal key and a keyring for WAL are created. We highly recommend you to create your own keyring and rotate the principal key. This is because the default principal key is created from the local keyfile and is stored unencrypted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact, right now we set up global keys on the first server start in any case (even when pg_tde.wal_encrypt is off)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reworked
documentation/docs/setup.md
Outdated
SELECT pg_tde_add_key_provider_file('provider-name','/path/to/the/keyring/data.file'); | ||
``` | ||
|
||
2. Rotate the principal key. Don't forget to specify the `PG_TDE_GLOBAL` constant to rotate only the principal key for WAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ALTER SYSTEM set pg_tde.wal_encrypt = on; | ||
``` | ||
|
||
2. Restart the server to apply the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most probably the restart is not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's have @shahidullah79's confirmation on that
51acbc2
to
e8d335f
Compare
b6ecdfe
to
fd98eaf
Compare
Added How to decrypt a table