Get the App
SLTechnology News&Howtos  ›  Database  › 

How to query the operation of hot spot fast and hot spot block in database

Shulou Source: shulou.com Published: 2022-05-31 14:50:42 10月04日 Update

This article mainly introduces how to query the hot spot fast and hot block operation in the database. The article is very detailed and has certain reference value. Interested friends must read it!

---Query hot block object sql statement:

SELECT *

FROM (SELECT O.OWNER, O.OBJECT_NAME, O.OBJECT_TYPE, SUM(TCH) TOUCHTIME,

FROM X$BH B, DBA_OBJECTS O

WHERE B.OBJ = O.DATA_OBJECT_ID

AND B.TS# > 0

GROUP BY O.OWNER, O.OBJECT_NAME, O.OBJECT_TYPE

ORDER BY SUM(TCH) DESC)

WHERE ROWNUM

Tags: Hot spots queries data databases content articles sentences values interests objects guys partners more knowledge industry information channels channels references help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Apple vpn Linux Docker