Home > Ask the Oracle Database / Applications Experts > Oracle RAC and database clustering Questions & Answers > Performance of DBMS_DEFER_SYS.EXECUTE_ERROR
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Performance of DBMS_DEFER_SYS.EXECUTE_ERROR

Bill Cullen EXPERT RESPONSE FROM: Bill Cullen

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 12 December 2006
I have developed a replication system with master snapshot architecture. The snapshot pushes the change in the master. When a conflict happens, the transaction is saved in the error view at the master site. Afterwards, I resolve the conflict. I want to re-execute the transaction, and I am using DBMS_DEFER_SYS.EXECUTE_ERROR to do this. But it runs very, very slowly. I don't know why. Please, help me and tell me how to improve the performance. Thanks.

>
Usually these types of performance problems are fingered through the same mechanisms that normal performance problems are identified. Monitor the execute_error transaction as you would any other slow processing transaction.

That said, there are a couple of replication-specific areas to look at. I would walk through these, in order.

  1. Be sure you are not running into any locking scenarios related to the normal execution of distributed transactions against your master table. In other words, verify you aren't doing a refresh or a push at the same time you are trying to re-execute the error.
  2. Reorganize the master table.
  3. Apply the transaction manually and delete the error from the queue using the dbms_defer_sys.delete_error package. There is no rule that says your deferred transaction has to be applied through your replication architecture. In fact, unless I have many errors queued (in which I use dynamic SQL to re-execute each one) I usually correct the error, apply the data transaction myself and then do a simple execute behind it for all the queued transactions that haven't fired yet.

I hope this helps.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Oracle RAC and database clustering
Using connection load balancing with Oracle RAC
Configure two listeners without RAC in Oracle
Difference between Oracle RAC and Data Guard
"Failed to request gap sequence" error with switchover
Oracle UDP protocol or Veritas LLT for interconnect traffic?
Can't refresh individual table with replication system
Migrating to Oracle RAC from single-instance database
ORA-01801 error in RAC environment
Impact of changing OCR on RAC database
Switching RAC database to noarchivelog mode

Oracle RAC and database clustering
Can I have a single Oracle 11g RAC instance across multiple databases?
Review: Oracle's 11g R2 database has some good and bad
Scaling an Oracle database: What is the best strategy for you?
Oracle releases new database, says 11g upgrade will cut costs
E-discovery firm swaps out Microsoft SQL for Oracle RAC
Firm dumps MySQL on Red Hat for Oracle Database on Oracle Linux
How to back up archive log files in RAC
eHarmony spurns Microsoft, finds match with Oracle 10g
How to back up RAC database with RMAN
Using connection load balancing with Oracle RAC

Oracle error messages
Why am I receiving Oracle memory allocation errors?
Oracle tutorial library: SearchOracle.com's learning guides
Oracle error 6550 may mean incorrect Oracle export version
Why does the archive log in Oracle give me the ORA-16032 error?
Are we getting the ORA-00382 error because we're at maximum block size?
How do I solve the ORA-00257 error in Oracle?
Solving common Oracle errors guide
Error during RMAN backup
ORA-12560 error with Oracle 10g Instant Client
Unable to view Oracle tables in NetBeans

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Real Application Cluster  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts