ORACLE Directory directory Management steps

Source: Internet
Author: User

ORACLE Directory Directory management steps

Oracle 's directory is a directory path in the database and needs to be mapped to the corresponding directory in the operating system; The role of the Oracle directory is to make ORACLE database and operating system before the file interaction, the most common is the import and export of data pump;

Management steps for DIRECTORY:

1.creation: Create[OR REPLACE] Directory directory as ' pathname ';

For example: CREATE OR REPLACE DIRECTORY DIR as ' F:\expbak ';

2.Empowering:GRANT Read[,write] on the directory directory to username;

For example:Grant read, write on directory Exp_dir to John;

3 . How to query directory

SELECT * from Dba_directories;

4, Delete:drop directory datachk_dump;

5. Export data to the appropriate directory via data pump

The export can be directly associated with directory directly to write dumpfile filename interface,Oracle will be exported to the appropriate directory.

EXPDP \ "/As Sysdba\" Directory=dir_exp dumpfile=party.photo_compare_info_201612.dmp tables=party.photo_compare_info _201612 Logfile=expdp_party.photo_compare_info_201612.log

ORACLE Directory directory Management steps

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.