You are on page 1of 1

How to to Calculate TCP Socket Buffer Sizes For Data Guard Physical Standby

Constants: NIC BANDWITH = 10Gb Ethernet ROUND TRIP TIME (RTT) = 3 ms Formula: optimal socket buffer size = (bandwith delay product * 3) bandwith delay product = (nic bandwith * round trip time) optimal socket buffer size = ((10,000,000,000 * .003) * 3) optimal socket buffer size = ((30,000,000) * 3) optimal socket buffer size = 90,000,000 bit 90,000,000 bit / 8 = 11,250,000 bytes Sqlnet.Ora Parameters To Set If Broker Is Used RECV_BUF_SIZE = 11250000 SEND_BUF_SIZE = 11250000 If Broker Is Not Used Set On Listener.Ora LISTENER= (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp) (HOST=<hostname.domain>)(PORT=1521) (RECV_BUF_SIZE = 11250000) (SEND_BUF_SIZE = 11250000))) If Broker Is Not Used Set On Tnsnames.Ora <dbname>= (DESCRIPTION= (RECV_BUF_SIZE = 11250000) (SEND_BUF_SIZE = 11250000) (ADDRESS=(PROTOCOL=tcp) (HOST=<hostname.domain>)(PORT=1521)) (CONNECT_DATA= (SERVICE_NAME=<dbaname>))) (10,000,000,000 bit) (0.003 seconds)

Alejandro Vargas | Principal Support Consultant Oracle Advanced Customer Services

You might also like