Usage and Configuration of the Oracle Shared Server Supinfo Oracle Lab. 5.

Slides:



Advertisements
Similar presentations
The Architecture of Oracle
Advertisements

Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
3 Managing an Oracle Instance. Objectives Setting up operating system and password file authentication Creating the parameter file Starting up an instance.
Oracle Architecture. Instances and Databases (1/2)
15 Copyright © 2004, Oracle. All rights reserved. Monitoring and Managing Memory.
1 - Oracle Server Architecture Overview
10 Copyright © 2009, Oracle. All rights reserved. Managing Undo Data.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Configuring Recovery Manager
Oracle Architecture. Database instance When a database is started the current state of the database is given by the data files, a set of background (BG)
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
13 Copyright © 2004, Oracle. All rights reserved. Oracle Shared Servers.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Client-Server – Lecture 4 Copyright System Managers LLC 2007 all rights reserved.
Oracle Overview and Architecture
5 Copyright © 2008, Oracle. All rights reserved. Configuring the Oracle Network Environment.
5 Copyright © 2007, Oracle. All rights reserved. Configuring the Oracle Network Environment.
12 Copyright © 2004, Oracle. All rights reserved. Oracle Net Services.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
Oracle 10g Administration Oracle Shared Server Copyright ©2006, Custom Training Institute.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
By Lecturer / Aisha Dawood 1.  You can control the number of dispatcher processes in the instance. Unlike the number of shared servers, the number of.
By Lecturer / Aisha Dawood 1.  Dedicated and Shared Server Processes  Configuring Oracle Database for Shared Server  Oracle Database Background Processes.
1 Oracle Architectural Components. 1-2 Objectives Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing.
Copyright  Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc.
Copyright © Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
An Oracle server:  Is a database management system that provides an open, comprehensive, integrated approach to information management.  Consists.
6 Copyright © 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Backup and Recovery Overview Supinfo Oracle Lab. 6.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
3 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Server Side Configuration.
CSC 312 Lecture 10 JDBC - Basics. Network Client Machine Server Machine (raptor.cs.mercer.edu) Client Application Server Prog. (Oracle) Database (csc312std)
Module 1: Configuring Routing by Using Routing and Remote Access.
3 Copyright © 2004, Oracle. All rights reserved. Controlling Access to the Oracle Listener.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Nitin Singh,AAO/EDP,RTI Allahabad1 Troubleshooting.
Instance and Media Recovery Structures Supinfo Oracle Lab. 7.
Configuring the Database Archiving Mode
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration.
E Copyright © 2006, Oracle. All rights reserved. Oracle Shared Servers.
Oracle9i Performance Tuning Chapter 11 Advanced Tuning Topics.
Endpoints Lesson 17. Skills Matrix Endpoints Endpoints provide a reliable, securable, scalable messaging system that enables SQL Server to communicate.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
7 Copyright © Oracle Corporation, All rights reserved. Instance and Media Recovery Structures.
5 Copyright © Oracle Corporation, All rights reserved. Usage and Configuration of the Oracle Shared Server.
Basic Oracle Net Services Client-Side Configuration
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
1 Copyright © 2006, Oracle. All rights reserved. Introduction.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
2 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Architecture.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle Database Architectural Components
19 Copyright © 2008, Oracle. All rights reserved. Security.
Initialization Parameters
DATABASE LINK DISTRIBUTED DATABASE.
Microsoft SQL Server 2014 for Oracle DBAs Module 2
Oracle Memory Internals
Oracle Architectural Components
Presentation transcript:

Usage and Configuration of the Oracle Shared Server Supinfo Oracle Lab. 5

Objectives After completing this lesson, you should be able to do the following: Identify the components of the Oracle Shared Server Describe the Oracle Shared Server architecture Configure the Oracle Shared Server Identify and explain usefulness of related data dictionary views

Server Configurations Dedicated server process Shared server process

Dedicated Server Processes ClientServer User process Server process PMON DBWnSMON LGWRCKPTARCn Instance SGA

Oracle Shared Server Shared server processes Database server client Snnn User process Snnn Instance SGA Dispatcher D003 Dispatcher D001 Dispatcher D002

Benefits of Oracle Shared Server Reduces the number of processes against an instance Increases the number of possible users Achieves load balancing Reduces the number of idle server processes Reduces memory usage and system overhead

Connecting 2 1 Database server client User process Listener Dispatcher process D001 Dispatcher process D002 3

Processing a Request PMON DBWn SMON LGWRCKPTARCn Request Queue for all Dispatchers Response queue for (D002) Response queue for (D003) Instance SGA 6 1 Shared server processes Database server client Snnn User process Listener Dispatcher D002 Dispatcher D003 Snnn Dispatcher D Response queue for (D001)

The SGA and PGA SGA Oracle Shared Server: User session data is held in the SGA SGA Shared pool and other memory structures User session data Cursor state Shared pool and other memory structures Stack space PGA Dedicated Server: User session data is kept in the PGA Stack space User session data Cursor state PGA

Configuring Oracle Shared Server initSID.ora parameters Required Parameters –DISPATCHERS –SHARED_SERVERS Optional Parameters –MAX_DISPATCHERS –MAX_SHARED_SERVERS –CIRCUITS –SHARED_SERVER_SESSIONS

DISPATCHERS dispatchers = “(PROTOCOL=TCP)(DISPATCHERS=2)\ (PROTOCOL=IPC)(DISPATCHERS=1)” Dispatcher D002 TCP/IP Init.ora file Dispatcher D003 IPC Dispatcher D001 TCP/IP Specifies the number of dispatchers initially started for a given protocol

SHARED_SERVERS shared_servers = 6 Init.ora file S001 S002 S003 S004 S005 S006 Specifies the number of server processes created when an instance is started up

MAX_DISPATCHERS max_dispatchers = 5 Init.ora file Dispatcher D002 TCP/IP Dispatcher D003 IPC Dispatcher D001 TCP/IP Dispatcher D004 Dispatcher D005 Specifies the maximum number of dispatcher processes that can run simultaneously Issue ALTER SYSTEM command to add more dispatchers than initially started

MAX_SHARED_SERVERS max_shared_servers = 10 Init.ora file S001 S002 S003 S004 S005 S006 S007 S008 S009 S010 Specifies the maximum number of shared servers that can be started Allows shared servers to be allocated dynamically based on the length of the request queue

CIRCUITS Instance: TST8i CIRCUITS = 100 Init.ora file Specifies the total number of virtual circuits that are available for inbound and outbound network sessions Contributes to total SGA size

SHARED_SERVER_SESSIONS SHARED_SERVER_SESSIONS = 100 Init.ora file Specifies the total number of Oracle Shared Server user sessions to allow. Setting this parameter enables you to reserve user sessions for dedicated servers.

Related Parameters Other initialization parameters affected by Oracle Shared Server that may require adjustment: LARGE_POOL_SIZE SESSIONS

Verifying Setup $ lsnrctl services Verify that the dispatcher has registered with the listener when the database was started by issuing: Verify that you are connected using shared servers by making a single connection then query V$CIRCUIT view to show one entry per shared server connection

Data Dictionary Views V$CIRCUIT V$SHARED_SERVER V$DISPATCHER V$SHARED_SERVER_MONITOR V$QUEUE V$SESSION

Summary In this lesson, you should have learned how to: Identify the components of the Oracle Shared Server Describe the Oracle Shared Server architecture Configure the Oracle Shared Server Identify and explain usefulness of related data dictionary views

Practice 5 Overview This practice covers the following topics: Configuring Oracle Shared Server Defining LOCAL_LISTENER for instance registration Using LSNRCTL utility to verify services Verifying shared server configuration and performance using V$ views Verifying instance registration