### What would be the best way to encrypt an existing table using pg_tde?
- That can be done by using the ALTER TABLE command and changing the table's access method to pg_tde_basic. `ALTER TABLE table_name SET access method pg_tde_basic;` This command rewrites the table, so for large tables, it might take a considerable amount of time. Unfortunately, rewriting the table is currently the only available option.
- That can be done by using the ALTER TABLE command and changing the table's access method to tde_heap_basic. `ALTER TABLE table_name SET access method tde_heap_basic;` This command rewrites the table, so for large tables, it might take a considerable amount of time. Unfortunately, rewriting the table is currently the only available option.