You were brought to this page based on an internet search
and as a free service to Oracle DBAs.
The text below is an except from the book,
Oracle Performance Firefighting, written by
Craig Shallahamer of
OraPub, Inc.
Figures and tables are not included on this page, only their reference.
To order the book in either print or PDF form, click
here.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut of respect for those involved in the creation of the book and also for
their familes, we ask you to respect the copyright both in intent and deed. Thank you.
-------------------------------
Oracle Database 10g Release 2 introduced the commit write facility, which gives the appearance a commit has completed when it really hasn't. If commit times are taking too long (log file sync will be the top wait event) and the application can survive the possibility of lost data5 in an unfortunate instance failure, then technically, one of the commit write options may provide the extra performance boost you need. But please, ensure your application and the business can tolerate the potential loss of committed data. As I tell people, slower performance is better than no performance.
The trusted standard commit command is the same as commit write immediate, wait, but there are three other alternatives. Each can be put into effect in any of the following ways:
The following snippet shows the various ways to interactively use and set the commit_write options to an immediate and nowait setting.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut of respect for those involved in the creation of the book and also for
their familes, we ask you to respect the copyright both in intent and deed. Thank you.
|