Use of encrypted tablespace under Oracle 11 GB

Source: Internet
Author: User

Use of encrypted tablespace under Oracle 11 GB

Oracle Undo image data exploration

Oracle ROLLBACK and Undo)

The Undo tablespace cannot be opened because it is damaged.

How to handle Undo tablespace failures

Oracle Undo tablespace reconstruction and restoration

1. Create a directory

[Oracle @ db1 ~] $ ~ $ Mkdir-p/u01/app/oracle/admin/orcl/wallet

2. Modify sqlnet. ora

[Oracle @ db1 ~] $ ~ $ Cd/u01/app/oracle/product/11.1.0/db_1/network/admin/

[Oracle @ db1 ~] $ Admin $ ls
Afiedt. buf samples sqlnet. ora tnsnames. ora
Listener. ora shrept. lst sqlnet. ora. bk2

[Oracle @ db1 ~] Vim sqlnet. ora

ENCRYPTION_WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY =/u01/app/oracle/admin/orcl/wallet )))

3. Create an encryption key

SQL> alter system set encryption key identified by "welcome ";

System altered.

 

4. Create an encrypted tablespace

SQL> CREATE TABLESPACE encts
2 DATAFILE '$ ORACLE_HOME/dbs/encts. dat' SIZE 10 M
3 ENCRYPTION
4 default storage (ENCRYPT );

Tablespace created.


5. Check whether the creation is successful.

SQL> select TABLESPACE_NAME, ENCRYPTED from dba_tablespaces
2 where tablespace_name = 'encts'

TABLESPACE_NAME ENC

------------------------------------------

ENCTS YES

 

6. Delete encrypted tablespace

SQL> drop tablespace encts including contents and datafiles;

Tablespace dropped.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.