{"id":3748,"date":"2025-05-29T18:00:45","date_gmt":"2025-05-29T18:00:45","guid":{"rendered":"https:\/\/w3buddy.com\/?post_type=cposts&#038;p=3748"},"modified":"2025-06-02T17:14:54","modified_gmt":"2025-06-02T17:14:54","slug":"dispatcher-process-dnnn-shared-server-process-snnn","status":"publish","type":"cposts","link":"https:\/\/w3buddy.com\/blog\/notes\/getting-started-with-oracle-dba\/dispatcher-process-dnnn-shared-server-process-snnn\/","title":{"rendered":"Dispatcher Process (Dnnn) &amp; Shared Server Process (Snnn)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Managing Network Requests Efficiently \ud83d\udd04<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd0d What Are Dispatcher (Dnnn) and Shared Server (Snnn) Processes?<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In a <strong>shared server environment<\/strong>, multiple client sessions are handled efficiently by these processes.<\/li>\n\n\n\n<li>The <strong>dispatcher process (Dnnn)<\/strong> directs incoming network session requests to a pool of <strong>shared server processes (Snnn)<\/strong>.<\/li>\n\n\n\n<li>Multiple dispatcher processes can exist for a single database instance.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u2699\ufe0f How Does It Work?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Oracle Net Listener<\/strong> accepts a client connection request and returns the dispatcher\u2019s address.<\/li>\n\n\n\n<li>The <strong>client communicates with the dispatcher<\/strong> after connection establishment.<\/li>\n\n\n\n<li>Dispatcher places the client&#8217;s request into a <strong>request queue<\/strong> in the <strong>large pool<\/strong> of the system global area (SGA).<\/li>\n\n\n\n<li>The <strong>next available shared server process (Snnn)<\/strong> picks up the request and processes it.<\/li>\n\n\n\n<li>When done, the shared server places the response in the <strong>response queue<\/strong> in the large pool.<\/li>\n\n\n\n<li>The dispatcher sends the completed response back to the client.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u2699\ufe0f Running Mode<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Both <strong>dispatcher (Dnnn)<\/strong> and <strong>shared server (Snnn)<\/strong> processes can run as <strong>threads<\/strong> or <strong>operating system processes<\/strong>.<\/li>\n\n\n\n<li>Dispatchers run in shared server environments and are part of the database instance infrastructure.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udca1 Why It Matters<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Efficiently manages multiple client requests without needing a dedicated server process for each.<\/li>\n\n\n\n<li>Reduces memory and CPU overhead.<\/li>\n\n\n\n<li>Improves scalability and resource utilization in multi-user environments.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Managing Network Requests Efficiently \ud83d\udd04 \ud83d\udd0d What Are Dispatcher (Dnnn) and Shared Server (Snnn) Processes? \u2699\ufe0f How Does It Work? \u2699\ufe0f Running Mode \ud83d\udca1 Why It Matters<\/p>\n","protected":false},"template":"","meta":{"googlesitekit_rrm_CAowu461DA:productID":""},"categories":[960,952],"class_list":["post-3748","cposts","type-cposts","status-publish","hentry","category-getting-started-with-oracle-dba","category-notes"],"_links":{"self":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/cposts\/3748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/cposts"}],"about":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/types\/cposts"}],"wp:attachment":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/media?parent=3748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/categories?post=3748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}