RE: JDBC and MTS
The bug Jeffrey is referring to is supposedly fixed in 8.1.7 (but I've seen metalink posts that suggest otherwise). The bug numbers are 1304130 and 1309641 - the dispatcher goes to sleep occasionally for 60 seconds before waking up and servicing requests again... Alan Aschenbrenner Oracle DBA IHS Group [EMAIL PROTECTED] "Jeffrey Beckstrom" To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> <[EMAIL PROTECTED]cc: .org> Subject: RE: JDBC and MTS Sent by: [EMAIL PROTECTED] .com 06/17/03 11:14 AM Please respond to ORACLE-L I recall an old bug where MTS would sleep for a bit - don't recall the bug anymore. Jeffrey Beckstrom Database Administrator Greater Cleveland Regional Transit Authority 1240 W. 6th Street Cleveland, Ohio 44113 (216) 781-4204 >>> [EMAIL PROTECTED] 6/17/03 12:35:20 PM >>> b) I use server=dedicated, is srvr=dedicate a short hand version of it? -Original Message- Sent: Tuesday, June 17, 2003 8:25 AM To: Multiple recipients of list ORACLE-L OK. Let me get some things straight: a) I'm not a developer. I'm one of those vile creatures called DBAs. I don't program. I troubleshoot other people's programs. Other people program, I nag. When developers start writing bug-free software which uses the database in the most optimal way, my job is gone. b) The whole problem is that even after specifying SRVR=DEDICATED in the connect string, the darned thing still connects as an MTS connection. c) What was the issue that you faced? That was my original question. On 2003.06.17 07:09, Regis Biassala wrote: > Richard is right...If ur Java application uses it own connection > pooling...then do not use MTS...it slows down connections and more...We > faced the same issue here > > Our configuration allows DBA to choose weather connection pooling should > handled by the app or the database... > Use dedicated servers if there's noway you can disable the application > connection pooling... > > > Regis > > -Original Message- > Sent: Tuesday, June 17, 2003 6:05 AM > To: Multiple recipients of list ORACLE-L > > > I used to seen problems with JDBC Thin with MTS on Linux and switching to > a dedicated connection seemed to fix the problem. But JDBC Thin and MTS > worked fine on my Solaris box. Not sure with HP-UX. Is the Java > application > running on an Application Server? > > Richard Ji > > -Original Message- > Sent: Monday, June 16, 2003 11:25 PM > To: Multiple recipients of list ORACLE-L > > > I'm not a Java expert so please forgive me my ignorance. JDBC application > is facing very strange performance problems during connect. Every now and > then > everything appears to be hung and then, 10 minutes later, users proceed > normally but with the elevated blood pressure and serious lack of patience. > I was told that JDBC has it's own connection pooling mechanism and that it > will start it's own dedicated server connection. It seems though that the &g
RE: JDBC and MTS
I recall an old bug where MTS would sleep for a bit - don't recall the bug anymore. Jeffrey BeckstromDatabase AdministratorGreater Cleveland Regional Transit Authority1240 W. 6th StreetCleveland, Ohio 44113(216) 781-4204>>> [EMAIL PROTECTED] 6/17/03 12:35:20 PM >>>b) I use server=dedicated, is srvr=dedicate a short hand version ofit?-Original Message-Sent: Tuesday, June 17, 2003 8:25 AMTo: Multiple recipients of list ORACLE-LOK. Let me get some things straight:a) I'm not a developer. I'm one of those vile creatures called DBAs. I don't program. I troubleshoot other people's programs. Other people program, I nag. When developers start writing bug-free software which uses the database in the most optimal way, my job is gone.b) The whole problem is that even after specifying SRVR=DEDICATED in the connect string, the darned thing still connects as an MTS connection.c) What was the issue that you faced? That was my original question.On 2003.06.17 07:09, Regis Biassala wrote:> Richard is right...If ur Java application uses it own connection> pooling...then do not use MTS...it slows down connections and more...We> faced the same issue here> > Our configuration allows DBA to choose weather connection pooling should> handled by the app or the database...> Use dedicated servers if there's noway you can disable the application> connection pooling...> > > Regis> > -Original Message-> Sent: Tuesday, June 17, 2003 6:05 AM> To: Multiple recipients of list ORACLE-L> > > I used to seen problems with JDBC Thin with MTS on Linux and switching to> a dedicated connection seemed to fix the problem. But JDBC Thin and MTS> worked fine on my Solaris box. Not sure with HP-UX. Is the Java> application> running on an Application Server?> > Richard Ji> > -Original Message-> Sent: Monday, June 16, 2003 11:25 PM> To: Multiple recipients of list ORACLE-L> > > I'm not a Java expert so please forgive me my ignorance. JDBC application> is facing very strange performance problems during connect. Every now and> then> everything appears to be hung and then, 10 minutes later, users proceed> normally but with the elevated blood pressure and serious lack of patience.> I was told that JDBC has it's own connection pooling mechanism and that it> will start it's own dedicated server connection. It seems though that the> string "SRVR=DEDICATED" has been ignored and that users are acquiring a> shared> server connection.> Does anybody in this group have any experience with JDBC and MTS? Version is> 8.1.7.1, 64 bit on HP-UX 11 with OPS. Dispatchers are cross-registered with> listeners on all 4 nodes for load balancing purposes. I found surprisingly> little material on the Metalink. No network collisions, no retransmits, no> timeouts can be seen from netstat -i and netstat -s. The NIC is 1GB Ethernet> and I would be very surprised if approximately 100 users could kill it with> a> JDBC application. They could use DBA as a human sacrifice, though.> > > > --> Mladen Gogala> Oracle DBA> --> Please see the official ORACLE-L FAQ: http://www.orafaq.net> --> Author: Mladen Gogala> INET: [EMAIL PROTECTED]> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com> San Diego, California -- Mailing list and web hosting services> -> To REMOVE yourself from this mailing list, send an E-Mail message> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in> the message BODY, include a line containing: UNSUB ORACLE-L> (or the name of mailing list you want to be removed from). You may> also send the HELP command for other information (like subscribing).> --> Please see the official ORACLE-L FAQ: http://www.orafaq.net> --> Author: Richard Ji> INET: [EMAIL PROTECTED]> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com> San Diego, California -- Mailing list and web hosting services> -> To REMOVE yourself from this mailing list, send an E-Mail message> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in> the message BODY, include a line containing: UNSUB ORACLE-L> (or the name of mailing list you want to be removed from). You may> also send the HELP command for other information (like subscribing).> *> This electronic transmission is strictly confidential and intended solely> for the addressee. It may contain information which is covered by legal,> professional or other privilege. If you are not the intended addressee,> you must not disclose, copy or take any action in reliance of this> transmission. If you have received this transmission in error,> please notify the sender as soon as possible.> > This footnote also confirms that this message has been swept> for computer viruses.>
RE: JDBC and MTS
b) I use server=dedicated, is srvr=dedicate a short hand version of it? -Original Message- Sent: Tuesday, June 17, 2003 8:25 AM To: Multiple recipients of list ORACLE-L OK. Let me get some things straight: a) I'm not a developer. I'm one of those vile creatures called DBAs. I don't program. I troubleshoot other people's programs. Other people program, I nag. When developers start writing bug-free software which uses the database in the most optimal way, my job is gone. b) The whole problem is that even after specifying SRVR=DEDICATED in the connect string, the darned thing still connects as an MTS connection. c) What was the issue that you faced? That was my original question. On 2003.06.17 07:09, Regis Biassala wrote: > Richard is right...If ur Java application uses it own connection > pooling...then do not use MTS...it slows down connections and more...We > faced the same issue here > > Our configuration allows DBA to choose weather connection pooling should > handled by the app or the database... > Use dedicated servers if there's noway you can disable the application > connection pooling... > > > Regis > > -Original Message- > Sent: Tuesday, June 17, 2003 6:05 AM > To: Multiple recipients of list ORACLE-L > > > I used to seen problems with JDBC Thin with MTS on Linux and switching to > a dedicated connection seemed to fix the problem. But JDBC Thin and MTS > worked fine on my Solaris box. Not sure with HP-UX. Is the Java > application > running on an Application Server? > > Richard Ji > > -Original Message- > Sent: Monday, June 16, 2003 11:25 PM > To: Multiple recipients of list ORACLE-L > > > I'm not a Java expert so please forgive me my ignorance. JDBC application > is facing very strange performance problems during connect. Every now and > then > everything appears to be hung and then, 10 minutes later, users proceed > normally but with the elevated blood pressure and serious lack of patience. > I was told that JDBC has it's own connection pooling mechanism and that it > will start it's own dedicated server connection. It seems though that the > string "SRVR=DEDICATED" has been ignored and that users are acquiring a > shared > server connection. > Does anybody in this group have any experience with JDBC and MTS? Version is > 8.1.7.1, 64 bit on HP-UX 11 with OPS. Dispatchers are cross-registered with > listeners on all 4 nodes for load balancing purposes. I found surprisingly > little material on the Metalink. No network collisions, no retransmits, no > timeouts can be seen from netstat -i and netstat -s. The NIC is 1GB Ethernet > and I would be very surprised if approximately 100 users could kill it with > a > JDBC application. They could use DBA as a human sacrifice, though. > > > > -- > Mladen Gogala > Oracle DBA > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Mladen Gogala > INET: [EMAIL PROTECTED] > > Fat City Network Services-- 858-538-5051 http://www.fatcity.com > San Diego, California-- Mailing list and web hosting services > - > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Richard Ji > INET: [EMAIL PROTECTED] > > Fat City Network Services-- 858-538-5051 http://www.fatcity.com > San Diego, California-- Mailing list and web hosting services > - > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > * > This electronic transmission is strictly confidential and intended solely > for the addressee. It may contain information which is covered by legal, > professional or other privilege. If you are not the intended addressee, > you must not disclose, copy or take any action in reliance of this > transmission. If you have received this transmission in error, > please notify the sender as soon as possible. > > This footnote also confirms that this message has been swept > for computer viruses. > ** > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Regis Biassala > INET: [EMAIL PROTECTED] > > Fat City Network Services-- 8
Re: JDBC and MTS
Refer to Note:139775.1 - see if this helps out - basically it says to configure the jdbc driver so that it has to use dedicated server - using MTS is the problem. >>> [EMAIL PROTECTED] 6/17/2003 7:24:50 AM >>> OK. Let me get some things straight:a) I'm not a developer. I'm one of those vile creatures called DBAs. I don't program. I troubleshoot other people's programs. Other people program, I nag. When developers start writing bug-free software which uses the database in the most optimal way, my job is gone.b) The whole problem is that even after specifying SRVR=DEDICATED in the connect string, the darned thing still connects as an MTS connection.c) What was the issue that you faced? That was my original question.On 2003.06.17 07:09, Regis Biassala wrote:> Richard is right...If ur Java application uses it own connection> pooling...then do not use MTS...it slows down connections and more...We> faced the same issue here> > Our configuration allows DBA to choose weather connection pooling should> handled by the app or the database...> Use dedicated servers if there's noway you can disable the application> connection pooling...> > > Regis> > -Original Message-> Sent: Tuesday, June 17, 2003 6:05 AM> To: Multiple recipients of list ORACLE-L> > > I used to seen problems with JDBC Thin with MTS on Linux and switching to> a dedicated connection seemed to fix the problem. But JDBC Thin and MTS> worked fine on my Solaris box. Not sure with HP-UX. Is the Java> application> running on an Application Server?> > Richard Ji> > -Original Message-> Sent: Monday, June 16, 2003 11:25 PM> To: Multiple recipients of list ORACLE-L> > > I'm not a Java expert so please forgive me my ignorance. JDBC application> is facing very strange performance problems during connect. Every now and> then> everything appears to be hung and then, 10 minutes later, users proceed> normally but with the elevated blood pressure and serious lack of patience.> I was told that JDBC has it's own connection pooling mechanism and that it> will start it's own dedicated server connection. It seems though that the> string "SRVR=DEDICATED" has been ignored and that users are acquiring a> shared> server connection.> Does anybody in this group have any experience with JDBC and MTS? Version is> 8.1.7.1, 64 bit on HP-UX 11 with OPS. Dispatchers are cross-registered with> listeners on all 4 nodes for load balancing purposes. I found surprisingly> little material on the Metalink. No network collisions, no retransmits, no> timeouts can be seen from netstat -i and netstat -s. The NIC is 1GB Ethernet> and I would be very surprised if approximately 100 users could kill it with> a> JDBC application. They could use DBA as a human sacrifice, though.> > > > --> Mladen Gogala> Oracle DBA> --> Please see the official ORACLE-L FAQ: http://www.orafaq.net> --> Author: Mladen Gogala> INET: [EMAIL PROTECTED]> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com> San Diego, California -- Mailing list and web hosting services> -> To REMOVE yourself from this mailing list, send an E-Mail message> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in> the message BODY, include a line containing: UNSUB ORACLE-L> (or the name of mailing list you want to be removed from). You may> also send the HELP command for other information (like subscribing).> --> Please see the official ORACLE-L FAQ: http://www.orafaq.net> --> Author: Richard Ji> INET: [EMAIL PROTECTED]> > Fat City Network Services -- 858-538-5051 http://www.fatcity.com> San Diego, California -- Mailing list and web hosting services> -> To REMOVE yourself from this mailing list, send an E-Mail message> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in> the message BODY, include a line containing: UNSUB ORACLE-L> (or the name of mailing list you want to be removed from). You may> also send the HELP command for other information (like subscribing).> *> This electronic transmission is strictly confidential and intended solely> for the addressee. It may contain information which is covered by legal,> professional or other privilege. If you are not the intended addressee,> you must not disclose, copy or take any action in reliance of this> transmission. If you have received this transmission in error,> please notify the sender as soon as possible.> > This footnote also confirms that this message has been swept> for computer viruses.> **> > --> Please see the official ORACLE-L FAQ: http://www.orafaq.net> --> Author: Regis Biassala> INET: [EMAIL PROTECTED]> > Fat City Network Services --
RE: JDBC and MTS
We add: 1. Application (Java) Using a JDBC Connection Pooling (CP)feature... 2. Database Oracle in MTS, pooling or not pooling enabled This was not good for us...so we kept the Java pooling side of the app and Oracle configured to run in dedicated mode. We'got a XML policy file which disables JDBC connection pooling for our application and gives the DBA a choice to configure a MTS... So in our case we two scenarios: 1. DB(MTS) and app(without CP) this is OK 2. DB(dedicated) and app(with CP) Regis -Original Message- Sent: Tuesday, June 17, 2003 1:25 PM To: Multiple recipients of list ORACLE-L OK. Let me get some things straight: a) I'm not a developer. I'm one of those vile creatures called DBAs. I don't program. I troubleshoot other people's programs. Other people program, I nag. When developers start writing bug-free software which uses the database in the most optimal way, my job is gone. b) The whole problem is that even after specifying SRVR=DEDICATED in the connect string, the darned thing still connects as an MTS connection. c) What was the issue that you faced? That was my original question. On 2003.06.17 07:09, Regis Biassala wrote: > Richard is right...If ur Java application uses it own connection > pooling...then do not use MTS...it slows down connections and more...We > faced the same issue here > > Our configuration allows DBA to choose weather connection pooling should > handled by the app or the database... > Use dedicated servers if there's noway you can disable the application > connection pooling... > > > Regis > > -Original Message- > Sent: Tuesday, June 17, 2003 6:05 AM > To: Multiple recipients of list ORACLE-L > > > I used to seen problems with JDBC Thin with MTS on Linux and switching to > a dedicated connection seemed to fix the problem. But JDBC Thin and MTS > worked fine on my Solaris box. Not sure with HP-UX. Is the Java > application > running on an Application Server? > > Richard Ji > > -Original Message- > Sent: Monday, June 16, 2003 11:25 PM > To: Multiple recipients of list ORACLE-L > > > I'm not a Java expert so please forgive me my ignorance. JDBC application > is facing very strange performance problems during connect. Every now and > then > everything appears to be hung and then, 10 minutes later, users proceed > normally but with the elevated blood pressure and serious lack of patience. > I was told that JDBC has it's own connection pooling mechanism and that it > will start it's own dedicated server connection. It seems though that the > string "SRVR=DEDICATED" has been ignored and that users are acquiring a > shared > server connection. > Does anybody in this group have any experience with JDBC and MTS? Version is > 8.1.7.1, 64 bit on HP-UX 11 with OPS. Dispatchers are cross-registered with > listeners on all 4 nodes for load balancing purposes. I found surprisingly > little material on the Metalink. No network collisions, no retransmits, no > timeouts can be seen from netstat -i and netstat -s. The NIC is 1GB Ethernet > and I would be very surprised if approximately 100 users could kill it with > a > JDBC application. They could use DBA as a human sacrifice, though. > > > > -- > Mladen Gogala > Oracle DBA > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Mladen Gogala > INET: [EMAIL PROTECTED] > > Fat City Network Services-- 858-538-5051 http://www.fatcity.com > San Diego, California-- Mailing list and web hosting services > - > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Richard Ji > INET: [EMAIL PROTECTED] > > Fat City Network Services-- 858-538-5051 http://www.fatcity.com > San Diego, California-- Mailing list and web hosting services > - > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > * > This electronic transmission is strictly confidential and intended solely > for the addressee. It may contain information which is covered by legal, > professional or other privilege. If you are not the intended addressee, > you must not disclose, copy or take any action in reliance of this > tra
RE: JDBC and MTS
Mladen, I've found MTS to be a blessing and a curse at the same time no matter what language (C, ASP, JAVA, etc...) is being used. The biggest problem with MTS is the number of idle shared servers that you have at any point in time. When you connection request is processed by the database server any statements that need execution land in the shared pool's request queue. If you have say 100 connections on the database with 10 shared servers it only takes a 10% population of active users to exhaust your pool. Yes Oracle will start additional servers up to MTS_MAX_SERVERS but don't expect it to respond rapidly. More like a snail that a rocket. You've got two options that I can safely recommend: 1) configure MTS_MAX_SERVERS = MTS_MIN_SERVERS = the maximum number of anticipated connections. 2) configure MTS_MAX_SERVERS = 2X MTS_MIN_SERVERS = 75% of the maximum number of anticipated connections Option 3 is more fluid, but also takes more effort to maintain the desired performance. It means programming a process or job that will occasionally wake up, evaluate the load on the database's shared server population & alter the mts_servers setting of the database dynamically. It can be done, I do it, and is very successful. Dick Goulet Senior Oracle DBA Oracle Certified 8i DBA -Original Message- Sent: Monday, June 16, 2003 11:25 PM To: Multiple recipients of list ORACLE-L I'm not a Java expert so please forgive me my ignorance. JDBC application is facing very strange performance problems during connect. Every now and then everything appears to be hung and then, 10 minutes later, users proceed normally but with the elevated blood pressure and serious lack of patience. I was told that JDBC has it's own connection pooling mechanism and that it will start it's own dedicated server connection. It seems though that the string "SRVR=DEDICATED" has been ignored and that users are acquiring a shared server connection. Does anybody in this group have any experience with JDBC and MTS? Version is 8.1.7.1, 64 bit on HP-UX 11 with OPS. Dispatchers are cross-registered with listeners on all 4 nodes for load balancing purposes. I found surprisingly little material on the Metalink. No network collisions, no retransmits, no timeouts can be seen from netstat -i and netstat -s. The NIC is 1GB Ethernet and I would be very surprised if approximately 100 users could kill it with a JDBC application. They could use DBA as a human sacrifice, though. -- Mladen Gogala Oracle DBA -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mladen Gogala INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Goulet, Dick INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: JDBC and MTS
Mladen - I'll add what I know, but it won't add much. When the Java people say they are doing "connection pooling", that almost certainly means they are using an application server. This is the beast on which to focus your attention. Start by finding out which species it is. There are in my experience, a variety of settings related to AS connection pooling. It is easy to get those settings wrong, which can produce a variety of bad effects on the database end. They can create too many sessions, or too few. In my simple view, MTS and connection pooling do the same thing. I don't use MTS, so I'm assuming here. But I can see that using both MTS and connection pooling at the same time might produce bad effects. The other thing to remember about the thin client is that it does not use Net8. It does not rely on a tnsnames.ora file on the client (application server in this case). It connects directly to the listener. One possibility to test would be to switch to the thick client. That may be better in your situation. Good luck and keep us posted. We DBAs are all facing this webbified/Javafied/.netified world and we've got to stick together. Dennis Williams DBA, 80%OCP, 100% DBA Lifetouch, Inc. [EMAIL PROTECTED] -Original Message- Sent: Tuesday, June 17, 2003 7:25 AM To: Multiple recipients of list ORACLE-L OK. Let me get some things straight: a) I'm not a developer. I'm one of those vile creatures called DBAs. I don't program. I troubleshoot other people's programs. Other people program, I nag. When developers start writing bug-free software which uses the database in the most optimal way, my job is gone. b) The whole problem is that even after specifying SRVR=DEDICATED in the connect string, the darned thing still connects as an MTS connection. c) What was the issue that you faced? That was my original question. On 2003.06.17 07:09, Regis Biassala wrote: > Richard is right...If ur Java application uses it own connection > pooling...then do not use MTS...it slows down connections and more...We > faced the same issue here > > Our configuration allows DBA to choose weather connection pooling should > handled by the app or the database... > Use dedicated servers if there's noway you can disable the application > connection pooling... > > > Regis > > -Original Message- > Sent: Tuesday, June 17, 2003 6:05 AM > To: Multiple recipients of list ORACLE-L > > > I used to seen problems with JDBC Thin with MTS on Linux and switching to > a dedicated connection seemed to fix the problem. But JDBC Thin and MTS > worked fine on my Solaris box. Not sure with HP-UX. Is the Java > application > running on an Application Server? > > Richard Ji > > -Original Message- > Sent: Monday, June 16, 2003 11:25 PM > To: Multiple recipients of list ORACLE-L > > > I'm not a Java expert so please forgive me my ignorance. JDBC application > is facing very strange performance problems during connect. Every now and > then > everything appears to be hung and then, 10 minutes later, users proceed > normally but with the elevated blood pressure and serious lack of patience. > I was told that JDBC has it's own connection pooling mechanism and that it > will start it's own dedicated server connection. It seems though that the > string "SRVR=DEDICATED" has been ignored and that users are acquiring a > shared > server connection. > Does anybody in this group have any experience with JDBC and MTS? Version is > 8.1.7.1, 64 bit on HP-UX 11 with OPS. Dispatchers are cross-registered with > listeners on all 4 nodes for load balancing purposes. I found surprisingly > little material on the Metalink. No network collisions, no retransmits, no > timeouts can be seen from netstat -i and netstat -s. The NIC is 1GB Ethernet > and I would be very surprised if approximately 100 users could kill it with > a > JDBC application. They could use DBA as a human sacrifice, though. > > > > -- > Mladen Gogala > Oracle DBA > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Mladen Gogala > INET: [EMAIL PROTECTED] > > Fat City Network Services-- 858-538-5051 http://www.fatcity.com > San Diego, California-- Mailing list and web hosting services > - > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Richard Ji > INET: [EMAIL PROTECTED] > > Fat City Network Services-- 858-538-5051 http://www.fatcity.com > San Diego, California-- Mailing list and web hosting services > --
Re: JDBC and MTS
OK. Let me get some things straight: a) I'm not a developer. I'm one of those vile creatures called DBAs. I don't program. I troubleshoot other people's programs. Other people program, I nag. When developers start writing bug-free software which uses the database in the most optimal way, my job is gone. b) The whole problem is that even after specifying SRVR=DEDICATED in the connect string, the darned thing still connects as an MTS connection. c) What was the issue that you faced? That was my original question. On 2003.06.17 07:09, Regis Biassala wrote: Richard is right...If ur Java application uses it own connection pooling...then do not use MTS...it slows down connections and more...We faced the same issue here Our configuration allows DBA to choose weather connection pooling should handled by the app or the database... Use dedicated servers if there's noway you can disable the application connection pooling... Regis -Original Message- Sent: Tuesday, June 17, 2003 6:05 AM To: Multiple recipients of list ORACLE-L I used to seen problems with JDBC Thin with MTS on Linux and switching to a dedicated connection seemed to fix the problem. But JDBC Thin and MTS worked fine on my Solaris box. Not sure with HP-UX. Is the Java application running on an Application Server? Richard Ji -Original Message- Sent: Monday, June 16, 2003 11:25 PM To: Multiple recipients of list ORACLE-L I'm not a Java expert so please forgive me my ignorance. JDBC application is facing very strange performance problems during connect. Every now and then everything appears to be hung and then, 10 minutes later, users proceed normally but with the elevated blood pressure and serious lack of patience. I was told that JDBC has it's own connection pooling mechanism and that it will start it's own dedicated server connection. It seems though that the string "SRVR=DEDICATED" has been ignored and that users are acquiring a shared server connection. Does anybody in this group have any experience with JDBC and MTS? Version is 8.1.7.1, 64 bit on HP-UX 11 with OPS. Dispatchers are cross-registered with listeners on all 4 nodes for load balancing purposes. I found surprisingly little material on the Metalink. No network collisions, no retransmits, no timeouts can be seen from netstat -i and netstat -s. The NIC is 1GB Ethernet and I would be very surprised if approximately 100 users could kill it with a JDBC application. They could use DBA as a human sacrifice, though. -- Mladen Gogala Oracle DBA -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mladen Gogala INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Richard Ji INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). * This electronic transmission is strictly confidential and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, you must not disclose, copy or take any action in reliance of this transmission. If you have received this transmission in error, please notify the sender as soon as possible. This footnote also confirms that this message has been swept for computer viruses. ** -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Regis Biassala INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you
RE: JDBC and MTS
Richard is right...If ur Java application uses it own connection pooling...then do not use MTS...it slows down connections and more...We faced the same issue here Our configuration allows DBA to choose weather connection pooling should handled by the app or the database... Use dedicated servers if there's noway you can disable the application connection pooling... Regis -Original Message- Sent: Tuesday, June 17, 2003 6:05 AM To: Multiple recipients of list ORACLE-L I used to seen problems with JDBC Thin with MTS on Linux and switching to a dedicated connection seemed to fix the problem. But JDBC Thin and MTS worked fine on my Solaris box. Not sure with HP-UX. Is the Java application running on an Application Server? Richard Ji -Original Message- Sent: Monday, June 16, 2003 11:25 PM To: Multiple recipients of list ORACLE-L I'm not a Java expert so please forgive me my ignorance. JDBC application is facing very strange performance problems during connect. Every now and then everything appears to be hung and then, 10 minutes later, users proceed normally but with the elevated blood pressure and serious lack of patience. I was told that JDBC has it's own connection pooling mechanism and that it will start it's own dedicated server connection. It seems though that the string "SRVR=DEDICATED" has been ignored and that users are acquiring a shared server connection. Does anybody in this group have any experience with JDBC and MTS? Version is 8.1.7.1, 64 bit on HP-UX 11 with OPS. Dispatchers are cross-registered with listeners on all 4 nodes for load balancing purposes. I found surprisingly little material on the Metalink. No network collisions, no retransmits, no timeouts can be seen from netstat -i and netstat -s. The NIC is 1GB Ethernet and I would be very surprised if approximately 100 users could kill it with a JDBC application. They could use DBA as a human sacrifice, though. -- Mladen Gogala Oracle DBA -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mladen Gogala INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Richard Ji INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). * This electronic transmission is strictly confidential and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, you must not disclose, copy or take any action in reliance of this transmission. If you have received this transmission in error, please notify the sender as soon as possible. This footnote also confirms that this message has been swept for computer viruses. ** -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Regis Biassala INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Re: JDBC and MTS
On 2003.06.17 01:04, Richard Ji wrote: I used to seen problems with JDBC Thin with MTS on Linux and switching to a dedicated connection seemed to fix the problem. But JDBC Thin and MTS worked fine on my Solaris box. Not sure with HP-UX. Is the Java application running on an Application Server? Yes it is. Application server is a Solaris8 box (SUN 450). -- Mladen Gogala Oracle DBA -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mladen Gogala INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: JDBC and MTS
I used to seen problems with JDBC Thin with MTS on Linux and switching to a dedicated connection seemed to fix the problem. But JDBC Thin and MTS worked fine on my Solaris box. Not sure with HP-UX. Is the Java application running on an Application Server? Richard Ji -Original Message- Sent: Monday, June 16, 2003 11:25 PM To: Multiple recipients of list ORACLE-L I'm not a Java expert so please forgive me my ignorance. JDBC application is facing very strange performance problems during connect. Every now and then everything appears to be hung and then, 10 minutes later, users proceed normally but with the elevated blood pressure and serious lack of patience. I was told that JDBC has it's own connection pooling mechanism and that it will start it's own dedicated server connection. It seems though that the string "SRVR=DEDICATED" has been ignored and that users are acquiring a shared server connection. Does anybody in this group have any experience with JDBC and MTS? Version is 8.1.7.1, 64 bit on HP-UX 11 with OPS. Dispatchers are cross-registered with listeners on all 4 nodes for load balancing purposes. I found surprisingly little material on the Metalink. No network collisions, no retransmits, no timeouts can be seen from netstat -i and netstat -s. The NIC is 1GB Ethernet and I would be very surprised if approximately 100 users could kill it with a JDBC application. They could use DBA as a human sacrifice, though. -- Mladen Gogala Oracle DBA -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mladen Gogala INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Richard Ji INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).