Get the App
SLTechnology News&Howtos  ›  Servers  › 

Several reasons for slow database access

Shulou Source: shulou.com Published: 2022-06-03 04:15:20 09月22日 Update

Slow database access

When testing the conn connection to the login database first, if the speed is very fast and the connection is slow using the client or tool, you can check the following points

1. The monitoring log is too large

Listener.org is usually located in the path: $ORACLE_HOME\ diag\ tnslsnr\ machine name\ listener\ trace

(Listener Log File) in lsnrctl status

/ oracle/oracle/diag/tnslsnr/master/listener

Monitoring logs:

/ oracle/oracle/diag/tnslsnr/master/listener/trace/listener.log

Connection log:

/ oracle/oracle/diag/tnslsnr/master/listener/alert/log.xml

two。 Check the configuration, firewall and network conditions in the DNS configuration nameserver.

3. Update statistics, optimize table structure and SQL statements

If the PLsql connection is slow to check the network

If the query business table is slow

When there is a problem, you can guide the AWR report for analysis.

1. Large amount of data, resulting in invalid execution plan

two。 Full table scan

3. Invalid index

Tags: Data logs checks databases networks monitoring configuration business information customers clients tools fast situation reports machines indexes structures statements paths Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Docker Apple Huawei Xiaomi