How to increase No. of Connections in Oracle DB?

Hi,
As my team using more no. of connections, I need to increase the number of connections.
Kindly guide me to check the current number of connections and how to change / increase that?
As I don't have knowledge on this, I am looking the detailed input on this.
Kindly guide me, How to check the no. of connections in DB and how to increase that?
Thanks in advance,
Orahar.

Orahar wrote:
As my team using more no. of connections, I need to increase the number of connections.For what type of sessions? That determines whether dedicated or shared server sessions on the Oracle server can be used. Shared server scales a lot better than dedicated servers, but requires specific factors to be taken into consideration (e.g. the move of session UGA from the PGA to the SGA, dispatchers required, etc).
For what server o/s? Windows deal differently with dedicated and shared servers (threads) as Unix/Linux (processes) do.
And why the increase in connections required by your team? Are they using the Oracle server architecture correctly from the client side?
Most 64bit Oracle severs can easily support 1000's of connections (shared server) - but the number of connections are secondary to how the clients are using their Oracle sessions.

Similar Messages

  • Help: How to make JDeveloper to connect to Oracle repository through CMAN?

    Hi folks,
    I have a very dummy problem.
    I have JDeveloper on Linux.
    I have on Oracle SCM Repository in a database, which is across WAN.
    The database is accessible through connection manager.
    BUT HOW DO I EXPLAIN TO JDEVELOPER , that there is a Connection Manager. It only allows me to enter host:port:sid. It doesn't allow me to enter custom JDBC URL.
    This is really missing functionality...
    Please help me,
    Regards,
    Mihail Daskalov

    The support for Oracle SCM in JDeveloper can only connect via thin JDBC. This always requires a host, port and SID. The limitation is due to underlying limitations in the libraries we use to connect to Oracle SCM.
    Is your database connection using OCI? We have an existing enhancement request for OCI support (2700757), but let me know if it's another connection type, and I'll add that to the ER.
    Thanks,
    Brian
    JDev Team

  • How we build Java Database Connectivity for Oracle 8i Database

    Can any one send me a sample code for Java Database Connectivity for Oracle 8i Database
    it will be a grat help
    Thanks & Regards
    Rasika

    You don't need a DSN if you use Oracle's JDBC driver.
    You didn't read ANY of the previous replies. What makes you think this one willk help? Or any instruction, for that matter?
    Sounds like you just want someone to give it to you. OK, I'll bite, but you have to figure out the rest:
    import java.sql.*;
    import java.util.*;
    * Command line app that allows a user to connect with a database and
    * execute any valid SQL against it
    public class DataConnection
        public static final String DEFAULT_DRIVER   = "sun.jdbc.odbc.JdbcOdbcDriver";
        public static final String DEFAULT_URL      = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Edu\\Java\\Forum\\DataConnection.mdb";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        public static final String DEFAULT_DRIVER   = "com.mysql.jdbc.Driver";
        public static final String DEFAULT_URL      = "jdbc:mysql://localhost:3306/hibernate";
        public static final String DEFAULT_USERNAME = "admin";
        public static final String DEFAULT_PASSWORD = "";
        /** Database connection */
        private Connection connection;
         * Driver for the DataConnection
         * @param command line arguments
         * <ol start='0'>
         * <li>SQL query string</li>
         * <li>JDBC driver class</li>
         * <li>database URL</li>
         * <li>username</li>
         * <li>password</li>
         * </ol>
        public static void main(String [] args)
            DataConnection db = null;
            try
                if (args.length > 0)
                    String sql      = args[0];
                    String driver   = ((args.length > 1) ? args[1] : DEFAULT_DRIVER);
                    String url      = ((args.length > 2) ? args[2] : DEFAULT_URL);
                    String username = ((args.length > 3) ? args[3] : DEFAULT_USERNAME);
                    String password = ((args.length > 4) ? args[4] : DEFAULT_PASSWORD);
                    System.out.println("sql     : " + sql);
                    System.out.println("driver  : " + driver);
                    System.out.println("url     : " + url);
                    System.out.println("username: " + username);
                    System.out.println("password: " + password);
                    db = new DataConnection(driver, url, username, password);
                    System.out.println("Connection established");
                    Object result = db.executeSQL(sql);
                    System.out.println(result);
                else
                    System.out.println("Usage: db.DataConnection <sql> <driver> <url> <username> <password>");
            catch (SQLException e)
                System.err.println("SQL error: " + e.getErrorCode());
                System.err.println("SQL state: " + e.getSQLState());
                e.printStackTrace(System.err);
            catch (Exception e)
                e.printStackTrace(System.err);
            finally
                if (db != null)
                    db.close();
                db = null;
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection() throws SQLException,ClassNotFoundException
            this(DEFAULT_DRIVER, DEFAULT_URL, DEFAULT_USERNAME, DEFAULT_PASSWORD);
         * Create a DataConnection
         * @throws SQLException if the database connection fails
         * @throws ClassNotFoundException if the driver class can't be loaded
        public DataConnection(final String driver,
                              final String url,
                              final String username,
                              final String password)
            throws SQLException,ClassNotFoundException
            Class.forName(driver);
            this.connection = DriverManager.getConnection(url, username, password);
         * Get Driver properties
         * @param database URL
         * @return list of driver properties
         * @throws SQLException if the query fails
        public List getDriverProperties(final String url)
            throws SQLException
            List driverProperties   = new ArrayList();
            Driver driver           = DriverManager.getDriver(url);
            if (driver != null)
                DriverPropertyInfo[] info = driver.getPropertyInfo(url, null);
                if (info != null)
                    driverProperties    = Arrays.asList(info);
            return driverProperties;
         * Clean up the connection
        public void close()
            close(this.connection);
         * Execute ANY SQL statement
         * @param SQL statement to execute
         * @returns list of row values if a ResultSet is returned,
         * OR an altered row count object if not
         * @throws SQLException if the query fails
        public Object executeSQL(final String sql) throws SQLException
            Object returnValue;
            Statement statement = null;
            ResultSet rs = null;
            try
                statement = this.connection.createStatement();
                boolean hasResultSet    = statement.execute(sql);
                if (hasResultSet)
                    rs                      = statement.getResultSet();
                    ResultSetMetaData meta  = rs.getMetaData();
                    int numColumns          = meta.getColumnCount();
                    List rows               = new ArrayList();
                    while (rs.next())
                        Map thisRow = new LinkedHashMap();
                        for (int i = 1; i <= numColumns; ++i)
                            String columnName   = meta.getColumnName(i);
                            Object value        = rs.getObject(columnName);
                            thisRow.put(columnName, value);
                        rows.add(thisRow);
                    returnValue = rows;
            else
                int updateCount = statement.getUpdateCount();
                returnValue     = new Integer(updateCount);
            finally
                close(rs);
                close(statement);
            return returnValue;
         * Close a database connection
         * @param connection to close
        public static final void close(Connection connection)
            try
                if (connection != null)
                    connection.close();
                    connection = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a statement
         * @param statement to close
        public static final void close(Statement statement)
            try
                if (statement != null)
                    statement.close();
                    statement = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a result set
         * @param rs to close
        public static final void close(ResultSet rs)
            try
                if (rs != null)
                    rs.close();
                    rs = null;
            catch (SQLException e)
                e.printStackTrace();
         * Close a database connection and statement
         * @param connection to close
         * @param statement to close
        public static final void close(Connection connection, Statement statement)
            close(statement);
            close(connection);
         * Close a database connection, statement, and result set
         * @param connection to close
         * @param statement to close
         * @param rs to close
        public static final void close(Connection connection,
                                       Statement statement,
                                       ResultSet rs)
            close(rs);
            close(statement);
            close(connection);
    }%

  • How to find the sessions connected to oracle through application server?

    Hi all,
    i want to restrict my application server users from the deletion of the data in my database.
    for this i was try to find out the application name from v$session but it is showing some application names and some blanks. i need to find out the application server name, so that i can restrict the users in product user profile.
    is there any view to find the sessions and applications which are connected to oracle database?
    Thanks,
    Sandeep

    hi pavan,
    Even whne the privileges are revoked, the java application(users) can able to delete data in the database schema through the java application.
    please suggest me on this?
    --sandeep                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to increase the JDBC connections peroformacnce

    Hi Iam new to Weblogic admin
    We are using weblogic 10. in solaries + oracle database env
    We are facing the slowness issue for internet application users, after submitting the user name and password, user will not get any response from the application except blank page,
    I have observed that there are somany; more than 200 Waiting For Connection Total. This will increase in peak time.
    wii this is the cause for the issue or if any other.
    Please suggest us to resolve the issue.
    Edited by: user11103866 on May 8, 2009 2:12 AM

    more than 200 Waiting For Connection Total.<<This is from a JDBC pool? If so, then you have more users than your pool can handle.
    How many initial / maximum connections does this particular pool allow, and how many servers are within your cluster?
    What is your applicaiton's session timeout value?
    Ask your DBA how many connections the database currently allows.
    You can also configure the shrink period of the pool if your user sessions are short, or if your users are not logging out ( which results in their session holding a connection until the session times out ).
    Are you seeing Leaked Connections ( you can configure the console to report these )?

  • How to increase the max connections for business rules.

    How and where to increase the connection to EAS.currently we have max connection as 20.Also please let me know,what is the maximum connection we can increase.
    In our system totally,we have 350 users are present.
    when more that 20 users running the business rule,EAS is stopped.

    You can find this in the application property section in planning. Just navigate to Manage Properties and update the JDBC max connections and JDBC Olap connections to your desired number.

  • How to make new database connection using Oracle BI Interactive Dashboards

    Hi,
    I install Oracle BI Intelligence on my system.
    I am using Oracle BI Interactive Dashboard. Here we have default database connection.
    but now i want to use it for my own database. Can any body give me guideline how to
    make a new data base connection using this s/w or how to connect to my database so
    that i can make my own reports.
    I am using
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/saw/saw.html
    this link.
    i make odbc connection which is fine.
    but
    Restoring the Business Intelligence Presentation Catalog and Updating Metadata
    The third point blow above heading is not clear.
    Thanks

    Umesh - in order to build Answers and Dashboard content you must first setup a Physical model, then a Business model, followed by a Presentation Catalog/Subject Area.
    All these tasks are carried out using the Repository Administration Utility.
    1) Import your physical tables using OCI/ODBC into the physical layer.
    2) Build your model
    3) Deploy
    Then you're ready to start building answers/dashboards.
    Good Luck.

  • How to use bind_variable for connectivity between Oracle and SQLServer 2005

    The code specified below could be used as an example of how to call a remote SQLServer 2005 procedure from Oracle.
    The problem I am facing is that I am not able to use the dbms_hs_passthrough.bind_variable without exceptions.
    Could someone help me out on this?
    declare
    CREATE PROCEDURE dbo.OrcaMessageTranslator
    @inp nvarchar(255),
    @outp nvarchar(255) output
    AS
    BEGIN
    select @outp = @inp+'output'
    END
    c integer;
    nr integer;
    inp varchar2(255);
    outp varchar2(255);
    sql_stmt varchar2(32767);
    begin
    dbms_output.put_line('call SQLServer procedure OrcaMessageTranslator');
    dbms_output.put_line('value of input variable inp is HowToReplaceThisValueByBindVariable ');
    sql_stmt := 'DECLARE @outp nvarchar(255)
    EXEC dbo.OrcaMessageTranslator
    @inp = N''HowToReplaceThisValueByBindVariable'',
    @outp = @outp OUTPUT
    SELECT @outp as N''@outp''';
    c := dbms_hs_passthrough.open_cursor@pp_preorca;
    dbms_hs_passthrough.parse@pp_preorca(c,sql_stmt);
    nr := dbms_hs_passthrough.fetch_row@pp_preorca(c);
    dbms_hs_passthrough.get_value@pp_preorca(c, 1, outp);
    dbms_hs_passthrough.close_cursor@pp_preorca(c);
    dbms_output.put_line('acquired value of output variable outp is '||outp);
    end;

    Hi,
    BIND_VARIABLE is useful when you have only IN variable but in your case you have IN and OUT.
    I don't know if you use the gateway for MS SQL SERVER or HSODBC/DG4ODBC but here how you can do to call a remote procedure with bind variables:
    DECLARE
    ret integer;
    inp varchar2(255);
    outp varchar2(255);
    BEGIN
    inp :='Hello World';
    outp :='';
    ret := "dbo"."in_out_proc_test"@tg4msql( inp, outp);
    dbms_output.put_line('Input value: ' ||v_ut1||' - Output value: '||v_ut2);
    END;
    The MS SQL Server procedure belongs to the user "dbo" and the database link
    being used is tg4msql.
    The following line initilaize the out variables of the procedure with an
    empty string:
    outp :=''
    I hope it helps you.
    Regards
    Mireille

  • How to increase java_pool_size and shared_pool_size in oracle 9i?

    Friends,
    OS: RHEL AS 3
    db: 9iR2( 9.2.0.8)
    when i run the patch catpatch.sql....at the middle of the process.....there was a message says to check the size of the java_pool_size and shared_pool_size then it stops.
    now can i increase java_pool_size and share_pool_size?
    Also, what was the size of java_pool_size and share_pool_size by default?
    upto which size i can increase the both?
    thanks

    Also see MOS Doc 262951.1 (Minimum recommended Database parameter values when migrating to Oracle 9.0.1.X/9.2.0.X)
    HTH
    Srini

  • How to increase the screen resolution of oracle linux 4 in vmware?

    I have installed Oracle Linux Release 4 Update 8 for x86 (32 Bit) - DVD V16749-01 on vmaware for running oracle database 10g xe on my laptop. But its screen resolution is not greater than 800x600, (800x600 very small for my laptop which have 1366x768 screen resolution). Please provide any plugin or software that can increase the resolution of oracle linux 4 in vmare.
    my laptop: hp pavilion dm4 1222tx , O.S. windows 7 (home basic) 64 bit.
    thanks in advance.

    You will need to extract the contents of the compressed tar.gz archive and run the vmware-install.pl perl script as sudo or root.
    - Open Terminal from the Applications/System Tools Menu inside the Guest OS
    - Type "su -" and enter the password for root
    - Type "cd /etc/yum.repos.d"
    - Type "wget http://public-yum.oracle.com/public-yum-el4.repo"
    - Edit public-yum-el4.repo and set enabled=1 of the corresponding section matching your OEL version.
    - Install additional software packages typing "yum install kernel-headers kernel-devel gcc"
    - Select Install/Upgrade VMware Tools from the VM/Guest menu
    - Type "cd /media/cdrom"
    - Type "tar -C /tmp -zxvf /media/cdrom/VMwareTools-8.8.2-590212.tar.gz"
    - Type "cd /tmp/vmware-tools-distrib"
    - Type "./vmware-install.pl"

  • How to increase the buffer size for Oracle?

    After I installed the patch 9.2.0.4, I kept getting 'ORA-03113: end-of-file on communication channel' error. According to the metalink, increasing the buffer size may solve this problem. I found when I set the trace on, this problem was gone, and after I set the trace off, it came back again. I am not sure if setting the trace on increases buffer size automatically or not, but I want to start from here.
    No matter how easy it is, I really didn't change buffer size before, can anyone show me how to do that?
    Thanks a lot.

    Hi,
    I think they asked to increase the db buffer cache size. You may try this
    alter system set db_cache_size=<new size in bytes> scope=both;
    Cheers
    Muneer

  • How to Increase number of oacore jvm's in EBS 12.1

    Hi,
    Does anybody know of a document showing how we increase the number of jvm's for the oacore in EBS 12.1 ? I found some google searches detailing changing the opmn.xml file but I would like to see a document detailing which references need to changed.
    Also it is often stated that 1 jvm should configured for each cpu and best practice should be a 1 jvm should be configured for 2 cpu's. Does the type of processor effect this rule, is this as valid for a risc processor and a intel processor.
    Thanks
    Mike

    Please see these docs.
    Guidelines to setup the JVM in Apps Ebusiness Suite 11i and R12 [ID 362851.1]
    How To Prevent Inactive JDBC Connections In Oracle Applications [ID 427759.1]
    Thanks,
    Hussein

  • How to increase I/O throughput?

    How to increase I/O throughput in oracle 10g?

    That looks like a slice from a 10.2 AWR report which - if we assume the standard one-hour snapshot and report - means you've done 8 million multiblock reads at an average of 3 milliseconds per read in a single hour.
    Multiblock reads of this type are typically tablescans or index fast full scans - so why are you doing so much I/O if this type. The fact that your read times are so low means you are getting a lot of help from caches (file system or SAN) or read-ahead (SAN). When a SAN goes into read-ahead for large tablescans the single block random I/Os (db file sequential reads) suffer as a consequence. (And you have done quite a lot of those anyway).
    Look at the top queries in the 'SQL ordered by physical reads' - check if they're doing what they're supposed to be doing, and then check their execution paths (using the script $ORACLE_HOME/rdbms/admin/awrsqrpt.sql) to see if the execution paths are sensible. The simplest explanations are that you have badd (or missing) statistics, or bad (or missing) indexes.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk

  • Proxy user connection in oracle form10g

    Dear All,
    Any one could help me out how to use proxy user connection in oracle form10g ?
    proxyapp[SCOTT]/proxyapp@orcl which is running fine is database side i like to use this user in oracle forms 10g and would like to know the syntax of connection .
    Thanks & Regards
    zeeshan

    Do you know if there is there anyway to use proxy users without using OAM? It is working fine for us assuming the combined prox_user[real_user] does exceed 30 characters .... Need to expand the forms user id field ...???

  • How to Increase TableSpace

    Hi All,
    This is angeline, I have question how to Increase Table Space using NW2004s/Oracle 10g/OS 2003 server
    I check DB02 in SAP, I think I have to increase SAPSR3 Tablespace... can you please tell me how to do that step by step using BR-SPACE
    Tablespace name     Size(MB)     Free(MB)     Used(%)     Autoextend     Total size(MB)
    PSAPSR3          24600.00     692.25     97     YES     40000.00
    PSAPSR3700     24000.00     7058.06     71     YES     30000.00
    PSAPSR3DB          10000.00     6226.13     38     YES     30000.00
    PSAPSR3USR     20.00     19.31     3     YES     10000.00
    PSAPTEMP          980.00     978.00     0     YES     10000.00
    PSAPUNDO          8900.00     5.00     100     YES     10000.00
    SYSAUX          200.00     25.38     87     YES     10000.00
    SYSTEM          780.00     335.44     57     YES     20000.00
    Your answer will be really appriciated
    Angeline

    sorry to burst your bubble,  but this is a very basic question that can be answered  by basic training (ADM100) or even better yet, Google searching.
    I'll be a good sport and give you the program name to look for:  BRSPACE
    Good luck.

Maybe you are looking for