「Oracle21c」Oracle21.3のディレクトリオブジェクト(DIRECTORY)を確認する

環境
Windows 11 Pro 21H2 64bit
Oracle Database 21c Express Edition Release 21.0.0.0.0 – Production Version 21.3.0.0.0
書式
SELECT * FROM DBA_DIRECTORIES;
「DBA_DIRECTORIES」を使って,ディレクトリの状態を確認します。

使用例

SQL> column OWNER  format a10
SQL> column DIRECTORY_NAME format a20
SQL> column DIRECTORY_PATH format a50
SQL> column ORIGIN_CON_ID format a120
SQL> SELECT * FROM DBA_DIRECTORIES;

実行結果
SQL> SELECT * FROM DBA_DIRECTORIES;

OWNER      DIRECTORY_NAME       DIRECTORY_PATH                                     ORIGIN_CON_ID
---------- -------------------- -------------------------------------------------- -------------
SYS        ORACLECLRDIR         C:\app\user\product\21c\dbhomeXE\bin\clr              ##########
SYS        ARKDIR               c:\dump                                               ##########
SYS        SDO_DIR_ADMIN        C:\app\user\product\21c\dbhomeXE/md/admin             ##########
SYS        XMLDIR               C:\app\user\product\21c\dbhomeXE\rdbms\xml            ##########
SYS        XSDDIR               C:\app\user\product\21c\dbhomeXE\rdbms\xml\schema     ##########
SYS        ORACLE_OCM_CONFIG_DI C:\app\user\product\21c\homes\OraDB21Home1\ccr\sta    ##########
           R2                   te

SYS        ORACLE_OCM_CONFIG_DI C:\app\user\product\21c\homes\OraDB21Home1\ccr\sta    ##########
           R                    te


OWNER      DIRECTORY_NAME       DIRECTORY_PATH                                     ORIGIN_CON_ID
---------- -------------------- -------------------------------------------------- -------------
SYS        ORACLE_BASE          C:\app\user\product\21c                               ##########
SYS        ORACLE_HOME          C:\app\user\product\21c\dbhomeXE                      ##########
SYS        OPATCH_INST_DIR      C:\app\user\product\21c\dbhomeXE\OPatch               ##########
SYS        DATA_PUMP_DIR        C:\app\user\product\21c\admin\xe\dpdump/              ##########
SYS        DBMS_OPTIM_LOGDIR    C:\app\user\product\21c\dbhomeXE/cfgtoollogs          ##########
SYS        DBMS_OPTIM_ADMINDIR  C:\app\user\product\21c\dbhomeXE/rdbms/admin          ##########
SYS        OPATCH_SCRIPT_DIR    C:\app\user\product\21c\dbhomeXE\QOpatch              ##########
SYS        OPATCH_LOG_DIR       C:\app\user\product\21c\homes\OraDB21Home1\rdbms\l    ##########
                                og

SYS        JAVA$JOX$CUJS$DIRECT C:\APP\USER\PRODUCT\21C\DBHOMEXE\JAVAVM\ADMIN\        ##########

OWNER      DIRECTORY_NAME       DIRECTORY_PATH                                     ORIGIN_CON_ID
---------- -------------------- -------------------------------------------------- -------------
           ORY$


16行が選択されました。

カラムについて説明
OWNER 所有者
DIRECTORY_NAME ディレクトリ名
DIRECTORY_PATH ディレクトリのパス

Oracle 12c

Posted by arkgame