5 Copyright © Oracle Corporation, 2002. All rights reserved. Usage and Configuration of the Oracle Shared Server.

Slides:



Advertisements
Similar presentations
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Implementing IP Addressing Services Accessing the WAN – Chapter 7.
Advertisements

INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
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.
5 Copyright © Oracle Corporation, All rights reserved. Using Data Dictionary and Dynamic Performance Views Cui Zhou Oracle Certified Professional.
5 Copyright © Oracle Corporation, All rights reserved. Using Data Dictionary and Dynamic Performance Views.
15 Copyright © 2004, Oracle. All rights reserved. Monitoring and Managing Memory.
1 - Oracle Server Architecture Overview
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Lecture Week 7 Implementing IP Addressing Services.
Module – 7 network-attached storage (NAS)
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.
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.
Implementing IP Addressing Services Accessing the WAN – Chapter 7.
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.
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.
Instance and Media Recovery Structures Supinfo Oracle Lab. 7.
Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
8 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. BI Publisher Server: Administration and Security.
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.
7 Copyright © Oracle Corporation, All rights reserved. Instance and Media Recovery Structures.
Usage and Configuration of the Oracle Shared Server Supinfo Oracle Lab. 5.
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.
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.
Module 8: Networking Services
Network Load Balancing
Module 8: Concepts of a Network Load Balancing Cluster
Direct Attached Storage and Introduction to SCSI
DATABASE LINK DISTRIBUTED DATABASE.
Implementing IP Addressing Services
Microsoft SQL Server 2014 for Oracle DBAs Module 2
Oracle Architectural Components
Presentation transcript:

5 Copyright © Oracle Corporation, All rights reserved. Usage and Configuration of the Oracle Shared Server

5-2 Copyright © Oracle Corporation, All rights reserved. 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

5-3 Copyright © Oracle Corporation, All rights reserved. Server Configurations Dedicated server process Shared server process

5-4 Copyright © Oracle Corporation, All rights reserved. Dedicated Server Processes ClientServer User process Server process PMON DBWnSMON LGWRCKPTARCn Instance SGA

5-5 Copyright © Oracle Corporation, All rights reserved. Oracle Shared Server Shared server processes Database server Client Snnn User process Snnn Instance SGA Dispatcher D003 Dispatcher D001 Dispatcher D002

5-6 Copyright © Oracle Corporation, All rights reserved.

5-7 Copyright © Oracle Corporation, All rights reserved. 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

5-8 Copyright © Oracle Corporation, All rights reserved. Using a Dedicated Server with Oracle Shared Server TEST.world = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = stc-sun02) (PORT = 1521) ) (CONNECT_DATA=(SERVICE_NAME=TEST.us.oracle.com) (SERVER=DEDICATED) )

5-9 Copyright © Oracle Corporation, All rights reserved. 2 1 Database server Client Connecting User process Listener Dispatcher process D001 Dispatcher process D002 3

5-10 Copyright © Oracle Corporation, All rights reserved. PMON DBWn SMON LGWRCKPTARCn Request Queue Response queue for (D002) Response queue for (D003) Instance SGA Processing a Request Shared server processes Database server client Snnn User process Listener Dispatcher D002 Dispatcher D003 Snnn Response queue for (D001) Dispatcher D001 User process

5-11 Copyright © Oracle Corporation, All rights reserved.

5-12 Copyright © Oracle Corporation, All rights reserved. Oracle Shared Server: User session data is held in the SGA SGA User session data Cursor state Shared pool and other memory structures Stack space PGA Dedicated Server: User session data is kept in the PGA The SGA and PGA SGA Shared pool and other memory structures Stack space User session data Cursor state PGA

5-13 Copyright © Oracle Corporation, All rights reserved. Configuring Oracle Shared Server Required initialization parameters – DISPATCHERS – SHARED_SERVERS Optional initialization parameters – MAX_DISPATCHERS – MAX_SHARED_SERVERS – CIRCUITS – SHARED_SERVER_SESSIONS

5-14 Copyright © Oracle Corporation, All rights reserved. DISPATCHERS Specifies the number of dispatchers initially started for a given protocol DISPATCHERS = "(PROTOCOL=TCP)(DISPATCHERS=2)\ (PROTOCOL=IPC)(DISPATCHERS=1)" Dispatcher D002 TCP/IP Dispatcher D003 IPC Dispatcher D001 TCP/IP

5-15 Copyright © Oracle Corporation, All rights reserved.

5-16 Copyright © Oracle Corporation, All rights reserved. MAX_DISPATCHERS Specifies the maximum number of dispatcher processes that can run simultaneously Issues the ALTER SYSTEM command to add more dispatchers than initially started MAX_DISPATCHERS = 5 Dispatcher D002 TCP/IP Dispatcher D003 IPC Dispatcher D001 TCP/IP Dispatcher D004 Dispatcher D005

5-17 Copyright © Oracle Corporation, All rights reserved.

5-18 Copyright © Oracle Corporation, All rights reserved. SHARED_SERVERS Specifies the number of server processes created when an instance is started up SHARED_SERVERS = 6 S001 S002 S003 S004 S005 S006

5-19 Copyright © Oracle Corporation, All rights reserved.

5-20 Copyright © Oracle Corporation, All rights reserved. MAX_SHARED_SERVERS 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 MAX_SHARED_SERVERS = 10 S001 S002 S003 S004 S005 S006 S007 S008 S009 S010

5-21 Copyright © Oracle Corporation, All rights reserved. CIRCUITS Specifies the total number of virtual circuits that are available for inbound and outbound network sessions Contributes to total SGA size CIRCUITS = 100

5-22 Copyright © Oracle Corporation, All rights reserved. SHARED_SERVER_SESSIONS Specifies the total number of Oracle Shared Server user sessions to allow Setting this parameter enables you to reserve user sessions for dedicated servers SHARED_SERVER_SESSIONS = 100

5-23 Copyright © Oracle Corporation, All rights reserved. Related Parameters Other initialization parameters affected by Oracle Shared Server that may require adjustment: LARGE_POOL_SIZE SESSIONS

5-24 Copyright © Oracle Corporation, All rights reserved.

5-25 Copyright © Oracle Corporation, All rights reserved. Verify that the dispatcher has registered with the listener when the instance 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. Verifying Setup $ lsnrctl services

5-26 Copyright © Oracle Corporation, All rights reserved.

5-27 Copyright © Oracle Corporation, All rights reserved. Dynamic Views V$CIRCUIT V$SHARED_SERVER V$DISPATCHER V$SHARED_SERVER_MONITOR V$QUEUE V$SESSION

5-28 Copyright © Oracle Corporation, All rights reserved. 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

5-29 Copyright © Oracle Corporation, All rights reserved. Practice 5 Overview This practice covers the following topics: Configuring Oracle Shared Server Defining LOCAL_LISTENER for instance registration Using the Listener Control utility to verify services Verifying shared server configuration and performance using V$ views Verifying instance registration

5-30 Copyright © Oracle Corporation, All rights reserved.