Upgrade encrypted databases to 26ai

 

Oracle AI Database 26ai has been made available to all customers (on-prem or any cloud). With this, the "upgrade" question will come sooner rather than later.

Upgrading to Oracle AI Database 26ai is only possible from 19c and 21c, older releases cannot be directly upgraded to 26ai.

If your 19c or 21c databases are encrypted, and TDE is set up with the old (desupported) sqlnet.ora parameters (ENCRYPTION_WALLET_LOCATION), upgrades will be blocked and pre-upgrade checks will fail with 'TDE_WALLET_ROOT_NOT_IN_USE'. You need to have WALLET_ROOT and TDE_CONFIGURATION set before the upgrade.

Also, the GOST and ARIA encryption algorithms are desupported in 26ai; before upgrading, online-rekey those tablespaces to AES with XTS cipher mode; for upgrades via database links to 26ai CDBs, we have introduced the "rekey using" parameter:

SQL> create pluggable database "FINANCE" from FINANCE@dblink rekey using 'AES256' MODE 'XTS'; 

If the source-PDB is already encrypted with the desired algorithm (for example a local or remote clone of a 26ai PDB that is already encrypted with AES256 in XTS cipher mode), consider using the "NO REKEY" clause. This clause avoids rotating the data encryption keys, which means that incoming tablespaces are not decrypted and re-encrypted with new keys. Turning that off will save some time, especially for bigger PDBs.


Comments

Popular posts from this blog

Copy TDE wallets out of and into ASM with kscopy