SELECT [owt].[session_id], [owt].[exec_context_id], [owt].[wait_duration_ms], [owt].[wait_type], [owt].[blocking_session_id], [owt].[resource_description], CASE [owt].[wait_type] WHEN N'CXPACKET' THEN RIGHT ([owt].[resource_description], CHARINDEX (N
--查询数据库文件路径.表空间.大小等 select * from dba_data_files ; --EAST.DBF数据库文件自动扩展20M,可无限扩展 alter database datafile 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ISTAML\EAST.DBF' autoextend on next 20m maxsize unlimited; --指定EAST.DBF数据库文件最大值 alter database datafile 'D:\ORAC