ITPub博客

首页 > 数据库 > Oracle > Oracle 10g 将ASM内容拷贝至文件系统

Oracle 10g 将ASM内容拷贝至文件系统

原创 Oracle 作者:sundog315 时间:2013-08-15 09:10:07 0 删除 编辑

SQL> create or replace directory ARCHDIR as '+dgarch/wms/archivelog/2008_02_29';

Directory created.

SQL> create or replace directory TEMPDIR as '/exp/tmparch';

Directory created.

SQL> exec DBMS_FILE_TRANSFER.COPY_FILE('ARCHDIR','thread_1_seq_5331.291.647960215','TEMPDIR','1_5331_620945476.arc');

PL/SQL procedure successfully completed.

SQL> exec DBMS_FILE_TRANSFER.COPY_FILE('ARCHDIR','thread_1_seq_5330.304.647958993','TEMPDIR','1_5330_620945476.arc');

PL/SQL procedure successfully completed.

转载:http://c20031776.blog.163.com/blog/static/684716252011892451601/

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/19423/viewspace-1060848/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-01-05

  • 博文量
    126
  • 访问量
    502746