Solved

Shared Server and Dedicated Server

Posted on 2006-06-28
6
806 Views
Last Modified: 2008-03-03
I'm very fresher in Oracle DBA field.I'm using Oracle 8.1.7.Pls help me

SELECT STATUS,SERVER
  FROM V$SESSION
 WHERE AUDSID = USERENV('SESSIONID')

Above query returns "dedicate"

And there is no "server=dedicate" entry in tnsnames.ora in server.

And following entries are available while i ran "show parameter"

mts_service=smsora
mts_servers=1
mts_dispatchers=(PROTOCOL=TCP)(SER=MODOSE)
mts_max_dispatchers=5
mts_max_servers=20

SO I'M IN CONFUSION IF MY DATABSE SERVER IS IN DEDICATE OR SHARED SERVER CONFIGURED MODE.
.PLS ANSWER?
0
Comment
Question by:prasantkmohanty
  • 2
  • 2
  • 2
6 Comments
 
LVL 14

Accepted Solution

by:
sathyagiri earned 125 total points
ID: 17001652
Look at your client m/c's TNSNAMES.ORA and check if the SERVER is set to DEDICATED OR SHARED?

IF the server paramater in TNSNAMES is set to DEDICATED, then it will created a DEDICATED connection
0
 

Author Comment

by:prasantkmohanty
ID: 17006961
Neither in Server nor in client there is the  entry of  "dedicated or shared" in  TNSNAMES.ORA file.I have mentioned the same in my question.pls answer.
0
 
LVL 16

Expert Comment

by:MohanKNair
ID: 17007043
Check whether the server is MTS configured

select server, count(*) from v$session where username is not null GROUP BY server;

0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 16

Expert Comment

by:MohanKNair
ID: 17007055
The above query returns "shared" only when at least one user is connect as shared. Even if the Database is MTS, the client has the option to connect as shared or dedicated by editing tnsnames.ora file entry.
0
 

Author Comment

by:prasantkmohanty
ID: 17007106
select server, count(*) from v$session where username is not null GROUP BY server;

Above query results like below:

DEDICATED -2
None-67
PSEUDO-10

0
 
LVL 14

Expert Comment

by:sathyagiri
ID: 17009270
I think dedicated is the default mode if nothing is specified in your TNSNAMES.ora
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
null value 15 106
syadmin MSSQL 2 71
use lov values 2 64
help restore my wordpress site made on WAMP 8 29
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question