O'Reilly logo

Oracle Net8 Configuration and Troubleshooting by Jonathan Gennick, Hugo Toledo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Multi-Threaded Server

Multi-threaded server (MTS) is Oracle’s answer to the problem of supporting large numbers of client connections to a database instance or to a group of database instances (when Oracle Parallel Server is being used). Rather than create a dedicated server process for each client connection, MTS allows many client connections to share a single server process.

Understanding MTS

Multi-threaded server is not something you should implement just because it exists. MTS has a specific purpose and, like any other feature, it comes with a set of trade-offs that you need to consider before deciding to use it.

The Problem

Organizations over the years have greatly increased the number of users connecting to their databases. Using the traditional dedicated server model of connecting, each client user is given a dedicated process that runs on the database server. These dedicated processes require memory, and, as the number of users increases, the demand for memory increases linearly. It also takes time to create and delete these dedicated server processes. If you have a lot of churn—in other words, if clients are constantly connecting and disconnecting throughout the day—a good percentage of your server’s CPU resources will end up being dedicated to creating and deleting dedicated server processes. These are the two issues that MTS was designed to solve.

The Benefits

In many environments, especially online transaction environments, users spend much of their time reading ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required