Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Suggest an Idea

Announcements
This page is no longer in use. To suggest an idea, please visit Browse and Suggest.

Speed the transactional replication to Oracle

Airbus
Contributor III
Contributor III

Speed the transactional replication to Oracle

Hello,

 

As we need to ensure the First in, First out (FIFO) principle on some of our Replicate Flow, we need to use the transactionnal mode (batch optimized mode cannot ensure FIFO principle).

In order to explain the high resource consumption, our project team analyzed the Oracle DB logs and it appears that Replicate uses PL/SQL blocks and hard coded values/literals in order to catch and log exceptions. For Oracle endpoints, this leads to the recalculation of the total execution plan for each transaction according to your analysis. This is called hard parsing, and this is clearly resources consuming.

We identified 4 ways below to "force" soft parsing by Oracle (= sharing of information between transactions to reduce the execution plans calculation time) :

  1. using bind variables in PL/SQL blocks instead of literals 
  2. using literals in local variables in the PL/SQL block
  3. using literals inside dynamic SQL statements
  4. using standalone simple SQL statements with literals or variables 

 

It could be very usefull for Replicate flow with FIFO requirement to implement one of these solutions.

 

Best Regards,

Airbus MAPS team

4 Comments
Shelley_Brennan
Former Employee
Former Employee

Thank you for the suggestion.  We will collect feedback from others on the Oracle Target endpoint and review internally as well.  

Status changed to: Open - Collecting Feedback
LuigiFanuli
Contributor
Contributor

We are from Consorzio Operativo Monte dei Paschi di Siena and we are in the same condition of Airbus MAPS Team.

We need to use the transactional mode (batch optimized mode cannot ensure FIFO principle)  and our analysys to solve the "hard parse" problem is the same.

We  are interested to any solution to force "soft parse" by Oracle as explained by Airbus MAPS Teams.

 

Best regards,

Consorzio MPS DBA Team

Meghann_MacDonald

From now on, please track this idea from the Ideation portal. 

Link to new idea

Meghann

NOTE: Upon clicking this link 2 tabs may open - please feel free to close the one with a login page. If you only see 1 tab with the login page, please try clicking this link first: Authenticate me! then try the link above again. Ensure pop-up blocker is off.

Ideation
Newbie
Newbie
 
Status changed to: Closed - Archived