DB Creation   «Prev  Next»

Lesson 4 Oracle Shared Server
Objective Understand how Shared Server is configured and how to verify it. There is no single “Shared Server executable”.

Oracle Shared Server: Processes, Configuration, and How to Verify

Shared Server (formerly MTS) is a database-side architecture that lets many client sessions share a pool of server processes. You do not start a separate “shared server executable”. Instead, the instance spawns shared server and dispatcher processes when parameters are set.

What actually runs?

There is no special “Shared Server executable” to find in $ORACLE_HOME/bin. Don’t search for names like smon_SMON is a background process unrelated to Shared Server.

Oracle 19c DBA on AWS

How to enable (DBA)

-- Example: enable 4 shared servers and one TCP dispatcher
ALTER SYSTEM SET shared_servers = 4 SCOPE=BOTH;
ALTER SYSTEM SET dispatchers = '(PROTOCOL=TCP)(SERVICE=orclXDB)' SCOPE=BOTH;

How to verify from SQL*Plus

-- Parameters
SHOW PARAMETER shared_servers
SHOW PARAMETER dispatchers

-- Runtime views
SELECT name, network, status, messages FROM v$dispatcher ORDER BY name;
SELECT name, status, requests, bytes FROM v$shared_server ORDER BY name;

How to verify via the listener

lsnrctl services

You should see service handlers showing dispatchers in addition to (or instead of) dedicated handlers.

OS checks

Linux/UNIX

ps -ef | egrep 'ora_(D|S)[0-9]+|tnslsnr' | grep -v grep

Windows

tasklist /FI "IMAGENAME eq tnslsnr.exe"
sc query type= service state= all | findstr /i "OracleService OracleOra TNSListener"

When to use Shared Server

Prefer Dedicated Server for long-running, CPU-heavy, or bulk workloads.

Common misconceptions (fixed)


Summary: Configure Shared Server with shared_servers and dispatchers; verify using parameters, V$ views, lsnrctl services, and OS process checks. There is no separate executable to locate.

Title: Oracle Shared Server: Processes, Configuration, and How to Verify (No Separate Executable)

Meta Description: There is no standalone “Shared Server executable.” Learn how Shared Server works in Oracle, how to enable it with parameters, and how to verify via V$ views, lsnrctl, and OS checks on Linux/UNIX and Windows.


SEMrush Software 4 SEMrush Banner 4