Choose a topic
2.4.2 About Dedicated Server ProcessesIn 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. 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.Note:In order for remote clients to connect to dedicated servers, the listener and the database instance must be running on the same computer.Figure 2-7 shows the listener passing a client connection request to a dedicated server process.The listener receives a client connection request.The listener starts a dedicated server process, and the dedicated server inherits the connection request from the listener.The client is now connected directly to the dedicated server.Figure 2-7 Connection to a Dedicated Server ProcessDescription of "Figure 2-7 Connection to a Dedicated Server Process"Figure 2-8 shows the role of a dedicated server in a redirected connection.The listener receives a client connection request.The listener starts a dedicated server process.The listener provides the location of the dedicated server process to the client in a redirect message.The client connects directly to the dedicated server.Figure 2-8 Redirected Connection to a Dedicated Server ProcessDescription of "Figure 2-8 Redirected Connection to a Dedicated Server Process"
About Dedicated Server Processes