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

Thread: Export OR EXPDP

  1. #1
    Join Date
    Dec 2001
    Posts
    203

    Export OR EXPDP

    Hello,

    two questions ..

    (1) How could I export ONLY the data, no package informations. Is the following command correct?

    nohup exp user/password file=file1.dmp log=file.log owner=owner rows=yes indexes=no &

    (2) How could I export ONLY the metadata like package, procedures (No data)etc?

    Thanks
    Sumit
    sumit

  2. #2
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Cool

    To achieve both, you would need to use datapump.
    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

  3. #3
    Join Date
    Dec 2001
    Posts
    203
    Sure, but how? I am not expert in datapump. An example of both scenarios will be very helpful.
    sumit

  4. #4
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Quote Originally Posted by sumit View Post
    Sure, but how? I am not expert in datapump. An example of both scenarios will be very helpful.
    ...by taking advantage of CONTENT parameter?

    Code:
    CONTENT={ALL | DATA_ONLY | METADATA_ONLY}
    http://docs.oracle.com/cd/B19306_01/.../dp_export.htm
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

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