How determine a maximum simultaneous connection an oracle database can handl

How to determine the maximum simultaneous connections that can manage an oracle database
for example how to calculate maximum simultaneous connections to the database server
with 40 GB of ram and 4 cpu.

Published by: mankrit on March 11, 2011 13:51

With shared server, you have the following resources imprint.

You need one or more dispatcher processes. They will be processes that deal with the real client connections. Each such process will be a physical process on Linux/Unix, or a thread on Windows.

You need one or more shared server processes. They will be the process that the service of the customer requests. A shared server process can only service application for a single client at a time. But during his life, he can serve many different customers. Each such process will be a physical process on Linux/Unix, or a thread on Windows.

You must keep state data (called UGA or User Global Area) for each client connection. With a dedicated server, the UGA resides inside the memory of the server process. Shared server cannot have the UGA but they need to deal with a number of different clients over a lifetime and so a number of different UGAs.

In addition, 1 shared server can process with your 1st request SQL (and the need to use UGA your connection), and when you run your 2nd SQL a few minutes later, shared 5 server needs to use your UGA.

So the UGA must be shared - and this is why it is stored in the SGA of the Oracle instance.

And this is in short the resource footprint, you need for shared servers.

Keep in mind that a shared server can only service application for a single client at a time. A customer who has a complex query will be shared care for awhile and keep him from answering other customers. It would be ' + selfish + "customer - and such a client must use its own dedicated instead server connection instead. Generally - OLTP queries are ideal for shared servers (because they lack the length) and type OLAP applications are best for dedicated servers (because these are complex and slow to do).

If you want more details on this point - there are many sources available. I suggest you first to the Oracle documentation through (http://tahiti.oracle.com), front of Googling the web for resources.

Tags: Database

Similar Questions

  • Java class to connect to Oracle Database Express Edition11g and URL

    Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?

    I'm just starting to learn Java and with it, learn how to use the Oracle Database Express Edition11g and with it the Oracle SQL Developer...

    At this point, I have the Express Edition is installed and the SQL Developer installed and were able to establish a connection and to run a query and get a result.

    I use Eclipse for JAVA.  I have a work of class that performs a query on a database/table in MySQL.

    So now I'm eager to make the same use as the database Oracle Database Express Edition11g engine.

    And this means that two different versions of JAVA that I need to get the right to be able to do.

    The first is the value of the url variable.

    I now like

    String url = "jdbc:oracle:thin:@localhost";

    then

    Class.forName ("oracle.jdbc.OracleDriver");

    and then

    Connection connection = DriverManager.getConnection (url);

    The thing I'm puzzled on is in the URL where I 'localhost' was supposed to be the term generic and not so much as the text, you should use.

    I see in Web sites like 3 connection to Oracle Database XE

    and decrease example 3-2 by specifying the URL of database using the XE Client Setup

    There I see

    JDBC:driver_type: [username/password] @[//]host_name[: port] [XE]]

    And just what is and what is not is explained here.  So what I ended up with was

    String url = "jdbc:oracle:thin:@localhost";

    So if it was just a text to rest for a name I wonder just such a value or name might really where.

    I noticed that view that an app called "Oracle JDeveloper" has been used to create the values.   I don't have such a thing, or at least I don't think I do.

    Do I need?

    I have Oracle SQL DEVELOPER, where I used the following to connect to the database of the XE.

    My choice for Oracle's SQL Developer Help

    Name of connection: Connection1

    User name: Rod

    Password: myOracle11

    Host name: localhost

    Port: 1521, which is the default value

    SID: xe

    Above so I have to host name set to localhost

    Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?

    1. I do nothing

    2. While wouldn't you say it

    3. no results from the earlier assignment.

    I asked "'can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?" "

    I showed the choice that I used in SQL Developer to connect to the schema.  And I was wondering, now that I had done this case those are the values that I could use in the Java class that I wrote.  The web site in the first post of this thread showed connection but he was using JDeveloper and SQL Developer.

    So I was wondering if the connection that I made using SQL Developer would do the same trick, and if I could use the values I did there.

    I'm happy to announce that YES, The values used to connect using SQL Developer work exactly like JDeveloper.

    So, given that in SQL Developer for Hostname I chose the value "localhost" "Rod" Username and password "myOracle11".

    I did the following JAVA CLASS that worked:

    package VC_2_9;

    Java for COBOL - copyright 1999 Doke & Hardgrave programmer

    import java.sql. *;

    public class DataBaseDemoOracle

    {

    Public Shared Sub main (string args [])

    {

    String CUST_LAST_NAME;

    / * String url = "jdbc:mysql://localhost/visualcafe";                     */

    String url = "JDBC: thin: @localhost';"

    / * String sqlQuery = "SELECT Name, SSNo, address, telephone OF THE customer;    */

    String sqlQuery = "SELECT CUST_LAST_NAME FROM DEMO_CUSTOMERS";

    //                                               |||||||||||||||

    Try

    {

    Class.forName ("oracle.jdbc.OracleDriver");

    Connection connection = DriverManager.getConnection (url, "Rod","myOracle11" ");

    Statement statement = aConnection.createStatement ();

    ResultSet rs = aStatement.executeQuery (sqlQuery);

    Boolean more = rs.next ();

    (more)

    {

    CUST_LAST_NAME = rs.getString (1);

    /* */

    System.out.println ("name:" + CUST_LAST_NAME);

    more = rs.next ();

    }

    RS. Close();

    aStatement.close ();

    aConnection.close ();

    }

    catch (ClassNotFoundException e)

    {System.out.println ("Exception caught" + e) ;}}

    catch (SQLException e)

    {If (e! = null)}

    {System.out.println ("SQLException taking" + e);}

    e = e.getNextException ();

    } / / end of while loop

    } / / end of capture

    } / / main end

    } / / end DataBaseDemoOracle.java

  • Unable to connect to Oracle Database 11.2 XE Beta

    Hi all:

    Try to connect to Oracle Database XE Beta 11.2, the fields are workspace, user name and password. How will I know the workspace.

    Thank you

    When you try to open a session?

    If you go to boot (http://127.0.0.1:8080/apex/f? p = 4950), should open the home page of the database.
    Now click the tab "APEX" or red button, connection on request with a user name of database, and you will have the chance to create a workspace Apex.

    See the XE getting started Guide - 6.1 [url http://download.oracle.com/docs/cd/E17781_01/admin.112/e18585/toc.htm]. Getting started with Application Express

    To explore the APEX, the Documentation Library [url http://download.oracle.com/docs/cd/E17556_01/welcome.html] for APEX 4.0 should come in handy.

    Published by: orafad on May 28, 2011 12:52

  • How to find this value in the oracle database to find out the table

    Hi expert,

    I know there is a value in the oracle database, please show me how to find this value in the oracle database to find out the table that contains this value.

    Thank you very much

    918440 wrote:
    Hi expert,

    I know there is a value in the oracle database, please show me how to find this value in the oracle database to find out the table that contains this value.

    Thank you very much

    Go to the online documentation and discover the data dictionary. You may be interested in reading about ALL_TAB_COLUMNS, but you will need to know what you want until you can query the view to find information

  • How to remove the extra space of oracle database column

    How to remove the extra space of oracle database column. I would like to clean up the column in the database by deleting the extra space is entered by the dataentery people.

    When I run the query:
    SELECT
    ROWID, C.CODETABLE_ID, C.CODEVALUE_ID, C.DESCR, LENGTH (C.CODEVALUE_ID).
    C.OBSOLETE_DT, C.RECORDSOURCE, C.CREATED_DT,
    C.CREATEDBY, C.LASTUPDATED_DT, C.LASTUPDATEDBY
    OF CODEVALUE C
    Where LENGTH (C.CODEVALUE_ID) > 6

    the data type is varchar2 and I would get rid of the any extra blank space added to the column. in my case, if the length is greater than 6

    Hello

    user452051 wrote:
    Thanks for the reply. Why should I have this line?

    AND codevlaue_id! = TRIM (codevalue_id) - see note below
    ;

    I just changed my post when you posted this. The explanation is there now:

    Frank Kulash wrote:
    ...
    The condition "codevlaue_id!" = TRIM (codevalue_id)"does not change the results of everything, but it can make the most effective statement if there are lines where codevalue_id is on 6 characters long, but contains no additional space. It will prevent the triggers from firing and redo the data generated.

  • Oracle database can interact with sysbase database in real time?

    There are two database, it is oracle, one is sysbase, sysbase is the database of products. My program only can consult the oracle database and cannot visit sysbase database directly. My question is whether there is a direct connection to oracle, sysbase herbal database, when I visit oracle, oracle database can interact with sysbase database through this link in real time? How to make above function? Please give plan for her.

    Thanks in advance!
    Best regards
    Edward

    Yes it is. You must create a heterogeneous connection between these two databases
    Take a look at the links below:

    http://www.DBA-Oracle.com/t_heterogeneous_database_connections_sql_server.htm
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:13401716754850
    http://download-West.Oracle.com/docs/CD/B10501_01/server.920/a96571/repmultdemo.htm

  • How to connect an Oracle database without using input TNS

    Hello

    I need to connect my pc Oracle database server without using the TNS entry. How to do this?

    Kind regards

    007

    [easy connection: CONNECT to username/password@[/]host[:port][service_name]

  • I/o error: the network adapter could not establish the connection: connection to oracle database

    Hello

    I am not able to connect to the Oracle SQL developer database. I said / 0 error: the network adapter could not establish the connection.

    I started the listener, but what I see is, it points to a different IP address instead of the IP address of the host. How to change the name of host or IP address.

    I see that it points to the host name in listener.ora.

    Attached the screenshot

    Can someone help me solve this problem?

    Thanks in advance

    What he says is the listener.ora file is not necessary to start the listener.  If you rename, then start the receiver, then start the db, after a minute or two, the db should automatically register with the listener and then you can make a tnsping or otherwise connect to the database through the listener.

    I'm not entirely sure what's going on with your image, but I can't help but wonder if somehow something is not what you expect with the investigation period, whenever it starts.

    So use lsnrctl status lsnrctl services to see what the listener is the situation and tnsping and ping from the client to see what he thinks.

  • How to find the name of the Oracle database server?

    People,

    Hello. I installed Oracle Database 11 g 2 OS Oracle Linux 5. The installed directory is/home/user/OracleDB_Home and/home/user/OracleDB_Base.

    Host name is "mylinux". Name of the database instance is PT853.

    I use "mylinux" as the name of the database server, it does not work. I use another way to do as below:

    Export ORACLE_HOME = / home/user/OracleDB_Home

    Can I use "mylinux ORACLE_HOME" as the name of the database server, it does not work either.


    My question is:

    How to find the name of the database server Oracle with Oracle Linux 5 OS?


    Thank you.

    You must learn the basic of database Oracle.

    Please don't regard it not same as SQL server in terms of configuration.

    You never specify the database server name in Oracle.

    You specify the host name in only two places, 1) Tnsnames.ora/JDBC/ODBC (or any client you want to connect) and listener.ora) 2.

    There was nothing called specify the name of the Oracle database from an oracle database server.

    Concerning

    Anurag.

  • 11.1.1.4 JDeveloper do not connect to Oracle Database 10g with heavy customer

    Hello

    I was using JDeveloper 11.1.1.3 which connect Oracle Database 10 g with Driver oci8 dependencies instantclient-basic-win32 - 11.1.0.7.0.

    Currently, I have improved toJDeveloper 11.1.1.4 and now her send me the connection failed with the Driver oci8 instantclient-basic-win32 - 11.1.0.7.0 and instantclient-basic-win32 - 11.2.0.1.0.

    Test message failed: java.lang.UnsatisfiedLinkError: oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber () I

    Please help how I can solve it.

    Kind regards
    Shakur

    First of all, to avoid the UnsatisfiedLinkError you must make sure that the path to the shared library (.dll/.so) is included in your PATH environment variable.

    Secondly, no it does not change the JDev behavior.

    -olaf

  • Unable to make the connection with oracle (database sqlserver) non-oracle

    We are unable to connect with the database of sql server after you have created the dblink to the oracle server.

    tnsping everything works very well between the oracle and SQL Server for database, database

    Please provide us with the solution for this problem.

    The problem is that the HS_FDS_CONNECT_INFO in theinit .ora bridge was not properly configured.

    Using the format-

    HS_FDS_CONNECT_INFO =//.

    has permits the connection works.

  • How to insert vidio file in the oracle database

    Hi Experts,

    Can you please tell me, how to insert video in the oracle database.
    and what are the formats it supports.

    Thanks in advance,
    Sanjeev,

    To do this, you don't need an expert, you only need the capacity and the ability to googleor search this forum.
    This question was asked here several times by people who, like you, have refused to use online resources.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • Please help me! Unable to connect to Oracle Database 10 g 10.2.0.3 6i

    I'm new to databases.

    I am trying to connect to Oracle 6i to my 10 g 10.2.0.3 Express Edition database.

    Error code: ORA-12154: TNS could not resolve service name.

    I'll start > > Oracle 6i > > Form Builder. Click file > > Connect > > enter username and password. I enter the name of the database as orcl. The I get the error message.

    I'm using Windows Vista 32-bit. Oracle 10g 10.2.0.3.

    What can I do while I am able to connect and bulid the form.

    Thanking you.

    Error code: ORA-12154: TNS could not resolve service name.

    $ oerr ora 12154
    12154, 00000, "TNS:could not resolve the connect identifier specified"
    // *Cause:  A connection to a database or other service was requested using
    // a connect identifier, and the connect identifier specified could not
    // be resolved into a connect descriptor using one of the naming methods
    // configured. For example, if the type of connect identifier used was a
    // net service name then the net service name could not be found in a
    // naming method repository, or the repository could not be
    // located or reached.
    // *Action:
    //   - If you are using local naming (TNSNAMES.ORA file):
    //      - Make sure that "TNSNAMES" is listed as one of the values of the
    //        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA)
    //      - Verify that a TNSNAMES.ORA file exists and is in the proper
    //        directory and is accessible.
    //      - Check that the net service name used as the connect identifier
    //        exists in the TNSNAMES.ORA file.
    //      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
    //        file.  Look for unmatched parentheses or stray characters. Errors
    //        in a TNSNAMES.ORA file may make it unusable.
    //   - If you are using directory naming:
    //      - Verify that "LDAP" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Verify that the LDAP directory server is up and that it is
    //        accessible.
    //      - Verify that the net service name or database name used as the
    //        connect identifier is configured in the directory.
    //      - Verify that the default context being used is correct by
    //        specifying a fully qualified net service name or a full LDAP DN
    //        as the connect identifier
    //   - If you are using easy connect naming:
    //      - Verify that "EZCONNECT" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Make sure the host, port and service name specified
    //        are correct.
    //      - Try enclosing the connect identifier in quote marks.
    //
    //   See the Oracle Net Services Administrators Guide or the Oracle
    //   operating system specific guide for more information on naming.
    $
    

    Discover TNSNAMES. ORA file in ORACLE_HOME forms.

  • How to handel, a batch in the oracle database

    How handel a batch in the oracle database?

    Concerning
    Alok

    You can use DBMS_SCHEDULER.

    See:
    http://www.Oracle-base.com/articles/10G/Scheduler10g.php
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14220/mgmt_db.htm#sthref2285
    Or the Oracle Documentation @ http://tahiti.oracle.com

    Published by: hoek on March 16, 2010 09:57 docs are available again

  • How to insert the output in the Oracle database table records

    Nice day

    I have two tables (table A and table B) in my oracle database I created a process for mapping from Table A duplicate records to Table B, and the result (reports) must be inserted into the Table B. I can't make this process. Can someone help me please.

    Thank you and best regards,

    Muhammed Faraz

    Hi Muhammed,

    You will need create an export job and set up a new job as a result. Take a look in the help topic "export data" as he will explain the different options [Add/Remove and insert/etc.].

    Thank you

    Nick

Maybe you are looking for