Path: dp-news.maxwell.syr.edu!spool.maxwell.syr.edu!drn.maxwell.syr.edu!news.maxwell.syr.edu!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
From: "Billy" <vslabs@onwe.co.za>
Newsgroups: comp.databases.oracle.server
Subject: Re: pros/cons of dedicated vs. MTS connections?
Date: 13 Sep 2005 23:19:49 -0700
Organization: http://groups.google.com
Lines: 37
Message-ID: <1126678789.683773.95020@z14g2000cwz.googlegroups.com>
References: <43274985$1@news.beasys.com>
NNTP-Posting-Host: 198.54.206.91
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1126678794 13850 127.0.0.1 (14 Sep 2005 06:19:54 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 14 Sep 2005 06:19:54 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 CNTRRA20-PRX01
Complaints-To: groups-abuse@google.com
Injection-Info: z14g2000cwz.googlegroups.com; posting-host=198.54.206.91;
   posting-account=wp5kwAwAAAAK-35tPJYPGFtR9KGfcge6
Xref: dp-news.maxwell.syr.edu comp.databases.oracle.server:251456

Joe Weinstein wrote:
> Hi. I have an application which makes several (10-50)
> separate JDBC connections to an Oracle DBMS, and uses
> these connections indefinitely. Can you tell me any
> reason I would prefer or care about whether the DBMS
> is configured sa MTS or not?

Joe, I use MTS as a default. Have since 8i.  MTS works. And works well.
Is not complex. Is not buggy or <insert other Usenet rumours here>.

I will especially insist on using MTS for JDBC connections - assuming
this is from an app server. I have lost count of the number of times
app servers fail to close connections when done (guess this can be
called pooled connection leaking on the app server side).

This results in idle sessions on the Oracle side that gets 100's of
hours old and are never used again. And the sessions only become closed
when the actual app server itself is bounced (forcing all socket
handles on it side to be closed). DCD (Dead Connection Detection) from
the Oracle Listener does not work as the actual socket handle is still
open on the JDBC/appserver side.

As for using MTS for only 1000+ connections? BULLSHIT!

With Dedicated Server (specifically talking Unix here), every server
process is a Unix process. It takes up kernel resources and memory
resources. There are ulimits and kernel limits and most of all, memory
utilisation, to consider. Dedicated Server does not scale. MTS does. A
statement of fact and not opinion.

Now, do you only start to consider using MTS for scalability when
dealing with more than a 1000 connection? Or do you design and
configure FROM THE START for a system to be scalable? 

--
Billy

