Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Monitor connection pool - ODP.Net 10g

Monitor connection pool - ODP.Net 10g

Scheduled Pinned Locked Moved Database
csharpcomsysadminquestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Het2109
    wrote on last edited by
    #1

    I am using odp.net 10gR2. Is there a way I can monitor the connection pool, like action connection, connection strings or active connections etc. Also, can I know the like how many connection pools will be there per cpu in my server and can I make any of the connection pool as inactive or disable or something like that ? Thanks in advance.

    Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

    W 1 Reply Last reply
    0
    • H Het2109

      I am using odp.net 10gR2. Is there a way I can monitor the connection pool, like action connection, connection strings or active connections etc. Also, can I know the like how many connection pools will be there per cpu in my server and can I make any of the connection pool as inactive or disable or something like that ? Thanks in advance.

      Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      Hi, You should be able to monitor connection pool (and also many other things) using Performance Monitor (open from COntrol Panel). ODP installation adds several new counters and groups by default. Hope this helps, Mika

      H 1 Reply Last reply
      0
      • W Wendelius

        Hi, You should be able to monitor connection pool (and also many other things) using Performance Monitor (open from COntrol Panel). ODP installation adds several new counters and groups by default. Hope this helps, Mika

        H Offline
        H Offline
        Het2109
        wrote on last edited by
        #3

        Performance Monitor integration is available in 11g and not in 10g :(. Still, thanks and lemme have another look at that one.

        Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

        W 1 Reply Last reply
        0
        • H Het2109

          Performance Monitor integration is available in 11g and not in 10g :(. Still, thanks and lemme have another look at that one.

          Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

          W Offline
          W Offline
          Wendelius
          wrote on last edited by
          #4

          Sorry, you're absolutely right :doh: . It comes in 11g. Some of the things you asked could be found out from server side. If you have a connection in your connection pool you can see it from v$-views at server. You can also separate which connections are active and running a command and which are only waiting. In connection string you can define the maximum amount of simultaneous connections and how long they are kept in connection pool and is the connection pooling used at all. This wasn't exactly what you we're asking but might help you to get forward. Mika

          H 1 Reply Last reply
          0
          • W Wendelius

            Sorry, you're absolutely right :doh: . It comes in 11g. Some of the things you asked could be found out from server side. If you have a connection in your connection pool you can see it from v$-views at server. You can also separate which connections are active and running a command and which are only waiting. In connection string you can define the maximum amount of simultaneous connections and how long they are kept in connection pool and is the connection pooling used at all. This wasn't exactly what you we're asking but might help you to get forward. Mika

            H Offline
            H Offline
            Het2109
            wrote on last edited by
            #5

            Thanks Mika, Actually I tried v$session but I am not able to figure out through which application user has logged in, and got into that connection pool. Also, its like after some number of connections (less then 20) it is not allowing me to log in and its just spinning and not giving error and I have closed all the other connection from other browsers. So practically there are no active connection, still its not letting me in. SELECT sid, serial#, event, seconds_in_wait, client_info, status, terminal FROM V$SESSION WHERE PROGRAM IS NOT NULL and OSUSER = 'ASPNET' and terminal = 'Terminal1' order by seconds_in_wait Anyways, lemme try some other things, if I can think of ! Thanks for your help Mika.

            Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

            W 1 Reply Last reply
            0
            • H Het2109

              Thanks Mika, Actually I tried v$session but I am not able to figure out through which application user has logged in, and got into that connection pool. Also, its like after some number of connections (less then 20) it is not allowing me to log in and its just spinning and not giving error and I have closed all the other connection from other browsers. So practically there are no active connection, still its not letting me in. SELECT sid, serial#, event, seconds_in_wait, client_info, status, terminal FROM V$SESSION WHERE PROGRAM IS NOT NULL and OSUSER = 'ASPNET' and terminal = 'Terminal1' order by seconds_in_wait Anyways, lemme try some other things, if I can think of ! Thanks for your help Mika.

              Het Waghela :)Be Humble in Victory and Strong in Defeat.:) Het Waghela, Blog|Het Waghela DotNet Questions Link|More Links

              W Offline
              W Offline
              Wendelius
              wrote on last edited by
              #6

              You're welcome :) Mika

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups