Home > Database > Mysql Tutorial > body text

Oracle internal queries taking more CPU time

WBOY
Release: 2016-06-07 17:03:01
Original
927 people have browsed it

经查,该问题应该为oracle OEMbug,metalink参考文章ID:330383.1

早上,省社保项目组反应,,数据库上有一个系统类的sql,占用资源很大,严重影响数据库性能。具体的sql为:

SELECT COUNT(*) FROM MGMT_METRIC_DEPENDENCY_DETAILS DEP, MGMT_SEVERITY SEV WHERE DEP.TARGET_GUID = :B5 AND DEP.METRIC_GUID = :B4 AND DEP.KEY_VALUE = :B3 AND DEP.EDEP_TARGET_GUID = SEV.TARGET_GUID AND DEP.EDEP_METRIC_GUID = SEV.METRIC_GUID AND DEP.DEP_KEY_VALUE = SEV.KEY_VALUE AND SEV.COLLECTION_TIMESTAMP BETWEEN :B2 AND :B1

经查,该问题应该为Oracle OEMbug,metalink参考文章ID:330383.1

解决办法为:

1. As part of your weekly maintenance jobs for the Oracle Management Repository, run the following

procedure to analyze all of the objects in the SYSMAN schema:

exec dbms_stats.gather_schema_stats('SYSMAN');

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!