2015/08/19开始,应用程序ocs出现大量文件积压。开发人员说是数据库imsi_acct_acm_daily表的更新变慢了导致积压。
update imsi_acct_acm_daily SET VALUE = XXXX WHERE IMSI = A AND RESOURCE_ID = B AND DATE_STAMP = XXXXXXX;
2015/09/02日,大大调整了数据库的SGA/PGA。调整前后的值如下。
调整前:
db_cache_size big integer 1472M
shared_pool_size big integer 1488M
large_pool_size big integer 256M
java_pool_size big integer 128M
streams_pool_size big integer 112M
log_buffer integer 14548992
pga_aggregate_target big integer 2G
调整后:
Alter system set db_cache_size=12G scope=spfile;
Alter system set shared_pool_size=4G scope=spfile;
Alter system set large_pool_size=512M scope=spfile;
Alter system set java_pool_size=150M scope=spfile;
Alter system set streams_pool_size=512M scope=spfile;
Alter system set log_buffer=268435456 scope=spfile;
Alter system set pga_aggregate_target=4G scope=spfile;