VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Examples of Using the Command Line Interface Prerelease 8 September 2005, 8:55am
488 VERITAS Storage Foundation for Oracle Administrator’s Guide
Mapping Tablespaces to Disks Using dbed_analyzer
The dbed_analyzer command provides tablespace-to-physical disk mapping information for
all the datafiles in a specified database. In addition, dbed_analyzer provides information
about the percentage of disk space being used by a tablespace.
Because the dbed_analyzer command output can be long, it is written to a file for easier
viewing. The file name is dbed_analyzer_$ORACLE_SID.log and it is located /tmp.
Prerequisites
◆ You must log in as the database administrator (typically, the user ID oracle).
Usage Notes
◆ The -o sort=tbs option provides the layout of the specified tablespaces on the physical
disk as well as the percentage of disk space they are using.
◆ The -o sort=disk option provides the name of the disks containing the specified
tablespaces as well as the percentage of disk space the tablespaces are using.
◆ The -f filename option specifies the name of a file containing a list of the tablespaces for
which to obtain mapping information.
◆ The -t tablespace option specifies the name of a tablespace for which to obtain mapping
information.
◆ For more information, see the dbed_analyzer(1M) online manual page.
▼ To obtain storage mapping information sorted by tablespace
Use the dbed_analyzer command with the -f filename and -o sort=tbs options:
$ /opt/VRTSdbed/bin/dbed_analyzer -S $ORACLE_SID -H $ORACLE_HOME
-o sort=tbs -f filename
Output similar to the following is displayed in the file filename:
TBSNAME DATAFILE DEVICE
SIZE(sectors)
SYSTEM /usr1/oracle/rw/DATA/PROD.dbf c3t21000020379DBD5Fd0 819216
TEMP /usr1/oracle/rw/DATA/temp_20000 c3t21000020379DBD5Fd0 1021968
TEMP /usr1/oracle/rw/DATA/temp_20001 c3t21000020379DBD5Fd0 2048016
SYSAUX /usr1/oracle/rw/DATA/sysaux.dbf c3t21000020379DBD5Fd0 819216
ITEM /usr1/oracle/rw/DATA/item_1000 c3t21000020379DBD5Fd0 1021968
ITM_IDX /usr1/oracle/rw/DATA/itm_idx_2000 c3t21000020379DBD5Fd0 1021968
PRODID_IDX /usr1/oracle/rw/DATA/prodid_idx_3000 c3t21000020379DBD5Fd0 1021968
QTY_IDX /usr1/oracle/rw/DATA/qty_idx_7000 c3t21000020379DBD5Fd0 1021968
ROLL_1 /usr1/oracle/rw/DATA/roll_1_5000 c3t21000020379DBD5Fd0 1021968
ROLL_2 /usr1/oracle/rw/DATA/roll_2_6000 c3t21000020379DBD5Fd0 1021968
ORDERS /usr1/oracle/rw/DATA/orders_4000 c3t21000020379DBD5Fd0 1021968
ORD_IDX /usr1/oracle/rw/DATA/ord_idx_10000 c3t21000020379DBD5Fd0 1021968