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 or dedicated server -- How to find ?

Re: shared server or dedicated server -- How to find ?

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Tue, 02 Dec 2003 01:59:25 -0800
Message-ID: <F001.005D85A8.20031202015925@fatcity.com>


Don't worry about dispacther's address, they ought to be running on different ports than listener anyway.
Don't use lsnrctl status for checkin services, lsnrctl services is for that.

Yes, in Oracle you can directly connect to your dispatcher as well if you want to (some people have resolved firewall port issues that way, by setting dispacther to run on specific port).
But generally you should use listener to connect. Listener acts just like a middle-man when estabilishing connection. When a new connection is made to listener and service "orcl" is requested for example, then listener checks whether it has a service "orcl" configured in it's confifguration (listener.ora) or has anyone registered this kind of service with it. If it finds the service, it also knows on which ports are the dispatchers or with which SID should it spawn a new server process.

Tanel.

> Tanel & List,
>
> SQL > select name,network,status, from v$dispatcher;
>
> NAME : D000
> NETWORK : (ADDRESS=(PROTOCOL=tcp)(HOST=oradb)(PORT=1027))
> STATUS : WAIT
>
> my listener.ora doesn't have an entry for this and LSNRCTL STATUS
> doesn't show that it's listening on port 1027.
> but still,if i change my port no in client tnsnames.ora to 1027,
> i'm able to connect.totally confused :((
>
> Thanks and Regards,
> Jp.
>
>
> 02-12-2003 15:54:24, "Tanel Poder" <tanel.poder.003_at_mail.ee> wrote:
>
> >I would use:
> >select server, count(*) from v$session group by server;
> >
> >That way you'll see how many sessions are using shared servers & how many
> >are forced to be dedicated. (you can have dedicated connections in MTS as
> >well).
> >
> >Otherwise, you can check views v$mts, v$dispatcher, v$shared_server for
> >statistics.
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Prem Khanna J
> INET: jprem_at_kssnet.co.jp
>
> 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: ListGuru_at_fatcity.com (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: Tanel Poder
  INET: tanel.poder.003_at_mail.ee

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: ListGuru_at_fatcity.com (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).
Received on Tue Dec 02 2003 - 03:59:25 CST

Original text of this message

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