常用Oracle Database Server 文件位置
1、trace文件
SQL> show parameter user_dump_dest NAME TYPE VALUE ------------------------------------ ----------- ---------------------------------------------------------------------------------------- user_dump_dest string /RealData/diag/rdbms/datacenter/DATACENTER/trace
2、database file
SQL> select name from v$dbfile; NAME -------------------------------------------------------------------------------- /RealData/oradata/DATACENTER/users01.dbf /RealData/oradata/DATACENTER/undotbs01.dbf /RealData/oradata/DATACENTER/sysaux01.dbf /RealData/oradata/DATACENTER/system01.dbf /RealData/oradata/DATACENTER/example01.dbf /RealData/oradata/DATACENTER/TAB_U2_01.dbf /RealData/oradata/DATACENTER/tab_u3_01.dbf /RealData/oradata/DATACENTER/ts0_01.dbf /RealData/oradata/DATACENTER/ts1_01.dbf /RealData/oradata/DATACENTER/ts2_01.dbf /RealData/oradata/DATACENTER/ts3_01.dbf /RealData/oradata/DATACENTER/ts4_01.dbf 12 rows selected.
3、查看表所在表空间
SQL> select segment_name,tablespace_name from user_segments; SEGMENT_NAME TABLESPACE_NAME --------------------------------------------------------------------------------- ------------------------------ BIN$pfwr1Jtji5zgQPrc4kAI7Q==$0 USERS COILS_ASSETS_DEPRECIATION USERS COILS_CODE_ASSESS USERS COILS_COMPANY_LICENSE USERS COILS_EMP USERS COILS_LOG_ASSESS USERS COILS_STORES USERS COMPANY_ANNOUNCEMENT USERS CRM_CUSTOMER USERS FGPS_EMPLOYEE USERS FGPS_FINANCEUNIT USERS SEGMENT_NAME TABLESPACE_NAME --------------------------------------------------------------------------------- ------------------------------ FGPS_GROUP USERS FGPS_GROUP_VS_MENU USERS FGPS_MENU USERS FGPS_MYRECEIVER USERS FGPS_PEOPLE USERS FGPS_SYSTEMUSER USERS FGPS_USER USERS FGPS_USERGRANTACCOUNT USERS FGPS_VOUCHER USERS FRX_DEV_SUGGEST USERS FRX_OA_ATTENDANCE USERS SEGMENT_NAME TABLESPACE_NAME --------------------------------------------------------------------------------- ------------------------------ FRX_OA_DICT USERS FRX_OA_LOG_TEMPLATE USERS FRX_OA_WORKLOG USERS NETSTORE_INCOMEEXPENDITURELIST USERS SYSTEM_GROUP USERS SYSTEM_MENU USERS SYS_CATEGORY USERS SYS_GROUP_MENU_CORRESPONDENCE USERS BIN$pfwr1Jtii5zgQPrc4kAI7Q==$0 USERS WAITTINGHANDLER USERS WAITTING_HANDLER_DETAIL USERS SEGMENT_NAME TABLESPACE_NAME --------------------------------------------------------------------------------- ------------------------------ EMP USERS SYS_FBA_DDL_COLMAP_80489 FBDA_TBS SYS_FBA_TCRV_80489 FBDA_TBS SYS_FBA_HIST_80489 FBDA_TBS PK_SYS_ASSET_NO USERS PK_CID USERS CL_ID_PK USERS CL_NAME_UK USERS PK_EID USERS PK_LID USERS STORE_ID_PK USERS SEGMENT_NAME TABLESPACE_NAME --------------------------------------------------------------------------------- ------------------------------ SYS_C0011065 USERS CRM_CID_PK USERS ID_PK USERS PK_FGPS_FINANCEUNIT USERS PK_FGPS_GROUPID USERS PK_FGPS_MENUID USERS PK_ID USERS PK_FGPS_SYSTEMUSER USERS PK_FGPS_USERID USERS PK_FGPS_USERGRANTACCOUNT USERS PK_FGPS_VOUCHER USERS SEGMENT_NAME TABLESPACE_NAME --------------------------------------------------------------------------------- ------------------------------ PK_ID_FRX_DEV_SUGGEST USERS PK_ATTENDANCE_ID USERS DICT_ID USERS PK_LOG_CATEGORY_TEMPLATE_ID USERS WORKLOG_PK_WID USERS PK_NETSTORE_INCOMEEXPENDITUREL USERS PK_GROUPID USERS PK_MENUID USERS CATEGORY_PK_CID USERS CATEGORY_UC_KEY USERS SYS_C0011146 USERS SEGMENT_NAME TABLESPACE_NAME --------------------------------------------------------------------------------- ------------------------------ SYS_C0011152 USERS SYS_FBA_TCRV_IDX_80489 FBDA_TBS 68 rows selected.