Hoppa till innehåll

Set in sqlnet.ora for high-latency networks:

PRODDB = (DESCRIPTION = (ADDRESS_LIST = (LOAD_BALANCE = ON) (ADDRESS = (PROTOCOL = TCP)(HOST = primary-host)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = standby-host)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = prodservice) (RETRY_COUNT = 3) (RETRY_DELAY = 5) ) ) For performance troubleshooting:

[3] Oracle Linux Team. (2024). Oracle Instant Client Installation Guide for Linux x86-64 . Oracle Help Center.

# Extract client libraries unzip instantclient-basic-linux.x64-21.13.0.0.0dbru.zip -d /opt/oracle echo "/opt/oracle/instantclient_21_13" > /etc/ld.so.conf.d/oracle.conf ldconfig Set environment variables export ORACLE_HOME=/opt/oracle/instantclient_21_13 export TNS_ADMIN=/etc/oracle export LD_LIBRARY_PATH=$ORACLE_HOME:$LD_LIBRARY_PATH

Sample entry with advanced parameters: