DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: Export Question

  1. #1
    Join Date
    Jul 2002
    Posts
    205

    Question Export Question

    I have one database full export dump file.

    Question
    =======

    1. Can I know what are the schemas inside that export file...?

    2. Can I know if one particular object is present inside the file..?

    3. Can I know if the unix file itself is corrupted or not without starting the import..?

  2. #2
    Join Date
    May 2005
    Location
    Toronto Canada
    Posts
    57
    You can use basic unix commands.

    1. strings exp.dmp |grep -i 'CREATE USER'
    2. strings exp.dmp |grep -i ''
    3. Probably not, since the dump file is in an Oracle proprietary format.

    TTFN
    John

  3. #3
    Join Date
    Jan 2001
    Posts
    3,134
    Log=/you/should/use/a/parfile/and/spool/an/export/log
    I remember when this place was cool.

  4. #4
    Join Date
    Feb 2003
    Location
    Leeds, UK
    Posts
    367
    IMHO you can answer all three questions (platform independantly) with show=y full=y and log=whatever

  5. #5
    Join Date
    Aug 2001
    Location
    chennai,bangalore
    Posts
    840
    Hi,
    You also import into only the create statements into a file using the indexfile parameter of import. From this file u will know all the users going to be created and all the database objects. This might also help to know if the export dump is fine or not, but i am not sure of this.


    regards
    anandkl
    anandkl

  6. #6
    Join Date
    May 2005
    Location
    Toronto Canada
    Posts
    57
    The original poster did say "without starting the import" in question 3, I took that to apply to all three questions.

    Of course, Mr. Hanky's response is certainly the best for questions 1 and 2, although I;m surprised he didn't phrase it as RTFL (Read the Fine Log) :-)

    John

  7. #7
    Join Date
    Feb 2003
    Location
    Leeds, UK
    Posts
    367
    Fair point. I interpreted "without starting the import" as meaning without the import doing anything to my db, not without using the imp binary.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width