| Lesson 4 | Oracle Shared Server |
| Objective | Understand how Shared Server is configured and how to verify it. There is no single “Shared Server executable”. |
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.
ora_D000_<SID>, ora_D001_…
ora_S000_<SID>, ora_S001_…
tnslsnr advertises the service/handlers used by dispatchers.oracle.exe; you will also see tnslsnr.exe.$ORACLE_HOME/bin. Don’t search for names like
smon_ — SMON is a background process unrelated to Shared Server.
-- 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;
-- 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;
lsnrctl services
You should see service handlers showing dispatchers in addition to (or instead of) dedicated handlers.
ps -ef | egrep 'ora_(D|S)[0-9]+|tnslsnr' | grep -v grep
tasklist /FI "IMAGENAME eq tnslsnr.exe"
sc query type= service state= all | findstr /i "OracleService OracleOra TNSListener"
Prefer Dedicated Server for long-running, CPU-heavy, or bulk workloads.
oracle/oracle.exe and tnslsnr/tnslsnr.exe.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.