Get the App
SLTechnology News&Howtos  ›  Database  › 

Hot block contention caused by frequently changing table invalid indexes

Shulou Source: shulou.com Published: 2022-06-01 10:12:58 10月02日 Update

There is an alarm of ultra-high number of session connections in the customer number management system, which causes database performance problems and affects the business processing of the whole network. The alarm occurred between 20:00 and 21:00 on November 7. Check the buffer busy waits with the highest waiting time at that time.

Query the sql corresponding to the waiting event

Select sql_id, count (*)

From v$active_session_history

Where sample_time > =

To_date ('2016-11-07 20-00 to_date,' yyyy-mm-dd hh34:mi:ss')

And sample_time =

To_date ('2016-11-07 20-00 to_date,' yyyy-mm-dd hh34:mi:ss')

And sample_time =

To_date ('2016-11-07 20-00 to_date,' yyyy-mm-dd hh34:mi:ss')

And sample_time

Tags: Index data information hot spot frequent change event time or query statistics highest counterproductive business business processing network-wide only number actually actually Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn MariaDB Shulou Information Huawei MySQL