Oracle service - connection slow - Container RAC database
database: 19.2 - container database / 5 nodes RAC
Service configured: on 4 nodes, no failover.
Syntax used to create the service:
srvctl add service -service pdprod_pdb -db pdprodc_phxpdprod -pdb PDPROD -preferred pdprodc1,pdprodc2,pdprodc3,pdprodc4 -notification TRUE -failovertype SELECT -failovermethod BASIC -failoverretry 180 -failoverdelay 5
Issue: in our new 19.2 RAC database, we realized that connection using newly created service name(pdprod_pdb) is lot slower - takes around 12 seconds compared to default service that Oracle creates for the RAC database pdprod. Default service connects in 2 seconds or less.
Note: we use the scan address for the host for both.
How can we fix this issue?