Concurrent connection / session

What's the difference between concurrent connection and session?

Connections and Sessions
Connection and session are closely related to user process but are very different in meaning.
A connection is a communication pathway between a user process and an Oracle instance. A communication pathway is established using available interprocess communication mechanisms (on a computer that runs both the user process and Oracle) or network software (when different computers run the database application and Oracle, and communicate through a network).
A session is a specific connection of a user to an Oracle instance through a user process. For example, when a user starts SQL*Plus, the user must provide a valid user name and password, and then a session is established for that user. A session lasts from the time the user connects until the time the user disconnects or exits the database application.
Multiple sessions can be created and exist concurrently for a single Oracle user using the same user name. For example, a user with the user name/password of SCOTT/TIGER can connect to the same Oracle instance several times.
In configurations without the shared server, Oracle creates a server process on behalf of each user session. However, with the shared server, many user sessions can share a single server process.
Hope this Helps
Regards

Similar Messages

  • How to increase the Max. No. of connections(Sessions) & Processes in DB?

    Hi,
    What are all the options to increase the Max. No. of connections(Sessions) & Processes in Database?
    Also, I would like to know How we have to validate the count to fix the No. of connections based on the Database Health?
    Kindly clarify me on this.
    Thanks,
    Orahar.

    Orahar wrote:
    Hi,
    What are all the options to increase the Max. No. of connections(Sessions) & Processes in Database?Set PROCESSES parameter. SESSIONS is a derived parameter.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams169.htm#i1132608
    Also, I would like to know How we have to validate the count to fix the No. of connections based on the Database Health?Check v$license.SESSIONS_HIGHWATER value. That would give you an indication of highest possible load on the database. In case of a brand new setup (with no information about the number of concurrent users), you need to start with a reasonable value and revise if needed.

  • CAL. number of concurrent database sessions FOR CERTAIN HARDWARE CONFG.

    How i can calculate the number of concurrent database sessions for a cartine hardware config.?
    If i used :
    oracle 8i 8.1.7 database on compaq server ML530 PIII 733 and 1024M RAM
    9iAS application on compaq server ML370 2xPIII 866 and 1024M RAM
    best regards
    ASHRAF SHAWKY
    [email protected]
    [email protected]
    null

    misterimran wrote:
    Dear Deepak,
    This is what I am talking about. This session information only shows 1 session of apache.
    However many users are connected to apache more then like 250.Are you trying to figure out how many different users are using Apache? Or how many sessions exist in the database? In a three-tier environment, you almost always have a connection pool, so the number of hitting the middle tier is substantially different than the number of sessions in the database.
    What is the business problem you are trying to solve? Is this a licensing question? Or a technical question? If it is technical question, what problem are you trying to solve?
    Justin

  • Requirement to enable more than two concurrent RDP sessions on multiple Windows Server 2012

    I have an existing Remote desktop licensing server, which has users CALs for server 2008. Now I have some windows server 2012 R2, where more than 2 concurrent RDP connections are required.
    What I understand that I will need to install RDS server roes on all my Widows Server 2012 and I will need to have at least one RD licensing server to install RDS CALS, that’s all.
    If it is correct, the questions is : Can I use my existing license server to add my newly purchased version 2012 RDS user CALs or I will need a new licensing server?
    If it is not correct, then what else I need
    I appreciate your detail step by step
    Thanks

    Thanks the for steps, provided,
    So in short,
    I will need a Windows 2012 Server to install RSD 2012 licencing server to setup my newly purchased X number of RDS 2012 user CALs.
    As I just want more than 2 concurrent RDP connection to happen on some Windows 2012 server, I will require to select “Role-Based or feature-based installation and ONLY will enable Remote Desktop Licensing Role and Demote Desktop Session
    Host.
    I will need to add RD Licencing and add the server 2012 servers; I want more than 2 concurrent connections to happen.
    I will need to enable RD Licensing mode as per user
    Question:
    1. What I need to enable on those servers, where I want concurrent RPD connection to happen
    2. In which stage and where I will enable my users CALs, I purchased?
    3. Do I have to install RD Session Host role service on the servers, where more than two RPD users will connect at the same time?
    I am also in dark, how my user will connect those servers, with RDP connection or with  RD Web Access.
    All I want to do is to enable more then 2 concurrent connection to some Windows Server 2012 R2. I have already purchased some RDS 2012 R2 Users CAL

  • Kernel parameter for large concurrent connections database.

    Hi,
    Does any one have suggestion about kernel parameters we have to modify for large concurrent connections database (about 20000 concurrent connections) ? We would like to use Sun M8000 as our database server. Oracle installation guide indicated many parameters and values, but it seems ok for general database, not the one we need. Please somebody help us. Thanks !

    I certainly don't have any idea where the 150G memory usage for 20000 concurrent users come about. That's 7.5MB per user session.
    The session memory usage is depends on Oracle version, OS , Database configuration and application behavior etc..
    From following query we can tell, average session memory usage is around 1.5M in normal usage on 10g linux platform.
    It could go up to 20-30M if user session doing large data manipulation.
    SYS@test >  l
      1   select value, n.name|| '('||s.statistic#||')' , sid
      2    from v$sesstat s , v$statname n
      3    where s.statistic# = n.statistic#
      4    and n.name like '%ga memory%'
      5*   order by sid
    SYS@azerity > /
         VALUE N.NAME||'('||S.STATISTIC#||')'        SID
        486792 session pga memory max(26)             66
        486792 session pga memory(25)                 66
        225184 session uga memory(20)                 66
        225184 session uga memory max(21)             66
        225184 session uga memory max(21)             70
        486792 session pga memory max(26)             70
        486792 session pga memory(25)                 70
        225184 session uga memory(20)                 70
        225184 session uga memory(20)                 72
        486792 session pga memory max(26)             72
        225184 session uga memory max(21)             72
        486792 session pga memory(25)                 72
        486792 session pga memory max(26)             74
        225184 session uga memory(20)                 74
        486792 session pga memory(25)                 74
        225184 session uga memory max(21)             74
    ......Aggregate by SID
      1   select sum(value),sid
      2    from v$sesstat s , v$statname n
      3    where s.statistic# = n.statistic#
      4    and n.name like '%ga memory%'
      5    group by sid
      6*   order by sid
    SYS@test > /
    SUM(VALUE)        SID
       1423952         66
       1423952         70
       1423952         72
       1423952         74
       1423952         75
       1423952         77
       1423952         87
       1423952        101
       2733648        104
       1423952        207
      23723248        209
      23723248        210
       1293136        215
       7370320        216
    .........

  • Difference between connection, session and process

    Hi all,
    Can anyone please update me on the difference between connection,session and process.
    Thanks in advance,
    - Sri

    I got this useful note by googled in net. It describes session,connection,process gracefully.
    A connection is a physical circuit between you and the database.A connection
    might be one of many types -- most popular begin DEDICATED server and SHARED
    server. Zero, one or more sessions may be established over a given connection
    to the database as show above with sqlplus. A process will be used by a session
    to execute statements. Sometimes there is a one to one relationship between
    CONNECTION->SESSION->PROCESS (eg: a normal dedicated server connection).
    Sometimes there is a one to many from connection to sessions (eg: like
    autotrace, one connection, two sessions, one process). A process does not have
    to be dedicated to a specific connection or session however, for example when
    using shared server (MTS), your SESSION will grab a process from a pool of
    processes in order to execute a statement. When the call is over, that process
    is released back to the pool of processes.

  • Grant debug connect session to user

    I understand that if DBA hasn't granted following option to "user" following way:
    grant debug connect session to user;, then "user" wil lget following error when she tries to debug:
    ORA-0131:Insufficient Priviledges
    Debugging requires Debug connect session system priviledgesIs there any explanation why DBA decides to not grant such privilege? Maybe such privilege slows down something? Maybe it can create security "hole"? Maybe there is another good explanation?
    The "user" in this example was Schema/Account ment for Development personell who developes functionality, but it doesn't matter i think what kind the "user" is.
    so why you think i don't have such privilege, what bad could such privilege when granted give?

    Its just that You have not been Granted that Privilege. Mostly in what ever shop i have worked Such grants are given on request Base.
    Debugging is a Developers Right and no one can denie it.
    But i never use any debugging tool. I only relay on my Instrumented Code.

  • Max concurrent connections

    Coming back to a topic that was posted a few months ago with
    an
    additional question:
    >I believe you mean to ask, "What is the maximum number of
    >concurrent connections such as those used in loadMovie or
    XML.load?"
    >If this is what you're asking then there are no current
    limits. However,
    >the sending server may limit concurrent connections for a
    single client
    >to any number so the loads may fail if they exceed this
    limit. The
    >limitations are therefore server-based, not Flash based,
    and they will
    >differ from server to server.
    My question:
    While Flash doesn't enforce a limit, do any/all browsers
    enforce
    limits? If I wanted to load up 50, 100, 200 movies at once,
    where if
    anywhere would I be limited?
    Also, it seems that, in a test program loading a bunch of
    images from a server concurrently, I am not able to get more than
    two at once. Is this purely a server issue?
    -andy

    Hi,
    I imagine it does.
    Also I guess if we are talking about just some random UDP traffic it would also mean that the default timeout for a connection would be 2min. The most usual UDP traffic would probably be DNS querys. In those cases I presume though that the UDP connections dont stay on firewall for long as long as the firewall sees the DNS reply.
    But as I said if we are talking about some random UDP traffic that is allowed through the firewall I would guess it stays in the connection table of the firewall for a couple of minutes. So you might be looking at 1000 concurrent connections or even more?
    I have once witnessed a single server sending so much UDP traffic that it reached the connection limit of an ASA5540 which is 400 000 concurrent connections.
    - Jouni

  • Granting system privileges DEBUG ANY PROCEDURE and CONNECT SESSION in 10gXE

    I am using Oracle DB 10g Express Edition and trying out SQL Developer. Whenever I want to debug a procedure I got the error:
    This session requires DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges.
    But I don't see these privileges to grant in the XE GUI for users.
    Does anybody know if this is supported in XE.
    Thanks.

    Hi
    Use SQL*Plus (or the apex interface), logon as dba and type this sql statements:
    grant DEBUG CONNECT SESSION to <username>;
    grant CONNECT SESSION to <username>;

  • OraOLEDB.Oracle provider create connections (sessions).

    Hi all,
         I have Link server between oracle and MSSQL with following versions,
    Oracle – 10G
    MSSQL – SQL Server 2008 R2
    Link server provider=N'OraOLEDB.Oracle'
    After created link server then without actually doing any queries or anything oracle side create 100 or 120 connections (sessions) from this SQL server to oracle server. Any idea on this?
    Thanks
    Tharindu Dhaneenja

    Alright, so it's not that. It's possible the OLE DB provider isn't installed, depending on how you installed the Oracle client.
    This link has a little windows script that can list all the known OLE DB providers. That should tell you if its installed and SSIS isn't finding it, or if it's not installed at all. http://www.motobit.com/help/regedit/sa117.htm

  • Fireworks CS3 Connect Session in 2 hours!

    Hello Fireworkers!
    Today is the weekly Fireworks CS3 session I host informally
    via my blog. For the geeks that find me, feel free to come and ask
    questions or if you did something cool in fireworks, feel free to
    show it off!
    Where
    Adobe Connect:
    http://my.adobe.acrobat.com/osd/
    (Login as a guest and not a registered user)
    Time
    Thursday (Today) at 11:00am PST

    Thanks Alan, so much better with sound :-)
    Peter
    "Alan Musselman" <[email protected]> wrote
    in message
    news:f49hbq$5g2$[email protected]..
    | Come join us for an open discussion about Fireworks CS3! If
    you have
    questions
    | or want to share a tip or trick thats cool with us. Feel
    free to stop on
    by and
    | learn from myself and other Fireworkers in the Connect
    Session.
    |
    | Starts now - 11am PST
    |
    | Be sure to login as a Guest. You do need a Username and
    Password.
    |
    | Connect Room:
    | https://admin.adobe.acrobat.com/_a295153/osd/
    |
    |

  • ASA max concurrent connections

    If I have a thousand nodes from the public each perform a UDP ping to a server behind the ASA, does each count as a concurrent connection?

    Hi,
    I imagine it does.
    Also I guess if we are talking about just some random UDP traffic it would also mean that the default timeout for a connection would be 2min. The most usual UDP traffic would probably be DNS querys. In those cases I presume though that the UDP connections dont stay on firewall for long as long as the firewall sees the DNS reply.
    But as I said if we are talking about some random UDP traffic that is allowed through the firewall I would guess it stays in the connection table of the firewall for a couple of minutes. So you might be looking at 1000 concurrent connections or even more?
    I have once witnessed a single server sending so much UDP traffic that it reached the connection limit of an ASA5540 which is 400 000 concurrent connections.
    - Jouni

  • Max Concurrent connections supported by UTL_HTTP

    Hi,
    Can anyone help me out to find how many concurrent connections can UTL_HTTP.REQUEST_PIECES support. Is there any parameter that governs max no.of connections? If so, pls post the parameter name.

    Assaf:  as always, thanks so much for the info!
    When you say double-sided, do you mean a memory stick which has chips on both sides; as in 8 chips on each side?
    I bought the Kingston memory one stick of 128MB PC100/PC133 which has chips on one side.  I also bought the 256MB PC100/PC133 which has chips on both sides.
    I currently have both these memory sticks in the MS 6119 and they appear to be working well.  I am running Prime95 torture test just to make sure everything is working as it should be.
    Currently I have the following memory in the MS 6119:
    Bank 0 - the original PC100 128MB stick which has 8 chips on each side.
    Bank 1 - the Kingston (KVR133Q/128R) PC100/PC133 128MB with 8 chips on one side.
    Bank 2 - the kingston (KVR 133Q/256R) PC100/PC133 256MB with 8 chips on both sides.
    The total is, of course is 512MB - and appears to be working just fine.  Windows LOVES RAM  :D

  • DEBUG CONNECT SESSION

    Hi Team,
    Will doing Debug mode in SQE Developer i am getting the below error message
    Connecting to the database 1SQE_AII_R17.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '122.32.222.101234', '121' )
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    This session requires DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges.
    Process exited.
    Please help me on this.

    This session requires DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges.Does this not explain it all?

  • Limit number of concurrent connection

    is there a way for me to limit the number of concurrent
    connections to the media server. my upload bandwitdh is about a meg
    so having too many connections just kills the whole thing. i would
    like to put a limit at 5 connections. is there a way to do
    this?

    well i am only using flash media server to displaying videos
    and just that. the reason i went with media server vs. progressive
    was fullscreen method. since flash doesn't natively support
    fullscreen you have to open another browser in fullscreen with
    javascript. the problem with that is it start loading from
    beginning so i decided to go server that way it only has to buffer
    and get to the same point without having to load the whole video up
    to that point. Now i want to limit number people that can be
    watching the video. if i get more that 5 connection the whole thing
    slows down. i am not too familiar with server based connections so
    i don't know how to limit the number concurrent connections.

Maybe you are looking for

  • Why does PhotoShop CC 2014 crash my Windows 7 Professional 64-bit PC every time I try to use Sharpen/Blur Reduction and also Noise Reduction ??!!!???

    Hi Adobe You a have a really wonderful PhotoShop CC product. It's really great, and I know new versions such as 2014 have their teething problems. But I am getting really sick of my Windows 7 Professional 64-bit PC being crashed whenever I try to use

  • How to run functions when changing states?

    Hi everybody I want to run function when changin states For example I change my state and write something on Panels title and when this state appears i want to read my title and to do smth How can I do it. Where is my mistake? <?xml version="1.0" enc

  • PLEASE HELP!! Why do my file dates change on import?

    I'm trying to drag and drop iPhotos into Aperture or export a collection of files and then import them into Aperture, but the image date changes to a random date in the future when I do so. What am I doing wrong? How do I solve the problem?

  • Dunning proposal for item and account master record

    Dear Friends, In the dunning proposal list: Block the line item or remove the block in the current dunning proposal and also have another statement like Change the dunning and correspondance data of an account in the master record which is not at dun

  • Flattening the xml data

    Hi, I have the following XML loaded in the xmltype column. <g1>      <f1>A</f1>      <g2>           <f2>a</f2>           <g3>                <f3>1</f3>                <f3>2</f3>                <f3>3</f3>           </g3>      </g2>      <g2>