Problem solve Get help with specific problems with your technologies, process and projects.

Speed up data transport between primary and standby database

Speed up data transport between primary and standby databases in a DataGuard environment.

In order to speed up the data transport or log shipping rates between primary and standby databases in a DataGuard environment, set the Oracle network services session data unit (SDU) to its maximum setting of 32K on both the primary and secondary databases. This can result a 5% gain in throughput over the default setting of 2K for LGWR ASYNC transport services and a 10% gain for the LGWR SYNC transport service.

When using the SDU setting, dynamic instance registration (SERVICE_NAMES) cannot be used prior to release 9.2.0.4. as it overrides any SDU setting to be the default SDU of 2K.

The SDU parameter needs to be set in listener.ora and tnsnames.ora on the primary and the standby databases.

Primary listener with static registration
-----------------------------------------
LISTENER =
(DESCRIPTION_LIST =
 (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = prim_host)(PORT = 1521)))
) 

SID_LISTENER =
(SID_LIST =
 (SID_DESC = (SDU=32767) SID_NAME = prim_instance) ) 
)


Primary tnsnames.ora
--------------------
primDB =
( DESCRIPTION =
 (SDU = 32767)
 (ADDRESS_LIST = (ADDRESS = (PROTOCOL = tcp)(PORT = 1521)(HOST = prim_host))
 (CONNECT_DATA = (SID = prim_inst) ) 
 )

The same is required on the standby.

For More Information

  • Feedback: E-mail the editor with your thoughts about this tip.
  • More tips: Hundreds of free Oracle tips and scripts.
  • Tip contest: Have an Oracle tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize -- submit your tip today!
  • Ask the Experts: Our applications, SQL, database administration, and data warehousing gurus are waiting to answer your toughest questions.
  • Forums: Ask your technical Oracle questions--or help out your peers by answering them--in our active forums.
  • Best Web Links: Oracle tips, tutorials, and scripts from around the Web.

Dig Deeper on Oracle database export, import and migration

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close