Connection pool with the OAS and the optimal value of min/max

Hello world


I have ", works with admin app to implement under oracle application server connection pool. The current value is min = 0, max = unlimited which I think means not implemented connection pool.

Anyway I don't have a lot of information on connection pooling, I searched the forums, but I'm not able to find any useful information.


My Manager would like to know what is the optimal value for min/max for the database, is there a specific formula or a tool that can help me on this issue?


Thanks in advance.

Hello

It's a specific formula or a tool that can help me on this issue?

The value that you specify for the number of connections and connections Min depends on a combination of factors, including the size and configuration of your database server and the type of the SQL operations that
your application runs.

For connection pooling,.
First, check what is the value of 'process' located on the end of DB (for your current value, check v$ resource_limit at the end of db)...
for example if the process is set to "1000", you cannot set the maximum value of the connection pool to the end server application above 1000 it will crash your database.

now on the server side Application.
As a best practice, set the maximum number of open connections and Minimum of connections open to the same value.

For more details on connection pool and its settings.
Check "Setting Up Data Sources - Performance Issues" of the link pdf below

docs.oracle.com/cd/B14099_19/core.1012/b14001.pdf

Hope that it would be useful

Concerning
Fabian

Tags: Fusion Middleware

Similar Questions

  • What do I have to remove the battery from my PC when I connect it with the cable?

    So that the battery do not damaged.
    What do I have to remove the battery from my PC when I connect it with the cable?
    Tell me what I need to do for that battery not damaged

    Hi mate,
    Don t worry, just use your machine and leave your battery in your machine, because an electronic load look at your battery, so no damage will be caused.

    You know, technology is in fact at a good level and I think it s ok to operate your machine with cables and battery SET. :

    Greetings

  • connection Bluetooth with the mobile phone cannot be established

    HP pavilion laptop g6 with windows 7.

    connection Bluetooth with the mobile phone cannot be established, all drivers were dated until, when it is associated with my phone samsung smart, driver downloads and everything is ready for use.but when click the smart phone

    It shows offline and it said no device ID is given,

    What to do, please help

    my portable BT device is defective? or some other problem, has also tried to connect other phones too, but same problem.

    Rgds,

    Hello

    I just want if sure that you have the right driver installed from this first link provided in the answer from the Support Engineer. If you click this link, then clikc the first option 'Use the device in Windows 7 Troubleshoot utility' need you a paragraph with a link to the appropriate driver.
    I will link here just to make sure.
    It's the right driver you need. Please verify that this is the one that you have installed and do we know the results.
  • If I have the two LOV in the same table then how to connect when I select first and second LOV value also change?

    Mr President

    If I have the two LOV in the same table then how to connect when I select first and second LOV value also change?

    My two fields are FLOW AND DR_NAME

    FLOW = ACCT_ID

    DR_NAME = ACCT_NAME

    I created with success of LOV for these fields.

    First LOV gives acct_id in the debit field and second LOV gives the value of acct_name to dr_name.

    How can I report these lov, it's that when I change my acct_id then acct_name also change

    I have these two tables

    CREATE TABLE "NOM"  (
      "ACCT_ID" VARCHAR2(7) NOT NULL ENABLE, 
      "ACCT_NAME" VARCHAR2(50) NOT NULL ENABLE, 
      "O_BAL" NUMBER(13,2),
      CONSTRAINT NOM_PK PRIMARY KEY ("ACCT_ID")ENABLE
       
       );
    CREATE TABLE "VOUCHERDET" (
      "V_ID" VARCHAR2(9) NOT NULL ENABLE,
      "LINEITEM" NUMBER ,
      "DEBIT" VARCHAR2(7) , 
      "DR_NAME" VARCHAR2(50), 
      "CREDIT" VARCHAR2(7) , 
      "CR_NAME" VARCHAR2(50), 
      "PARTICULARS" VARCHAR2(100), 
      "AMOUNT" NUMBER(21,2),
    CONSTRAINT VOUCHERDET_PK PRIMARY KEY ("V_ID","LINEITEM")ENABLE, 
    CONSTRAINT PUR_SAL_LINE_POD_FK FOREIGN KEY(PROD_ID)
      REFERENCES PRODUCTS (PROD_ID)ENABLE,  
    CONSTRAINT VOUCHERDET_DEBIT_FK FOREIGN KEY ("DEBIT")
       REFERENCES "NOM" ("ACCT_ID") ENABLE, 
    CONSTRAINT VOUCHERDET_CREDIT_FK FOREIGN KEY ("CREDIT")
       REFERENCES "NOM" ("ACCT_ID") ENABLE,  
    CONSTRAINT VOUCHERDET_V_FK FOREIGN KEY ("V_ID")
       REFERENCES "VOUCHER" ("V_ID") ON DELETE CASCADE ENABLE
      );
    
    

    Concerning

    so, instead of this second ActId, choose ACCT_NAME:

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • I'm looking to move from Windows/Apple/logic and Cubase Cubase. My questions have to do with the current (2014) Mac mini, specifically the i5 $999 2.8 GHz with 8 GB of RAM. This computer will be powerful enough to run the current logic without any pr

    I'm looking to move from Windows/Apple/Logic Pro X and Cubase Cubase.

    My questions have to do with the current (2014) Mac mini, specifically the i5 $999 2.8 GHz with 8 GB of RAM.

    This computer will be powerful enough to run Logic Pro X DAW and Cubase 8 courses without any problem?

    I would say yes, but I post here too:

    Logic Pro

  • When I delete the "screensaverissecure" with the registry value, it reappears again in the registry after I stop and start the system the next day. Help, please

    When I delete the "screensaverissecure" with the registry value, it reappears again in the registry after I stop and start the system the next day. Help, please
    use widows xp

    Hello

     
    1. Have you tried to Hibernate for ever in the power settings option?
     
    To resolve this problem, you can follow the steps below.
     
    (a) click and start
    (b) type power Option in the start search bar.
    (c) now select click Change plan for the current plan of the selected power.
    (d) now click on advanced power settings.
    (e) scroll down and click on the sign more next to sleep.
    (f) now click on allow the eve hybrid and turn it off.
    (g) click on the option put into hibernation after and set it to never.
     
  • Updated with the hash values column

    Hi all

    I have a requirement to add a column to a table and fill it with the hash values. The table contains an xml column and hash value of this column need to be filled to newly added column. I think that the ora_hash function will not support the xml type column. Just tested with the following script and it works.

    update TBL_COMPONENT_XSL set hash_val = ora_hash((SELECT TCX.COMPONENT_XSL.getStringVal() FROM TBL_COMPONENT_XSL TCX where rownum =1));
    

    can you please suggest me how to fill the column with the hash values.

    SQL> desc TBL_COMPONENT_XSL
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     COMPONENT_XSL_ID                          NOT NULL NUMBER(18)
     LINE_OF_BUSINESS                          NOT NULL VARCHAR2(30)
     ORDER_SOURCE                              NOT NULL VARCHAR2(10)
     COMPONENT_NAME                            NOT NULL VARCHAR2(30)
     COMPONENT_SCHEMA_VERSION                  NOT NULL NUMBER(9)
     ACCESS_LEVEL                              NOT NULL VARCHAR2(30)
     COMPONENT_XSL                             NOT NULL SYS.XMLTYPE STORAGE BINARY
     DESCRIPTION                               NOT NULL VARCHAR2(200)
     HASH_VAL                                           NUMBER
    
    

    HASH_VAL is the newly added column.

    Thank you

    Mani

    What happens if you try with:

    update of TCX TBL_COMPONENT_XSL set hash_val = ora_hash (TCX.COMPONENT_XSL.getStringVal ());

    update of TCX TBL_COMPONENT_XSL set hash_val = ora_hash (TCX.COMPONENT_XSL.getClobVal ());

    Index: http://www.orafaq.com/forum/t/70829/

    Concerning

    Girish Sharma

  • Parameters of the obsolete system with the specified values:

    Hello

    I'm in the alerts log below:

    Parameters of the obsolete system with the specified values:
    REMOTE_OS_AUTHENT

    It IS this setting is suppotable in 11G and also how can I remove it from SP. with bounce of the instance.

    Thank you...

    (1) it is frowned upon in 11 g such as er your alert log message. http://docs.Oracle.com/CD/B28359_01/server.111/b28320/initparams199.htm

    (2) define it in your spfile false who will return to the default value. This cannot be changed dynamically and you will need to restart your instance.

    alter system set remote_os_authent=false scope=spfile;
    
  • update to column values (false) in a copy of the same table with the correct values

    Database is 10gr 2 - had a situation last night where someone changed inadvertently values of column on a couple of hundred thousand records with an incorrect value first thing in the morning and never let me know later in the day. My undo retention was not large enough to create a copy of the table as it was 7 hours comes back with a "insert in table_2 select * from table_1 to timestamp...» "query, so I restored the backup previous nights to another machine and it picked up at 07:00 (just before the hour, he made the change), created a dblink since the production database and created a copy of the table of the restored database.

    My first thought was to simply update the table of production with the correct values of the correct copy, using something like this:


    Update mnt.workorders
    Set approvalstat = (select b.approvalstat
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi)
    where exists (select *)
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi)

    It wasn't the exact syntax, but you get the idea, I wanted to put the incorrect values in x columns in the tables of production with the correct values of the copy of the table of the restored backup. Anyway, it was (or seem to) works, but I look at the process through OEM it was estimated 100 + hours with full table scans, so I killed him. I found myself just inserting (copy) the lines added to the production since the table copy by doing a select statement of the production table where < col_with_datestamp > is > = 07:00, truncate the table of production, then re insert the rows from now to correct the copy.

    Do a post-mortem today, I replay the scenario on the copy that I restored, trying to figure out a cleaner, a quicker way to do it, if the need arise again. I went and randomly changed some values in a column number (called "comappstat") in a copy of the table of production, and then thought that I would try the following resets the values of the correct table:

    Update (select a.comappstat, b.comappstat
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi - this is a PK column
    and a.comappstat! = b.comappstat)
    Set b.comappstat = a.comappstat

    Although I thought that the syntax is correct, I get an "ORA-00904: 'A'. '. ' COMAPPSTAT': invalid identifier ' to run this, I was trying to guess where the syntax was wrong here, then thought that perhaps having the subquery returns a single line would be cleaner and faster anyway, so I gave up on that and instead tried this:

    Update mnt.workorders_copy
    Set comappstat = (select distinct)
    a.comappstat
    mnt.workorders a, mnt.workorders_copy b
    where a.workordersoi = b.workordersoi
    and a.comappstat! = b.comappstat)
    where a.comappstat! = b.comappstat
    and a.workordersoi = b.workordersoi

    The subquery executed on its own returns a single value 9, which is the correct value of the column in the table of the prod, and I want to replace the incorrect a '12' (I've updated the copy to change the value of the column comappstat to 12 everywhere where it was 9) However when I run the query again I get this error :

    ERROR on line 8:
    ORA-00904: "B". "" WORKORDERSOI ": invalid identifier

    First of all, I don't see why the update statement does not work (it's probably obvious, but I'm not)

    Secondly, it is the best approach for updating a column (or columns) that are incorrect, with the columns in the same table which are correct, or is there a better way?

    I would sooner update the table rather than delete or truncate then re insert, as it was a trigger for insert/update I had to disable it on the notice re and truncate the table unusable a demand so I was re insert.

    Thank you

    Hello

    First of all, after post 79, you need to know how to format your code.

    Your last request reads as follows:

    UPDATE
      mnt.workorders_copy
    SET
      comappstat =
      (
        SELECT DISTINCT
          a.comappstat
        FROM
          mnt.workorders a
        , mnt.workorders_copy b
        WHERE
          a.workordersoi    = b.workordersoi
          AND a.comappstat != b.comappstat
      )
    WHERE
      a.comappstat      != b.comappstat
      AND a.workordersoi = b.workordersoi
    

    This will not work for several reasons:
    The sub query allows you to define a and b and outside the breakets you can't refer to a or b.
    There is no link between the mnt.workorders_copy and the the update and the request of void.

    If you do this you should have something like this:

    UPDATE
      mnt.workorders     A      -- THIS IS THE TABLE YOU WANT TO UPDATE
    SET
      A.comappstat =
      (
        SELECT
          B.comappstat
        FROM
          mnt.workorders_copy B   -- THIS IS THE TABLE WITH THE CORRECT (OLD) VALUES
        WHERE
          a.workordersoi    = b.workordersoi      -- THIS MUST BE THE KEY
          AND a.comappstat != b.comappstat
      )
    WHERE
      EXISTS
      (
        SELECT
          B.comappstat
        FROM
          mnt.workorders_copy B
        WHERE
          a.workordersoi    = b.workordersoi      -- THIS MUST BE THE KEY
          AND a.comappstat != b.comappstat
      )
    

    Speed is not so good that you run the query to sub for each row in mnt.workorders
    Note it is condition in where. You need other wise, you will update the unchanged to null values.

    I wouold do it like this:

    UPDATE
      (
        SELECT
          A.workordersoi
          ,A.comappstat
          ,B.comappstat           comappstat_OLD
    
        FROM
          mnt.workorders        A      -- THIS IS THE TABLE YOU WANT TO UPDATE
          ,mnt.workorders_copy  B      -- THIS IS THE TABLE WITH THE CORRECT (OLD) VALUES
    
        WHERE
          a.workordersoi    = b.workordersoi      -- THIS MUST BE THE KEY
          AND a.comappstat != b.comappstat
      ) C
    
    SET
      C.comappstat = comappstat_OLD
    ;
    

    This way you can test the subquery first and know exectly what will be updated.
    This was not a sub query that is executed for each line preformance should be better.

    Kind regards

    Peter

  • An update on an index column with the same value generates an index to the top

    An update on an index column with the same value generates an update of the index?


    Thank you

    In addition to my previous answer, see also

    http://orainternals.WordPress.com/2010/11/04/does-an-update-statement-modify-the-row-if-the-update-modifies-the-column-to-same-value/

    Riyaj Shamsudeen has this to say:
    "+ We have an index on this column v1 and we update this column indexed too." Oracle was updating the indexed column? N ° if the values match the level of the indexed column, then the code of RDBMS isn't up-to-date index, a feature for optimization again. Only the row of table is updated, and the index is not updated. + "

    Hemant K Collette

  • How to compare the new values with the old values in triggers.

    Dear all,

    Please tell me how to compare the new values with the old values in triggers.

    Hi, the employee example is in the document. You'd better read yourself.

    CREATE OR REPLACE TRIGGER Print_salary_changes
      BEFORE DELETE OR INSERT OR UPDATE ON Emp_tab
      FOR EACH ROW
    WHEN (new.Empno > 0)
    DECLARE
        sal_diff number;
    BEGIN
        sal_diff  := :new.sal  - :old.sal;
        dbms_output.put('Old salary: ' || :old.sal);
        dbms_output.put('  New salary: ' || :new.sal);
        dbms_output.put_line('  Difference ' || sal_diff);
    END;
    /
    
  • compare the value of previous line with the current value

    I need to compare the previous value with the current value. All Oracle functions could there be to do?
    Something similar as a result.
    If previous (Amt {}) > Current (({Amt}) then 0 Else Null.)

    Something like that?

    SQL> WITH test_data AS
      2  (
      3          SELECT 107019 AS ID, 1583 AS AMT FROM DUAL UNION ALL
      4          SELECT 107019 AS ID, 1572 AS AMT FROM DUAL UNION ALL
      5          SELECT 107019 AS ID, 1572 AS AMT FROM DUAL
      6  )
      7  -- END SAMPLE DATA
      8  SELECT  ID
      9  ,       (CASE
     10                  WHEN LAG(AMT,1) OVER (PARTITION BY ID ORDER BY ID) = AMT THEN NULL
     11                  ELSE AMT
     12          END) AS AMT
     13  FROM test_data;
    
            ID        AMT
    ---------- ----------
        107019       1583
        107019       1572
        107019
    
  • Requests for details of the seller for a Min Max

    Hi all
    When Max Min trigger interface requisition lines, we must get the seller details also filled.
    This has put in place to get these. Because when I run a Min - Max planning report, I don't get the details of the seller.
    We have, in fact, we have one with one provider and the location of the seller
    Help, please.

    OK so everything sounds good... can you confirm that created requisitions (once this audit is performed) are triggered by the execution of State Min - Max. You can check these below 2 audits

    (1) type of source req will be Inv

    (2) the date of creation request must match with your execution time of State mini-maxi and the item, qty should be report to article output values and Reorder Qty

  • Compaq Presario desktop XP-problems connecting / came with the settings and files of the previous owner

    My Director ex-chorale of the Church and his wife (was his computer) moved to Minnesota and gave me this Compaq Tower and the monitor speakers.  She cleaned me all of hers off the coast.  Well, she didn't.  She switched to the network connection and modem.  I'm low on memory.  Help support & the beginning, Compaq support and connections says "unable to connect to the server."  I have fast Internet with Comcast cable.  His modem is Gegere or something and the network connection is RealTek 97 Fast family and mine is Arris (modem).  Specifications of the computer:

    XP Edition family c. 2002 SP3

    Compaq Presario Intel inside Celeron (R)

    CPU 2.53 GHz

    248 MB of RAM

    CD player works but the DVD player does not open.  Connection is so slow that it takes 5-10 minutes to open anything.  IE8 gets constantly "stops responding."  Just like Firefox.  When you try to close a window or stop start, end the program box comes back and comes back again and again.

    Went to start-help & support-Compaq help and did some tests.  For Audio, etc. get: "Exception in DisplayRunMap.runmap.

    Only had this computer for 2 weeks and did nothing to save.  Can reinstall Norton Security Suite for Comcast and my Microsoft Professional 2007 from a cd.  Thought to do the system recovery.  This OS came with Compaq and recovery CD system recovery option and there is F - 10 System Recovery on initialize toward the top.  Are they the same?  I first have to install Windows XP on a bunch of CD?  Can't make a DVD if the drive does not open.  The button is loose and nothing happens.

    I am 63 and security social disability so can not afford a new computer, or to hire a technician.  Help, please!

    When you request support, please provide the number full name or product model of the HP computer in question. HP/Compaq made thousands of computer models. Without this information, it can be difficult, even impossible to help you solve your problem.

    The above requested information on the side, back, or bottom of your computer. , Please do not include your serial number.

    The 'F10' and Compaq system recovery of Windows XP system recovery are the same thing. You don't need to create "HP recovery discs" before making a recovery, but you may need these disks at a later date. If a set of disks has already been created, you will not be able to create a second series and you may need to buy a game from a third-party vendor.  With the complete model number name and/or product will allow us to direct you to a place to buy these records, if necessary.

    Please click the White Star of KUDOS to show your appreciation

Maybe you are looking for