//创建目录 create Or Replace directory dpdata1 as 'd:\test\dump'; //赋予读写权限 grant read,write on directory dpdata1 to sisau,sisad,siscom,sisin; //开始导出 expdp sisau/sisau@orcl schemas=sisau directory=dpdata1 dumpfile=sisau.dmp logfile=sisau.log expdp sisad/s…
1.创建审计策略 SQL> alter session set container=pdb1; SQL> create or replace directory dumpdir as '/u12/app/dumpdir'; SQL> grant read,write on directory dumpdir to scott; SQL> create audit policy dp_01 actions component=datapump export; 2.开启审计策略 SQL…