Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ODP.NET Performance Counters

Narti KitiyakaraJun 21 2016 — edited Jun 22 2016

This question seems to get asked about every three years and has yet to be answered, but perhaps the third time will be charmed:

I want to use the ODP.NET, Managed Driver, performance counters to monitor what's happening on our servers.  I can see them fine in the list of available counters in the Windows Performance Monitor, but nothing happens when I select them and try to add them to the performance graph.  The list of active counters remains the same as before I added them.  I do have my application configured to enable the performance counters with the following in my web and app configs:

    <oracle.dataaccess.client>

    <settings>

      <add name="PerformanceCounters" value="4095"/>

    </settings>

  </oracle.dataaccess.client>

although I would think this shouldn't make a difference for just adding them to perfmon.  I can also see that they're enabled when I run lodctr /q:

[ODP.NET, Managed Driver] Performance Counters (Enabled)

    DLL Name: netfxperf.dll

    Open Procedure: OpenPerformanceData

    Collect Procedure: CollectPerformanceData

    Close Procedure: ClosePerformanceData

    First Counter ID: 0x00002114 (8468)

    Last Counter ID: 0x0000212C (8492)

    First Help ID: 0x00002115 (8469)

    Last Help ID: 0x0000212D (8493)

As other postings have suggested, I also tried running perfmon in 32-bit mode (using "mmc /32 perfmon.msc"), but that didn't have any affect.  This happens on both my 64-bit Windows 8 desktop machine and the 64-bit Windows 2012 Server that I actually wan't to monitor. 

I'm really at a loss here and hope that someone can suggest some way of actually having these performance counters active in perfmon.  Thanks.

This post has been answered by Mark Williams on Jun 21 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2016
Added on Jun 21 2016
2 comments
2,493 views