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
.........

Similar Messages

  • Should I specify the Parallel parameter for an non-RAC database?

    The Oracle documatation state as the following:
    "The Oracle Database 10g Release 2 database controls and balances all parallel operations, based upon available resources, request priorities and actual system load." It show that Oracle can optimize the Parallel level automaticly.
    Should I specify the Parallel parameter for a non-RAC database? Most of the transactions are small OLTP.

    What parallel parameter are you talking about?
    Generally, you may benefit from parallelization in a very similar manner on RAC as on single instance system. And it is in both cases not sufficient to change the value of any initialization parameter to achieve parallelization of queries, DDL or DML.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Kernel parameter for zones

    Hi everybody,
    I trying to install Oracle Application server in solaris native zone. I am getting the following error " Oracle application Server 10g Web Cache requires the kernel parameter rlim_fd_max to be set to a valuse of 65536 or higher. Please set rlim_fs_max to 65536 or higher , reboot the machine asn restart the installation.
    but the value is already set to same value
    $ ulimit -Hn
    65536
    Any idea how set this value for zone ?
    Thanks
    John

    Sorry, doubled response
    Edited by: brusell on Jun 10, 2010 4:24 AM

  • How to setup HPUX kernel parameter for ulimit ?

    Dear ,I have a problem on HPUX for installation of Essbase. The error is come from "ulimit -s 32000". How to tune kernel parameter ? I had checked every documents. No one said about it.Thanks !Vincent Lu

    You are right, table is GL_PERIOD_SETS
    For Accounting Calender info typically the PERIOD_SET_NAME is used
    for Accounting Calendar name

  • Determining OS Kernel parameter settings in HP ITANIUM

    Hi
    Can any one help me out to determine the depedant OS kernel parameters settings in HP IA-64 for Oracle database 10.2.0.4 after increasing the processes parameter value in the database level .
    As after increasing the processes parameter to 10000 , we are getting n number of issues related to one or the other OS kernel parameter , so we want to take one single downtime and settle all the issues.
    Regards,
    Phani Kumar P

    Hi
    Acutally we already increased the processes parameter to 10000 by modifying nproc value to 30000 , now we are receiving issues respect to database as below and inturn there is problem in getting connected to the database giving ora-12502 error
    Errors in file /ora/newdump/ACEPROD/udump/aceprod1_ora_4712.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-27504: IPC error creating OSD context
    ORA-27300: OS system dependent operation:bind failed with status: 227
    ORA-27301: OS failure message: Can't assign requested address
    ORA-27302: failure occurred at: sskgxpcre3
    kkjcre1p: unable to spawn jobq slave process
    Tue Jan 5 18:28:57 2010
    Errors in file /ora/newdump/ACEPROD/bdump/aceprod1_cjq0_20387.trc:
    So now we want to fix the issues by setting optimal values for OS Kernel parameter for NPROC value equals 30000.
    Regards,
    Phani Kumar p
    +919948677317

  • Best SQL Challenege: TSQL Query Maximum Concurrent Connections (Participants)

    Hi All,
    I have a table called dbo.PhoneCalls with below columns
    PhoneID |PhoneNumber| Callstarttime| CallEndtime|
    1 |111-111-1111|2013-04-01 05:13:03.000|2013-04-01 05:13:03.000
    1 |222-222-2222|2013-04-01 05:15:12.000|2013-04-01 05:16:52.000
    2 |333-333-3333|2013-04-01 05:17:29.000|2013-04-01 05:24:08.000
    2 |444-444-4444|2013-04-01 05:21:50.000|2013-04-01 05:22:31.000
    2 |555-555-5555|2013-04-01 05:22:41.000|2013-04-01 05:23:11.000
    2 |666-666-6666|2013-04-01 05:23:20.000|2013-04-01 05:23:46.000
    1. PhoneID is nothing but the participant in the call. PhoneID = 1 is twice from above. Which means 2 particpants (Same call
    )with 2 numbers with their callstarttime and callendtime. Similarly for PhoneID =2, there are 4 participants. And the list goes on for a day and then for a month.
    2. For example a phone call P1 with 2 participants is going on for a particular day. We should not consider the same phone
    call having 2 participants involved. So that the concurrency would be 2. We have to ignore that here. 
    3. Only to be considered is other Phone calls for that day. Lets say P1 having call with 2 participants, P2 having some 4 participants
    which fall in the time period of P1. Then we should consider P1 and P2 the common period
    4. In order to find number of concurrent calls happened for a day basing on callstarttime and callendtime. What would be the
    query?
    5. Should consider the Timeperiod or the bucket with 1 hour as the period.
    6. A Phone Call P1, Phone Call P2, should have matching (common) time ( keeping all the scenarios) is required for this query.
    Result for Concurrent calls for a day should be like below. Should get all the concurrent connections happened for a particular
    day.
    Date|TimePeriod/Bucket(hr part)|Concurrentconnections|
    Jan-01-2015|01 to 02|3
    Jan-01-2015|11 to 12|2
    Jan-02-2015|04 to 05|5
    Jan-02-2015|12 to 13|13
    ii) So once the above is achieved.
    Have to find the Maximum concurrent connections for day from the above.
    For below Maximum Concurrent connections are '3'
    Date|TimePeriod/Bucket(hr part)|Concurrentconnections|
    Jan-01-2015|01 to 02|3
    Jan-01-2015|11 to 12|2
    Hence the Result for Maximum Concurrent Connections would be
    Date|TimePeriod/Bucket(hr part)|MaxConcurrentconnections|
    Jan-01-2015|01 to 02|3
    Jan-02-2015|12 to 13|13

    Thanks George.
    That was fantastic.
    But 
    But I don't want  the participants to be concurrent in the same call. And should consider the different call.
    Lets say Phone Call P1 having 2 participants , obviously they are concurrent according to that call.
    Only the Phone calls with more than one participant should match with other phone call with more than one participant.
    A Phone call with any number of participants not matching with the time slot of other phone call should be ignored.
    There might be a different call say P2, having some 3 participants at the same time or atleast fall in P1's time slot.
    So
    P1 --> 2 participants ---> start hour 10:00am  ; End Hour 12:00pm
    P2 --> 3 participants ---> start hour 10:30am ; End hour 12:30 pm
    P3 --> 4 participants ----> start hour 11:00am ; End hour 11:10am
    So the concurrency should ignore for P1 and should consider for P2 and P3. From above P2 having 3 participants, P3 having 4 participants. So the common time for all P1,P2,P3 is 11:00am - 11:10am.
    Concurrency should be
    Starthour    EndHour  ConConnections
    10:00am    11:00am   (2+3+4) ---> 2 for P1, 3 for P2, 4 for P3, because at exactly 11:00am there are 4 participants. So the time bucket or the slab for 1 hour will give us that concurrency at that particular slab. Except that independent
    participants to that call.
    So Result should be
    Start Hour     End Hour            Concurrent Connections
    10:00am       11:00am                      9
    11:00am       12:00pm                      9
    12:00pm       01:00pm                      5

  • Anybody know the maximum channel, concurrent connection limit

    Anybody know the maximum channel that can be set and the maximum concurrent connection that listener can support for WebSphere 6.0 Solaris.
    One more question, please correct if I'm wrong; in order to set above value, I have to modify qm.ini as below:
    TCP:
    Port=1414
    KeepAlive=YES
    ListenerBacklog=800 --------> for maximum concurrent connection that listener supports
    Channels:
    MaxChannels=1000 ----------> for maximum channel for QManager
    MaxActiveChannels=1000
    Every suggestions would be appreciated.

    Not really sure what you mean by "half-closing" and the question you're asking. Can you clarify?

  • HS connection to MySQL fails for large table

    Hello,
    I have set up an HS to a MySql 3.51 dabatabe using an ODBC DNS. My Oracle box has version 10.2.0.1 running in Windows 2003 R2. MySQL version is 4.1.22 running on a different machine with the same OS.
    I completed the connection through a database link, which works fine in SQLPLUS when selecting small MySQL Tables. However, I keep getting an out of memory error when selecting certain large table from the MySQL database. Previously, I had tested the DNS and ran the same SELECT in Access and it doesn't give any error. This is the error thrown by SQLPLUS:
    SQL> select * from progressnotes@mysql_rmg where "encounterID" = 224720;
    select * from progressnotes@mysql_rmg where "encounterID" = 224720
    ERROR at line 1:
    ORA-00942: table or view does not exist
    [Generic Connectivity Using ODBC][MySQL][ODBC 3.51
        Driver][mysqld-4.1.22-community-nt]Lost connection to MySQL server during query
    (SQL State: S1T00; SQL Code: 2013)
    ORA-02063: preceding 2 lines from MYSQL_RMG
    I traced the HS connection and here is the result from the .trc file:
    Oracle Corporation --- THURSDAY JUN 12 2008 11:19:51.809
    Heterogeneous Agent Release
    10.2.0.1.0
    (0) [Generic Connectivity Using ODBC] version: 4.6.1.0.0070
    (0) connect string is: defTdpName=MYSQL_RMG;SYNTAX=(ORACLE8_HOA, BASED_ON=ORACLE8,
    (0) IDENTIFIER_QUOTE_CHAR="",
    (0) CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING=<navobj><binding><datasources><da-
    (0) tasource name='MYSQL_RMG' type='ODBC'
    (0) connect='MYSQL_RMG'><driverProperties/></datasource></datasources><remoteMachi-
    (0) nes/><environment><optimizer noFlattener='true'/><misc year2000Policy='-1'
    (0) consumerApi='1' sessionBehavior='4'/><queryProcessor parserDepth='2000'
    (0) tokenSize='1000' noInsertParameterization='true'
    noThreadedReadAhead='true'
    (0) noCommandReuse='true'/></environment></binding></navobj>
    (0) ORACLE GENERIC GATEWAY Log File Started at 2008-06-12T11:19:51
    (0) hoadtab(26); Entered.
    (0) Table 1 - PROGRESSNOTES
    (0) [MySQL][ODBC 3.51 Driver][mysqld-4.1.22-community-nt]MySQL client ran out of
    (0) memory (SQL State: S1T00; SQL Code: 2008)
    (0) (Last message occurred 2 times)
    (0)
    (0) hoapars(15); Entered.
    (0) Sql Text is:
    (0) SELECT * FROM "PROGRESSNOTES"
    (0) [MySQL][ODBC 3.51 Driver][mysqld-4.1.22-community-nt]Lost connection to MySQL
    (0) server during query (SQL State: S1T00; SQL Code: 2013)
    (0) (Last message occurred 2 times)
    (0)
    (0) [A00D] Failed to open table MYSQL_RMG:PROGRESSNOTES
    (0)
    (0) [MySQL][ODBC 3.51 Driver]MySQL server has gone away (SQL State: S1T00; SQL
    (0) Code: 2006)
    (0) (Last message occurred 2 times)
    (0)
    (0) [MySQL][ODBC 3.51 Driver]MySQL server has gone away (SQL State: S1T00; SQL
    (0) Code: 2006)
    (0) (Last message occurred 2 times)
    (0)
    (0) [S1000] [9013]General error in nvITrans_Commit - rc = -1. Please refer to the
    (0) log file for details.
    (0) [MySQL][ODBC 3.51 Driver]MySQL server has gone away (SQL State: S1T00; SQL
    (0) Code: 2006)
    (0) (Last message occurred 2 times)
    (0)
    (0) [S1000] [9013]General error in nvITrans_Rollback - rc = -1. Please refer to
    (0) the log file for details.
    (0) Closing log file at THU JUN 12 11:20:38 2008.
    I have read the MySQL documentation and apparently there's a "Don't Cache Result (forward only cursors)" parameter in the ODBC DNS that needs to be checked in order to cache the results in the MySQL server side instead of the Driver side, but checking that parameter doesn't work for the HS connection. Instead, the SQLPLUS session throws the following message when selecting the same large table:
    SQL> select * from progressnotes@mysql_rmg where "encounterID" = 224720;
    select * from progressnotes@mysql_rmg where "encounterID" = 224720
    ERROR at line 1:
    ORA-02068: following severe error from MYSQL_RMG
    ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.0.120)(PORT=1521))(CONNECT_DATA=(SID=MYSQL_RMG)))
    Curiously enough, after checking the parameter, the Access connection through the DNS ODBS seems to improve!
    Is there an aditional parameter that needs to be set up in the inithsodbc.ora perhaps? These are current HS paramters:
    # HS init parameters
    HS_FDS_CONNECT_INFO = MYSQL_RMG
    HS_FDS_TRACE_LEVEL = ON
    My SID_LIST_LISTENER entry is:
    (SID_DESC =
    (PROGRAM = HSODBC)
    (SID_NAME = MYSQL_RMG)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    Finally, here is my TNSNAMES.ORA entry for the HS connection:
    MYSQL_RMG =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.120)(PORT = 1521))
    (CONNECT_DATA =
    (SID = MYSQL_RMG)
    (HS = OK)
    Your advice will be greatly appeciated,
    Thanks,
    Luis
    Message was edited by:
    lmconsite

    First of all please be aware HSODBC V10 has been desupported and DG4ODBC should be used instead.
    The root cause the problem you describe could be related to a timeout of the ODBC driver (especially while taking care of the comment: it happens only for larger tables):
    (0) [MySQL][ODBC 3.51 Driver]MySQL server has gone away (SQL State: S1T00; SQL
    (0) Code: 2006)
    indicates the Driver or the DB abends the connection due to a timeout.
    Check out the wait_timeout mysql variable on the server and increase it.

  • How to get the User entered value in the Submit request form for a parameter of a concurrent program in Oracle applications.

    Hi All,
    I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
    After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field .  i want to get that string.
    Thanks a lot in advance for your time and help.
    - Vijay

    Hi All,
    I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
    After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field .  i want to get that string.
    Thanks a lot in advance for your time and help.
    - Vijay

  • How to capture the exact SQL exception for failure to connect to database

    Hi, i would like to capture the exact exception for failure to connect to a Oracle 9i database (via JDBC). I learnt that there is specific code or exception that can be captured, so that a more proper error message can be thrown out like "Failure to connect to database" can be displayed. Anyone know how to go about doing it? thanks

    That depends on your database vendor, I believe. (Unless there's a SQL standard for states and codes that I'm unaware of.)
    Personally, I wouldn't worry about "catching" a particular code. (You've already caught the exception - that's the best you can do.) I'd report the error code and state and just look up what it means when I got one.
    Hopefully you won't be catching exceptions. They're supposed to be rare. - MOD

  • Error in database parameter for star schema table in RSRV

    Hi Experts,
    In RSRV, I executed the following checks in my cube and it is showing me the following error:-
    1)  Check database parameter for star schema table for InfoCube ZMM_MVAL
    564971 units missing from fact table /BIC/FZMM_MVAL; see details
    Message no. RSRV134
    Diagnosis
    In the fact table /BIC/FZMM_MVAL records have been found that contain values other than zero for key figures that have units, but that have no value for the unit of the key figure. Since the value of the unit has to correspond to the value of the key figure, this inidicates an error when the data was loaded. The values of the units have not been loaded into BW correctly. Choose Details to display the incorrect records.
    2)  Consistency of time dimension of InfoCube ZMM_MVAL
    /BIC/FZMM_MVAL PARTITIONED 1878 ( 30 - 50 )
    Please advise me on this.
    Thanks in Advance.
    Aparna

    As mentioned in the log, check the Unit KFs in your cube and make sure that unit is populated for all such values.
    e.g. if Qty is 5 KG, then unit KF will have 5 and unit info object should have KF.
    Regards,
    Gaurav

  • Is anyone having a problem connecting 400 firewire thru an adapter for the 800 firewire port on a Macbook Pro 2011? It does a kernel panic every time I connect it. Is there a "proper way" to connect it?

    Is anyone having a problem connecting 400 firewire thru an adapter for the 800 firewire port on a Macbook Pro 2011? It does a kernel panic every time I connect it. Is there a "proper way" to connect it? Just in case it makes a difference I am trying to hook up an Avid Mbox Pro for Pro tools.

    What is the part number and model of Firewire adapter?
    I have used them in the past without any problems whatsoever.
    Allan

  • RMAN Tips for Large Databases

    Hi Friends,
    I'm actually starting administering a large Database 10.2.0.1.0 on Windows Server.
    Do you guys have Tips or Docs saying the best practices for large Databases? I mean large as 2TB of data.
    I'm good administering small and medium DBs, but some of them just got bigger and bigger!!!
    Tks a lot

    I would like to mention below links :
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/partconc.htm
    http://download.oracle.com/docs/cd/B28359_01/server.111/b32024/vldb_backup.htm
    For couple of good advices and considerations for RMAN VLDB:
    http://sosdba.wordpress.com/2011/02/10/oracle-backup-and-recovery-for-a-vldb-very-large-database/
    Google "vldb AND RMAN in oracle"
    Regards
    Girish Sharma

  • Parameter for user locked when no connection

    Where is the parameter for the number of days before automaticaly lock of the users ?
    In our system, the users are locked automatically by SAP after 1 month of inactivity !!
    Where is the parameter who control yhis ?

    Jean,
    Where is the parameter who control yhis ?
    In RZ10,  login/password_max_idle_productive users who are  idle for 30days will be automatically locked.
    2. Use TU02 -you will get to know parameters active in the SAP system.
    http://sap.ittoolbox.com/groups/technical-functional/sap-security/rsparam-settings-password-1185954
    Thanks,
    Sri
    Edited by: sri on Jul 27, 2010 8:41 PM

  • New FAQ Entry on JVM Parameters for Large Cache Sizes

    I've posted a new [FAQ entry|http://www.oracle.com/technology/products/berkeley-db/faq/je_faq.html#60] on JVM parameters for large cache sizes. The text of it is as follows:
    What JVM parameters should I consider when tuning an application with a large cache size?
    If your application has a large cache size, tuning the Java GC may be necessary. You will almost certainly be using a 64b JVM (i.e. -d64), the -server option, and setting your heap and stack sizes with -Xmx and -Xms. Be sure that you don't set the cache size too close to the heap size so that your application has plenty of room for its data and to avoided excessive full GC's. We have found that the Concurrent Mark Sweep GC is generally the best in this environment since it yields more predictable GC results. This can be enabled with -XX:+UseConcMarkSweepGC.
    Best practices dictates that you disable System.gc() calls with -XX:-DisableExplicitGC.
    Other JVM options which may prove useful are -XX:NewSize (start with 512m or 1024m as a value), -XX:MaxNewSize (try 1024m as a value), and -XX:CMSInitiatingOccupancyFraction=55. NewSize is typically tuned in relationship to the overall heap size so if you specify this parameter you will also need to provide a -Xmx value. A convenient way of specifying this in relative terms is to use -XX:NewRatio. The values we've suggested are only starting points. The actual values will vary depending on the runtime characteristics of the application.
    You may also want to refer to the following articles:
    * Java SE 6 HotSpot Virtual Machine Garbage Collection Tuning
    * The most complete list of -XX options for Java 6 JVM
    * My Favorite Hotspot JVM Flags
    Edited by: Charles Lamb on Oct 22, 2009 9:13 AM

    First of all please be aware HSODBC V10 has been desupported and DG4ODBC should be used instead.
    The root cause the problem you describe could be related to a timeout of the ODBC driver (especially while taking care of the comment: it happens only for larger tables):
    (0) [MySQL][ODBC 3.51 Driver]MySQL server has gone away (SQL State: S1T00; SQL
    (0) Code: 2006)
    indicates the Driver or the DB abends the connection due to a timeout.
    Check out the wait_timeout mysql variable on the server and increase it.

Maybe you are looking for

  • How can I get chekbox or button to function as copy and pasting the information on acrobat?

    I need to have a checkbox or a button where information will be copied from another filled out text.  For example, when you purchase something online, there is a box where you can click if you billing address is the same as shipping address.  When yo

  • Getting problem in File to IDOC scenario

    Hi, In SXMB_MONI, I am getting an error "Message has error status on outbound side". file is being picked by XI and it is not appearing in the R/3 system as IDOC. I am getting black & white chequered flag at left side and red flag at right side in th

  • How to add attachments to Webdynpro Application?

    Hi All, I have a requirement wherein I need to add supporting documents to a Webdynpro application online. The attachments can be of any type and any number of attachments can be added. If any of you had worked in such a kind of requirement please gi

  • How  to debug BDC , Dialog program and Script

    Hi all, Please let me know, how to  debug BDC , Dialog program and Script Thanks&Regards Devi

  • Oracle user ID Role

    Hi, I need to know what are the minimum access role i should assign in Oracle RDBMS for user ids' for (planning, essbase, shared services, financial reporting etc). Ex.: Connect, create/modify, delete tables etc... Regards N Kumar