Oracle Database - Dedicated Server Process

> Database > Oracle Database

1 - About

In a dedicated server configuration, the listener starts a separate dedicated server process for each incoming client connection request dedicated to servicing the client. After the session is complete, the dedicated server process terminates. Because a dedicated server process has to be started for each connection, this configuration may require more system resources than shared server configurations.

A dedicated server process is a type of service handler that the listener starts when it receives a client request.

Advertising

3 - Listener Actions

To complete a client/server connection, one of the following actions occurs:

  • The dedicated server inherits the connection request from the listener.
  • The dedicated server informs the listener of its listening protocol address. The listener passes the protocol address to the client in a redirect message and terminates the connection. The client connects to the dedicated server directly using the protocol address.

One of the preceding actions is selected based on the operating system and the transport protocol.

If the client and database exist on the same computer, then a client connection can be passed directly to a dedicated server process without going through the listener. This is known as a bequeath protocol. The application initiating the session spawns a dedicated server process for the connection request. This happens automatically if the application used to start the database is on the same computer as the database.

In order for remote clients to connect to dedicated servers, the listener and the database instance must be running on the same computer.

Connection to a Dedicated Server Process Redirected Connection to a Dedicated Server Process
1 - The listener receives a client connection request.
2 - The listener starts a dedicated server process,
and the dedicated server inherits the connection request from the listener.
3 - The client is now connected directly to the dedicated server.
1 - The listener receives a client connection request
2 - The listener starts a dedicated server process.
3 - The listener provides the location of
the dedicated server process to the client in a redirect message.
4 - The client connects directly to the dedicated server.
Advertising

4 - Documentation / Reference