Encrypting a Database
Encrypts the database using the specified encryption plugin
ALTER {DATABASE | SCHEMA} ENCRYPT WITH plugin_name [KEY key_name]
Parameter | Description |
---|---|
plugin_name |
The name of the encryption plugin |
key_name |
The name of the encryption key |
Encryption starts immediately after this statement completes, and will be performed in the background.Normal operations of the database are not disturbed during encryption.
The optional KEY
clause specifies the name of the key for the encryption plugin.The plugin decides what to do with this key name.
Note
|
The encryption process can be monitored using the For example, the following query will display the progress of the encryption process as a percentage.
|
Note
|
|