Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I migrate the content from clear text application tablespaces to encrypted tablespaces?

0
Posted

How do I migrate the content from clear text application tablespaces to encrypted tablespaces?

0

• Extract the DDL that was used to create the original application tablespaces using ‘dbms_metadata.get_ddl’ and save the output as a SQL script. • Add ‘ENCRYPTION DEFAULT STORAGE(ENCRYPT)’ to each ‘create tablespace’ statement (the SIZE parameter does not need to be changed, since TDE tablespace encryption does not increase storage requirements). • Export either the whole database, or the schema that owns the application tablespaces, with Data Pump (expdp). • Drop the application tablespaces ‘with contents and datafiles’. • Run the SQL script to create encrypted application tablespace with otherwise unchanged characteristics. • Import the dumpfile with Data Pump (impdp).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123