process vs sessions
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: process vs sessions

  1. #1
    Join Date
    Feb 2009
    Posts
    91

    process vs sessions

    1 select
    2 resource_name,
    3 current_utilization,
    4 max_utilization,
    5 limit_value
    6 from
    7 v$resource_limit
    8 where
    9* resource_name in ( 'sessions', 'processes')
    SQL> /

    RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION LIMIT_VALU
    ------------------------------ ------------------- --------------- ----------
    processes 28 33 750
    sessions 36 43 830


    Are processes referring to the number of Oracle process "dbwr, lgwr.." where
    sessions mean the number of connections?

    Also would select count(*) from v$session give me an accurate count of the number of connections at any given time.

    Thanks in advance to all who answer

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,554
    processes init parameter specifies the max number of O/S processes that can connect to the target instance, this includes background processes as well as user initiated processes.

    sessions init parameter specifies the max number of user sessions allowed in the target instance.

    in regards to counting sessions... it all depends on what you want to count, check the status of the sessions.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width