1. 程式人生 > 其它 >NUMBER_REQSTRACK內網到外網的同步有延遲。

NUMBER_REQSTRACK內網到外網的同步有延遲。

1.1 問題表象

外網側的NUMBER_REQSTRACK接收到的同步資訊有延遲。大約在半個小時左右。

1.2 處置辦法

  1. 檢查表空間

select*from(

Selecta.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(selecttablespace_name,

sum(bytes) bytes

fromdba_data_files

group bytablespace_name) a,

(selecttablespace_name,

sum(bytes) bytes

fromdba_free_space

group bytablespace_name) b

wherea.tablespace_name = b.tablespace_name

unionall

selectc.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

(selecttablespace_name,sum(bytes) bytes

fromdba_temp_filesgroup bytablespace_name) c,

(selecttablespace_name,sum(bytes_cached) bytes_used

fromv$temp_extent_poolgroup bytablespace_name) d

wherec.tablespace_name = d.tablespace_name

)

Order bytablespace_name

發現USERS和TEMP表空間使用率已滿。

  1. 增加表空間

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. 結論

增加表空間後仍未解決當前問題,跟網閘的工程師溝通初步判斷:

網閘資源上限,導致處理能力不足,下一步廠商的工程師進行優化和排查。