第一步:在 /u01/admin/bbk下面创建文件夹wallet---我的是Linux机器,bbk是我的实例名
第二步:在 /u01/oracle/network/admin下面有个sqlnet.ora文件;修改此文件添加如下内容:
ENCRYPTION_WALLET_LOCATION=(SOURCE=(METHOD=FILE)
(METHOD_DATA=(DIRCTORY=/u01/admin/bbk/wallet)))
第三步:alter system set encryption key authenticated by "mypassword";
alter system set wallet close;
alter system set wallet open identified by "mypassword";
第四步:create tablespace securespace datafile '/u01/oradata/bbk/secure01.dbf' size 100M encryption using 'AES256' default storage(encrypt);
第五步:查询 dba_tablespaces数据视图
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25533574/viewspace-690213/,如需转载,请注明出处,否则将追究法律责任。