Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Shared server tuning

RE: Shared server tuning

From: <Jared.Still_at_radisys.com>
Date: Wed, 9 Jun 2004 17:55:06 -0700
Message-ID: <OF2D532251.1B4842C0-ON88256EAF.00045E8D-88256EAF.0005092C@radisys.com>


Hi Aaron,

Whether or not MTS is causing your problems, you should probably switch to dedicated sessions anyway. MTS is a lot of overhead for 30 users.

Do you have a test or development system to try this on first?

You just need to ensure that you understand the tnsnames.ora file configuration.

Or just use netmgr to do the config, it works pretty well.

If not, you can always setup tnsnames.ora to accept both dedicated and shared server connections, depending on the alias used.

As for the performance problem, have you run a 10046 trace?

While this will show what your sessions are waiting on, and how long they are waiting, it is complicated a bit by the MTS connections.

The trace file will have multiple sessions in it.

You could query v$session_wait while you *know* that a session is waiting:

select

   s.username username,
   e.event event,
   s.sid,
   e.p1text,
   e.p1,
   e.p2text,
   e.p2,
   e.wait_time,
   e.seconds_in_wait,
   e.state

from v$session s, v$session_wait e
where s.username is not null

   and s.sid = e.sid
order by s.username, upper(e.event);

Not as good as a trace file, but better than nothing, and a place to start.

HTH Jared

"Sentell, Aaron" <aaron_sentell_at_tempe.gov> Sent by: oracle-l-bounce_at_freelists.org
06/09/2004 04:53 PM
Please respond to
oracle-l_at_freelists.org

To
oracle-l_at_freelists.org
cc

Subject
RE: Shared server tuning

First of all, thanks to everyone for their responses so far. Your input is very much appreciated.

So now I'm talking about and considering changing this instance over to use
dedicated connections, but before I charge ahead "blindly" I would like to have a valid reason for doing this rather than just crossing my fingers and
hoping MTS is the problem.

...

Any input would be greatly appreciated.

Thanks!

Aaron



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Wed Jun 09 2004 - 19:52:04 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US