oracle 启用 ODP.Net 性能计数器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1827799/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 19:33:46  来源:igfitidea点击:

Enable ODP.Net performance counters

.netoracleconnection-poolingwindows-server-2008-r2

提问by hminaya

How can I enable the ODP.Net Performance Counters for my web app???

如何为我的 Web 应用程序启用 ODP.Net 性能计数器???

I'm Using:

我正在使用:

  • .Net 2.0
  • Oracle 11g
  • Windows 2008 R2
  • .Net 2.0
  • 甲骨文 11g
  • 视窗 2008 R2

回答by Martin Suchanek

Two parts are required.

需要两部分。

  1. Installing the perfmon counters If they are not already installed, follow the instructions here: http://blog.bekijkhet.com/2010/01/odpnet-performance-counters-do-not-show.html

  2. Enabling/configuring the perfmon counters This is done on a per app (or per home directory, per machine, etc) basis. The best writeup I've seen is here: http://blog.ilab8.com/2011/09/02/odp-net-pooling-and-connection-request-timed-outNote especially the specific steps for 32 bit apps, and for the install/configure/launch order of operations.

  1. 安装 perfmon 计数器 如果尚未安装,请按照以下说明操作:http: //blog.bekijkhet.com/2010/01/odpnet-performance-counters-do-not-show.html

  2. 启用/配置 perfmon 计数器 这是在每个应用程序(或每个主目录、每个机器等)的基础上完成的。我见过的最好的文章在这里:http: //blog.ilab8.com/2011/09/02/odp-net-pooling-and-connection-request-timed-out特别注意 32 位应用程序的具体步骤, 以及操作的安装/配置/启动顺序。