Several reasons for slow database access
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