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

后端 未结 8 424
梦谈多话
梦谈多话 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:59

    Assuming that you do not have the log file from the expdp job that generated the file in the first place, the easiest option would probably be to use the SQLFILE parameter to have impdp generate a file of DDL (based on a full import). Then you can grab the schema names from that file. Not ideal, of course, since impdp has to read the entire dump file to extract the DDL and then again to get to the schema you're interested in, and you have to do a bit of text file searching for the various CREATE USER statements, but it should be doable.

    0 讨论(0)
  • 2021-01-30 14:07

    If you open the DMP file with an editor that can handle big files, you might be able to locate the areas where the schema names are mentioned. Just be sure not to change anything. It would be better if you opened a copy of the original dump.

    0 讨论(0)
提交回复
热议问题