Hello,
I want to trace some Events with the OracleMonitor class and the TraceEvent. Everything works fine, but the problem is, that this has an big performance impact.
I want to trace only Devart.Common.MonitorTracePoint.AfterEvent with an Error, Connect and Disconnect EventType.
It seems to me that the performance is so bad, because it tries to send the events also to the DbMonitor application at the same time. But I don't need it.
Are there other possiblities to log it
Thanks
Trace events with OracleMonitor
Re: Trace events with OracleMonitor
Please set OracleMonitor.UseApp=false in your application. Refer to https://www.devart.com/dotconnect/oracl ... seApp.html.hansjoergp wrote: ↑Tue 03 Dec 2019 15:28It seems to me that the performance is so bad, because it tries to send the events also to the DbMonitor application at the same time. But I don't need it.
-
- Posts: 39
- Joined: Wed 31 May 2017 14:33
Re: Trace events with OracleMonitor
Thanks. It works
-
- Posts: 39
- Joined: Wed 31 May 2017 14:33
Re: Trace events with OracleMonitor
I have made now tests and it seems that already when I have an instance with OracleMonitor with the following settings
I need double the time for the execution, if I have commented out the TraceEvent!
Code: Select all
monitor = new OracleMonitor();
monitor.IsActive = true;
monitor.UseApp = false;
//monitor.TraceEvent += Monitor_TraceEvent;
Re: Trace events with OracleMonitor
If you do not handle TraceEvent, please dispose the OracleMonitor object.
We will investigate the possibility to choose events to send (instead of sending all events).
We will investigate the possibility to choose events to send (instead of sending all events).
Re: Trace events with OracleMonitor
dotConnect for Oracle v9.13.1098 includes improvements:
* The SendCallStack property is added to the Devart.Common.DbMonitor class for possibility to turn off resource-demanding logging of CallStack
* The Filter property is added to the Devart.Common.DbMonitor class for possibility to choose events being logged
Refer to viewtopic.php?f=1&t=42246.
* The SendCallStack property is added to the Devart.Common.DbMonitor class for possibility to turn off resource-demanding logging of CallStack
* The Filter property is added to the Devart.Common.DbMonitor class for possibility to choose events being logged
Refer to viewtopic.php?f=1&t=42246.