1.1 问题表象
外网侧的NUMBER_REQSTRACK接收到的同步信息有延迟。大约在半个小时左右。
1.2 处置办法
- 检查表空间
select * from (
Select a.tablespace_name,
to_char(a.bytes/1024/1024,'99,999.999') total_bytes,
to_char(b.bytes/1024/1024,'99,999.999') free_bytes,
to_char(a.bytes/1024/1024 - b.bytes/1024/1024,'99,999.999') use_bytes,
to_char((1 - b.bytes/a.bytes)*100,'99.99') || '%'use
from (select tablespace_name,
sum(bytes) bytes
from dba_data_files
group by tablespace_name) a,
(select tablespace_name,
sum(bytes) bytes
from dba_free_space
group by tablespace_name) b
where a.tablespace_name = b.tablespace_name
unionall
select c.tablespace_name,
to_char(c.bytes/1024/1024,'99,999.999') total_bytes,
to_char( (c.bytes-d.bytes_used)/1024/1024,'99,999.999') free_bytes,
to_char(d.bytes_used/1024/1024,'99,999.999') use_bytes,
to_char(d.bytes_used*100/c.bytes,'99.99') || '%'use
from
(select tablespace_name,sum(bytes) bytes
from dba_temp_files group by tablespace_name) c,
(select tablespace_name,sum(bytes_cached) bytes_used
from v$temp_extent_pool group by tablespace_name) d
where c.tablespace_name = d.tablespace_name
)
Order by tablespace_name
发现USERS和TEMP表空间使用率已满。
- 增加表空间
a) 查看表空间存储路径
select file#,name from v$tempfile;
b) 增加表空间
ALTER TABLESPACE USERS ADD DATAFILE ‘home/u01/app/oracle/oradata/dxbjdl/users04.dbf’SIZE 1G autoextend on maxsize unlimited;
ALTER TABLESPACE TEMP ADD TEMPFILE ‘home/u01/app/oracle/oradata/dxbjdl/temp03.dbf’SIZE 1G autoextend on maxsize unlimited;
1.3. 结论
增加表空间后仍未解决当前问题,跟网闸的工程师沟通初步判断:
网闸资源上限,导致处理能力不足,下一步厂商的工程师进行优化和排查。