How to determine the Schemas inside an Oracle Data Pump Export file

后端 未结 8 506
梦谈多话
梦谈多话 2021-01-30 13:28
  • I have an Oracle database backup file (.dmp) that was created with expdp.
  • The .dmp file was an export of an entire database.
  • I need to resto
8条回答
  •  青春惊慌失措
    2021-01-30 13:58

    impdp exports the DDL of a dmp backup to a file if you use the SQLFILE parameter. For example, put this into a text file

    impdp '/ as sysdba' dumpfile= logfile=import_log.txt sqlfile=ddl_dump.txt
    

    Then check ddl_dump.txt for the tablespaces, users, and schemas in the backup.

    According to the documentation, this does not actually modify the database:

    The SQL is not actually executed, and the target system remains unchanged.

提交回复
热议问题