I ran multiple tests to compare the performance of various audit level settings in Oracle SOA Suite 11g.
The two parameters tested are:
Results:
Applicable Versions:

The two parameters tested are:
- Audit Level
- Capture Composite Instance State
| Test # |
Audit
|
Capture Composite Instance State
|
Min (ms)
|
Max
(ms)
|
Avg
(ms)
|
1
|
Off
|
n/a
|
27
|
519
|
50
|
2
|
Off
|
n/a
|
27
|
551
|
51
|
3
|
Off
|
n/a
|
27
|
325
|
49
|
4
|
Production
|
Disabled
|
77
|
825
|
128
|
5
|
Production
|
Disabled
|
63
|
420
|
104
|
6
|
Production
|
Disabled
|
62
|
697
|
108
|
7
|
Production
|
Enabled
|
75
|
475
|
153
|
8
|
Production
|
Enabled
|
85
|
649
|
149
|
9
|
Production
|
Enabled
|
82
|
1057
|
147
|
- Audit=Off yields the best performance
- Audit=Production is approximately 56% slower in performance than Audit=Off
- Setting CaptureCompositeInstanceState=Disabled yields an additional 24% performance improvement
Recommendations:
- Settings Audit=Development is unacceptable in a production environment due to the high performance overhead incurred
- Setting Audit=Off, despite the drastic performance improvement, is unacceptable since absolutely no metadata is logged in the database and you have zero visibility into your instances
- Set Audit=Production in a production environment
- Consider setting CaptureCompositeInstanceState=Disabled, as you obtain this data by querying the tables in the database
- Performing database tuning can improve performance of Audit=Production by at least 30%, so engage your DBAs
- Oracle SOA Suite 11g (11.1.1.4)

Hi Ahmed,
ReplyDeleteIn 10g disabling audit also effectively disabled the fault policy. That's something to be aware off.
Kind regards,
Tony van Esch
Check out step 7 in this blog post to drastically improve the performance of auditing:
ReplyDeletehttp://blog.ipnweb.com/2011/04/performance-tuning-oracle-soa-suite-11g.html
Great stuff. Can you share details about the database tuning done to achieve the 30% gain?
ReplyDeleteHi Reamon,
ReplyDeleteCheck out step 10 in this blog post (I just added it):
http://blog.ipnweb.com/2011/04/performance-tuning-oracle-soa-suite-11g.html
Thanks!
ReplyDeleteHi Ahmed.. i need an urgent help.
ReplyDeletei have an esb..
with one routing service and one soup service
when i am migrating to 11g.. i am getting in service reference and one reference pointing to 10g wsdl..ok
when i deployed the same code to 11g it got deployed successfully..
now i want to point the both routing service and soap service to 11g port..
i am able to get the routing service wsdl ,can you please let me know where can i find the soup service wsdl pointing to 11g port..