Solved

Shared Server and Dedicated Server

Posted on 2006-06-28
6
815 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get Database Help Now w/ Support & Database Audit

Keeping your database environment tuned, optimized and high-performance is key to achieving business goals. If your database goes down, so does your business. Percona experts have a long history of helping enterprises ensure their databases are running smoothly.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
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…

710 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