What is Multithreaded connetion pooling?

What is Multithreaded connetion pooling? And How it helps in peformance of the OBI reports??

Hi,
Please check; http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_PhysicalSetup11.html#wp1005614
"When the check box is select ed, Oracle BI Server terminates idle physical queries (threads). When not selected, one thread is tied to one database connection (number of threads = maximum connections). Even if threads are idle, they consume memory.
The parameter DB_GATEWAY_THREAD_RANGE in the Server section of NQSConfig.ini establishes when Oracle BI Server terminates idle threads. The lower number in the range is the number of threads that are kept open before Oracle BI Server takes action. If the number of open threads exceeds the low point in the range, Oracle BI Server terminates idle threads. For example, if DB_GATEWAY_THREAD_RANGE is set to 40-200 and 75 threads are open, Oracle BI Server terminates any idle threads. "
Good Luck,
Daan Bakboord

Similar Messages

  • What is a function pool?

    What is a function pool? How is it related to function group?

    HI,
    The introductory statement FUNCTION-POOL declares a program in which you can define function modules. At runtime, it has the effect that u2013 during program loading u2013 a new program group with its own screens and its own shared data areas is created in the internal session of the calling program. For this reason, function groups must always begin with a FUNCTION-POOL statement. The statement FUNCTION-POOL is usually generated by the Function Builder. Other programs (executable programs, module pools, and subroutine pools) should not begin with a FUNCTION-POOLstatement, since they would then not share common data areas with the caller when loaded by an external subroutine call. However, in exceptional cases, you can force processing of your own screens for externally called subroutines if you introduce executable programs or module pools with FUNCTION-POOL. As in the REPORT and PROGRAMstatements, you can specify the message class for the program and the standard list formatting options of the program using FUNCTION-POOL.
    In simple Term,,,,
    The FUNCTION-POOL statement is equivalent to the REPORT statement and introduces a function group.
    A function group contains function modules introduced by the FUNCTION statement and called
    with the CALL FUNCTION statement.
    Hope this is useful for u...

  • What is behaviour of pooling in OC4J?

    We are having an out of memory problem with our application running under the 9.0.2 OC4J container.
    I have read two different pieces of documentation that provides conflicting information - the orion-ejb-jar.xml documentation on orion's site indicuates that the default pooling behaviour is to have infinite number available in the pool, whereas Oracle's default is 10. I tried putting it to 5 to see what it would do, and we seemed to be kicked out after 5 calls.
    Which brings me to my questions:
    1) What is the TRUE default behavior of EJB pooling (with no orion-ejb-jar.xml)? My guess is infinite, based on this observation.
    2) What is the behavior of the container when it reaches the maximum? Does it block clients when it tries to call n+1 beans until the container releases them? Does it automatically 'passivate' the additional beans and reclaim them? Based on our observations, it seems to block.
    Any tips on memory usage, controlling instances of EJB creation, etc, would be appreciated. We've upped the -Xmx use by a half a meg, but it seems to fill up the available VM memory available - can this be limited or are we really looking at continually upping it until we're happy - initially we tried 1024, which worked for quite some time until additional clients came online, and then we upped it to 1536, which seemed reasonable, but it quickly filled up. Any thoughts/experience on heap size setting vs # of session/entity bean use?
    Thanks
    Jason

    Apache 2. something (this is noted in the documentation and releasenotes...)

  • Whats a String constant pool?

    I was reading an article about weak references and came across a peice of code
       Map<String,String> map = new WeakHashMap<String, String>();
          map.put(new String("Scott"), "McNealey");They also said
    if you don't call new String(), the reference for the map key will be to the system's string constant pool. This never goes away, so the weak reference will never be released. To get around this, new String("Scott") creates a reference to the reference in the string constant pool. The string contents are never duplicated. They stay in the constant pool. This simply creates a separate pointer to the string constant in the pool.
    I never heard of String constant pool could any one enlighten me. I didnt get the point of what above paragraph says also.
    Jubs

    No it won't: it will only be removed when the garbage collector rears
    its ugly head. Until then the reference will be present in the map.Okay it was unprecise. The item MAY be removed immediately after it
    has been inserted because the key object is only referenced from the
    Map itself.Yes, that is true, but mind though: any object that still has a strong
    reference to it will not be removed from that map. I use such weak maps
    for localization reasons a lot. When a localization changes (while the
    application is running), a whole lot of visual components must have
    their text part changed. They are all stored in such a weak reference map.
    Of course quite some visual components can be garbage collected
    at some time (think of labels etc. in JDialogs after the dialog has been
    disposed).
    These maps are ideal for those purposes.
    kind regards,
    Jos

  • What does "Illegal Constant Pool Type" error signify ?

    Hello,
    I have developed an application on a windows system that connects to a database, places values onto an object, and displays on a screen. When I run on a windows environment everything works fine. When I export to my external server, which is linux system, I get an "Illegal Constant Pool Type" error.
    What does this mean and how can I rectify?
    The error message can be found at:
    http://www.blazingvibes.com/blazinvibes/indexhome.jsp
    Thank you all for your help.

    No idea since I can't see the error or code.
    And I don't know about anyone else but I don't click on links unless I know the source, so its current location isn't going to help in that matter.
    Presumably you are doing printStackTrace() so the location of the error is obvious.

  • Help please: What gets pinged - Connection Pool

    I have a connection pool set up and can "ping" it, but I cannot seem to use it in my application.
    What exactly gets "pinged" (what address)?
    For example, my setup looks like this:
    Data Source Class Name - net.sourceforge.jtds.jdbcx.JtdsDataSource
    Resource Type - javax.sql.XADataSource
    serverName - localhost
    port - 1433
    datasourceName - jdbc/testSqlServerDatasource
    databaseName - testdatabase
    Under the connection pools in the Application Server Admin Console, I can "ping" this connection.
    When I go out to a DOS prompt and try to ping, I cannot. What I tried was:
    ping localhost:1433/jdbc/testSqlServerDatasource
    ping localhost:1433/testSqlServerDatasource
    ping localhost/testSqlServerDatasource
    What exactly should I be able to "ping"?
    Note too that I have a JDBC Resource set up (also using the Admin Console) with a JNDI Name of testSqlServerDatasource.
    Thanks.

    The Ping in connection pool actualy tries to establish the connection with the database for which the configuration is provided in the Connection Pool page. The ping on DOS command is not same with what you actualy do in Connection Pool page. The DOS ping "helps in determining TCP/IP Networks IP address as well as determine issues with the network and assists in resolving them".

  • What is Database Recycle Pool.

    Hi,
    I was reading that we could have three buffer pool in memory depending upon the access method of objects.
    1. Keep Pool -
    2. Recycle Pool - This pool is used to eliminate blocks from memory which have littel chance of being re-used.
    3. Default Pool -
    I could not understand the def of Recycle pool, if a block has little chance of being re-used then why don't it is directly flushed out. What is the need of Recyle Pool? Or is it same as "Recyle Bin" on PC?
    Thanks,

    This story starts with the database buffer cache hit ratio. The goal of tuning this region is to obtain at least 90% hits. However, this goal cannot be reached if there are large tables which are randomly accessed, reducing the chances for a block to be reselected in the next minutes. This behaviour leads to a reduction in the regular cache hit ratio.
    Now what about a buffer where only those kind of access could take place?, This could immediately reflect an increase in the cache hit ratio. So the buffer pool recycle is created.
    All of the tables which are randomly or seldom accessed, are declared to be cached in the recycle. Normally Recycle CHR is around 60% or less. You can check V$SEGMENT_STATISTICS to determine the individual cache hit ratio contribution of each segment. All of those segments who individually degrade the CHR, go to the recycle.
    Use the alter table command to define where the segment blocks go.

  • What is REMOTE AM-POOLING ?

    i noticed REMOTE AM-POOLING in Oracle JDeveloper 10.1.3.1 Developer Preview Fix List ( http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.1/10131dpfixlist.htm)
    i want to know what's it and how to implement it ,because i will try to replace Stateful Session EJB with it.
    thanks.

    1. Visit the "Remote" panel of the AM editor
    2. Enable the "Remote" checkbox, and shuttle the "EJB Session Bean" choice into the "Selected" list.
    3. With the "EJB Session Bean" choice selected in the "Selected" list, inside the "EJB Session Bean" group box at the bottom of the dialog, click (New) next to the "Local Configurations drop-down list.
    4. If you don't like the default name of the local configuration (e.g. "YourModuleLocal1"), you can click the (Edit...) button to rename it. For example, you could rename it to "AppModuleLocalServerSide").
    5. Click (OK)
    The above steps will create you a "YourModuleBean" EJB Session Bean in the ".server.ejb.beanmanaged" subpackage of the package where your AM lives. ADF BC design time will keep that auto-generated bean up to date as you make any changes to your application module in the future.
    Now you just need to deploy the EJB session bean to a remote server. To do this, create an ADF BC deployment profile by following these steps:
    0. Create an application server connection in the Connections Navigator to the external OC4J or Oracle AppServer server you want to deploy to.
    1. In the "New" gallery, select "Business Components Deployment Profiles"
    2. On "Step 1 of 3: Profiles" in the wizard, ensure that "EJB Session Bean" is in the selected list. (NOTE: It should be by default given what you did above)
    3. On "Step 2 of 3: EJB Session Beans", select the connection name to which you want to deploy from the "Deplyo to Connection" dropdown.
    4. Click (Next) and then (Finish).
    To deploy the EJB Session Bean-wrapped application module to the remote server, select the deployment profile created above, then choose "Deploy..." from the right-mouse context menu.

  • Losing connetion pools when killing off sessions on the database

    Hi,
    We are using webLogic version 6.1 as our app. We are currently experiencing a problem with the connection pools to our databases.
    Problem: We have some jobs that run on our databases through connections pools via webLogic. When we kill the session of the job on the database side, all the connections using that connection pool from webLogic to that database is lost. We tried to re-target the connection pool through the console but this fails to work, thus requiring a bounce to the webLogic system.
    Is there an explanation for this, moreover is there a solution to resolve this as this seems unacceptable in a live production situation.
    Thanks and regards
    William Sung
    Coporate Investment Banks & Markets
    44 (0)20 7779 1357

    William Sung wrote:
    Hi,
    We are using webLogic version 6.1 as our app. We are currently experiencing a problem with the connection pools to our databases.
    Problem: We have some jobs that run on our databases through connections pools via webLogic. When we kill the session of the job on the database side, all the connections using that connection pool from webLogic to that database is lost. We tried to re-target the connection pool through the console but this fails to work, thus requiring a bounce to the webLogic system.
    Is there an explanation for this, moreover is there a solution to resolve this as this seems unacceptable in a live production situation.
    Thanks and regards
    William Sung
    Coporate Investment Banks & Markets
    44 (0)20 7779 1357Hi. What DBMS is this, and what JDBC driver are you using? Also, show me the pool
    definition. I may be able to help the situation, but I don't think that killing DBMS sessions
    out from under applications is anything anyone should do in a production system.
    Joe

  • Error with connetion(pool) to database (Entity JavaEE)

    Please help me , I try config pool but not working .I run on other computer(win xp) very good ,so I think glassfish on my computer(win 7) some error .
    This is my error:
    WARNING: RAR5117 : Failed to obtain/create connection from connection pool [ eStore_saPool ]. Reason : com.sun.appserv.connectors.internal.api.PoolingException
    WARNING: RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: null]
    SEVERE: Local Exception Stack:
    Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.0.1.v20100213-r6600): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: null
    Error Code: 0
    at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309)
    at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:138)
    at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94)
    at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
    at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:584)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:228)
    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:369)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:151)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:207)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:202)
    at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate(EntityManagerWrapper.java:197)
    at com.sun.enterprise.container.common.impl.EntityManagerWrapper.createQuery(EntityManagerWrapper.java:424)
    at SessionBeans.CategorySession.LoadCategory(CategorySession.java:23)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:613)
    at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1056)
    at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1128)
    at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5292)
    at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:615)
    at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797)
    at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:567)
    at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:157)
    at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:139)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:613)
    at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:858)
    at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797)
    at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:367)
    at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5264)
    at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5252)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:201)
    at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:75)
    at $Proxy134.LoadCategory(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:613)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:228)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:147)
    at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:225)
    at SessionBeans.__CategorySessionRemote_Remote_DynamicStub.LoadCategory(SessionBeans/__CategorySessionRemote_Remote_DynamicStub.java)
    at SessionBeans._CategorySessionRemote_Wrapper.LoadCategory(SessionBeans/_CategorySessionRemote_Wrapper.java)
    at Thanh.SV.LoadCategoryServlet.service(LoadCategoryServlet.java:25)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
    at java.lang.Thread.run(Thread.java:729)
    Caused by: java.sql.SQLException: Error in allocating a connection. Cause: null
    at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:112)
    at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:126)
    ... 70 more
    Edited by: user13721004 on Jan 13, 2011 12:51 AM
    Edited by: user13721004 on Jan 13, 2011 12:53 AM

    Here's an idea:
    I suggest you create a very simple program totally independent of your current project that configures a connection pool in code (no external configuration file), gets a connection, and prints out a value from a database table. Then, create a simple program that mimics how you get a connection pool from your current project and get that to work.
    By doing the above, you can help isolate any configuration or firewall(?) problem from your project code.

  • What checks the String pool

    Hi there.
    With regard to the string pool,
    my book states that whenever the compiler
    encounters a string literal that it will check the pool to see if
    there is a matching string...
    This doesn't seem right to me.
    I would have imagined that the JVM would perform this operation at runtime.
    Maybe I'm wrong, but I googled it and I came across some sites that indicate that
    the JVM checks the string pool.
    Im just wondering which is it, the JVM or the compiler.
    Thanks & regards.

    jverd wrote:
    Both.
    String s1 = "abc";
    String s2 = "abc";Compiler sees the first line, looks for "abc" in the class' constant pool, doesn't find it, adds it, places reference to its position for the assignment to s1.
    Compiler sees the second line, looks for "abc", finds it, places reference to its position for the assignment to s2.
    At runtime, when class is loaded, VM loads class' String constant pool. When time comes to execute the above lines, the bytecode tells it which constant pool entry to reference.Great answer (No, I'm not sarcastic)

  • What is sub routine pool in sap script? when it is used?

    hi ,
             i am new to sap-abap can any one clarify my doubt .

    Hi Praveen,
    If you modify the sap standard script according to that you have to modify the print program also....
    But its not advisable to modify the print program directly so, for the changes what ever u have made in the scripts you have to write the logic in a subroutine with in report program and you have to call this subroutine with PERFORM statement in the scripts.....
    Reward points if it is helpful..
    Regards,
    Omkar.

  • Could you recommend me a JDBC connetion POOL?

    Hello,
    I need a JDBC connection POOL for my web project. But I dont know which is best to choose.
    Is "proxool" be the best?
    Could you give me some idea?
    Thanks a lot!

    Sorry, I've forget the requirements.
    I think it should be fast and stable, well documented, and can be intergered in tomcat5.5 slidely(means not have too much change in the servlet code)
    Thank you very much!

  • How do you find out what devices are conneted to itunes

    I am trying to figure out what devices I have connected to my iTunes. I was also wondering if there was anyway to figure out if an iPod that was sold to someone else is actually mine since i do not have the box or anything anymore. The iPod in question has be reset, SO if it was mine then I cant tell unless I have the Serial number.

    Chris CA, the OP didn't say the OP had sold it, just that it was sold (presumably by a third party).
    http://support.apple.com/kb/HT2526 - You can use My Support Profile to find a list of serial numbers that have been purchased or registered with your Apple ID.
    My Support Profile - https://supportprofile.apple.com/MySupportProfile.do
    You won't be able to find the serial number on the item that was sold unless you look at the actual iPod, so you'll need for the new owner to be willing.

  • Where are can get jdbc connetion pool demo?

    Hello all:
    I want to use connection pool in my application .But I don't konw how to use.
    Anyone can help me?
    (Please tell me the web address or sendmail to me([email protected]))
    Thank you!

    Connect pool examples are shipped as part of the standard product demos. Please see the demo.tar file from the CD or download it from OTN. http://technet.oracle.com/sample_code/tech/java/sqlj_jdbc/files/demo.tar
    Once you untar it. Looks for --
    ./samples/oci8/jdbc20-samples/PooledConnection*.java

Maybe you are looking for

  • 11i - Fails in OE_DROP_SHIPMENT

    Gurus, We are running into this error mentioned above.   This is happening in Pending Transactions - MTL_MATERIAL_TRANSACTIONS_TEMP table. This is happening for Drop Ship POs.   RCV_TRANSACTIONS_INTERFACE .TRANSACTION_STATUS_CODE shows 'ERROR'  for t

  • PRE/Mac installation errors (was Please Help with PSE 12 Download)

    Can anyone help with a .CPP-283 and a .CPP-683 error? [/Adobe/premiere/elements/main/CAHeadless/Make/Mac/../../Src/CAHeadless.cpp-683] [/Adobe/premiere/elements/main/MediaCore/ASL/Foundation/Make/Mac/../../Src/DirectoryRegist ry.cpp-283] I've spen th

  • Driver issue nano 5th gen win 7

    I bought a used nano 5th gen 8gb today and went to connect it to my laptop and got nothing on itunes. It comes up in the control panel under devices but has the excalamation point and says needs troubleshooting. I troubleshoot and it says the nano is

  • Why do I get redireceted to another page when doing online banking?

    I can go into my account just fine, but when I try to go into bill pay. It says firefox re-directing to another page

  • Mass Role Deletion Transport to ECC6

    Hi, Prior to transporting a mass role deletion through to the PRD ECC6 system, is it recommended to end date the majority of position to role relationships? End dating may maintain some visability of previous role assignments... Or is it safe to send