Q
Problem solve Get help with specific problems with your technologies, process and projects.

Can server be shared and dedicated at the same time?

Can the server be in both a dedicated and shared server session at the same time?

As a follow-up to the shared server session question, does this mean the server can be in both a dedicated and shared server session at the same time? Is there a way to connect to say it will be using a shared server session? Right now we're using database links and we can't use the 'PUBLIC SHARED' option because we're in dedicated server session and this will be in conflict with Oracle LDAP.

You can have both dedicated and shared server sessions at the same time in your Oracle instance. First, set up your listener to use shared server. Then, if you want your clients to connect using shared server, you'll want to add the following line:

(SERVER=shared)
To your TNSNAMES.ORA for that TNS alias. If your line reads:
(SERVER=dedicated)
then even if you have shared server set up, Oracle will still create a dedicated connection for you.

More information can be found in the Oracle docs, particularly the following:
http://download-west.oracle.com/docs/cd/B10501_01/network.920/a96580/mts.htm#453787

For More Information


This was last published in August 2003

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close