13 Copyright © 2004, Oracle. All rights reserved. Oracle Shared Servers.

Slides:



Advertisements
Similar presentations
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
Advertisements

Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
15 Copyright © 2004, Oracle. All rights reserved. Monitoring and Managing Memory.
12 Copyright © 2005, Oracle. All rights reserved. Proactive Maintenance.
1 - Oracle Server Architecture Overview
10 Copyright © 2009, Oracle. All rights reserved. Managing Undo Data.
2 Copyright © 2009, Oracle. All rights reserved. Installing your Oracle Software.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
4 Copyright © 2008, Oracle. All rights reserved. Configuring Backup Specifications.
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.
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.
Module 8: Server Management. Overview Server-level and instance-level resources such as memory and processes Database-level resources such as logical.
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.
15 Copyright © 2004, Oracle. All rights reserved. Proactive Maintenance.
12 Copyright © 2004, Oracle. All rights reserved. Oracle Net Services.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Oracle 10g Administration Oracle Shared Server Copyright ©2006, Custom Training Institute.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
5 Copyright © 2008, Oracle. All rights reserved. Using RMAN to Create Backups.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
1Introduction Objectives 1-2 Course Objectives 1-3 Oracle Products 1-4 Relational Database Systems 1-5 How the Data Is Organized 1-6 Integrity Constraints.
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.
Copyright  Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
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.
18 Copyright © Oracle Corporation, All rights reserved. Workshop.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
7 Copyright © 2005, Oracle. All rights reserved. Managing Undo Data.
3 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Server Side Configuration.
3 Copyright © 2004, Oracle. All rights reserved. Controlling Access to the Oracle Listener.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Instance and Media Recovery Structures Supinfo Oracle Lab. 7.
3 Copyright © 2005, Oracle. All rights reserved. Creating an Oracle Database.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
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.
20 Copyright © 2008, Oracle. All rights reserved. Cache Management.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
Oracle9i Performance Tuning Chapter 11 Advanced Tuning Topics.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
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.
5 Copyright © Oracle Corporation, All rights reserved. Usage and Configuration of the Oracle Shared Server.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Usage and Configuration of the Oracle Shared Server Supinfo Oracle Lab. 5.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
2 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Architecture.
2 Copyright © 2005, Oracle. All rights reserved. Installing Oracle Software and Creating the Database.
6 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
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
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
10 Copyright © 2007, Oracle. All rights reserved. Managing Undo Data.
DATABASE LINK DISTRIBUTED DATABASE.
Oracle Architectural Components
Presentation transcript:

13 Copyright © 2004, Oracle. All rights reserved. Oracle Shared Servers

13-2 Copyright © 2004, Oracle. All rights reserved. Objectives After completing this lesson you should be able to do the following: Identify when to use Oracle Shared Servers Configure Oracle Shared Servers Monitor Shared Servers

13-3 Copyright © 2004, Oracle. All rights reserved. Listener Establishing a Connection Incoming connection request

13-4 Copyright © 2004, Oracle. All rights reserved. Dedicated Server Process Listener Server process User process

13-5 Copyright © 2004, Oracle. All rights reserved. Server process User Sessions PGA Listener User Session User process

13-6 Copyright © 2004, Oracle. All rights reserved. User Sessions: Dedicated Server User sessions Server process User session

13-7 Copyright © 2004, Oracle. All rights reserved. User Sessions: Shared Server Listener Dispatcher Server process

13-8 Copyright © 2004, Oracle. All rights reserved. Response queue for D001 Response queue for D002 Instance SGA Shared server processes Database server Client or middle tier S001 S002 User process Dispatcher D001 Dispatcher D002 S000 Dispatcher D000 Response queue for D000 Processing a Request User process Common request queue for all dispatchers

13-9 Copyright © 2004, Oracle. All rights reserved. SGA Oracle Shared Server: User session data is held in the SGA. SGA Shared pool and other memory structures 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 The SGA and PGA User session data

13-10 Copyright © 2004, Oracle. All rights reserved. Configuring Oracle Shared Server Required parameter DISPATCHERS Optional parameters SHARED_SERVERS MAX_SHARED_SERVERS CIRCUITS SHARED_SERVER_SESSIONS

13-11 Copyright © 2004, Oracle. All rights reserved. DISPATCHERS = “(PROTOCOL=TCP)(DISPATCHERS=2)\ (PROTOCOL=IPC)(DISPATCHERS=1)” Dispatcher D001 TCP/IP Dispatcher D002 IPC Dispatcher D000 TCP/IP DISPATCHERS Specifies the number of dispatchers that are initially started for a given protocol.

13-12 Copyright © 2004, Oracle. All rights reserved. DISPATCHERS Full Notes Page

13-13 Copyright © 2004, Oracle. All rights reserved. SHARED_SERVERS = 6 S000 S001 S002 S003 S004 S005 SHARED_SERVERS Specifies the number of shared server processes created when an instance is started up, and retained during instance operation.

13-14 Copyright © 2004, Oracle. All rights reserved. MAX_SHARED_SERVERS = 10 S000 S001 S002 S003 S004 S005 S006 S007 S008 S009 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

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

13-16 Copyright © 2004, Oracle. All rights reserved. SHARED_SERVER_SESSIONS = 100 SHARED_SERVER_SESSIONS Specifies the total number of Oracle Shared Server user sessions to allow Enables you to reserve user sessions for dedicated servers

13-17 Copyright © 2004, Oracle. All rights reserved. Related Parameters Other initialization parameters affected by Oracle Shared Server that may require adjustment: LARGE_POOL_SIZE SESSIONS PROCESSES LOCAL_LISTENER

13-18 Copyright © 2004, Oracle. All rights reserved. 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 connection and then query V$CIRCUIT view to show one entry per shared server connection. $ lsnrctl SERVICES Verifying Shared Server Setup

13-19 Copyright © 2004, Oracle. All rights reserved. Verifying Shared Server Setup Full Notes Page

13-20 Copyright © 2004, Oracle. All rights reserved. Data Dictionary Views V$CIRCUIT V$SHARED_SERVER V$DISPATCHER V$SHARED_SERVER_MONITOR V$QUEUE V$SESSION

13-21 Copyright © 2004, Oracle. All rights reserved. Choosing a Connection Type Unless otherwise configured, Oracle Net connections will use: Shared server if one is available Dedicated server if a shared server connection is not available Using local or directory naming, the connection type can be specified as part of the Net service alias.

13-22 Copyright © 2004, Oracle. All rights reserved. When Not to Use Shared Server Certain types of database work should not be performed using shared servers: Database administration Backup and recovery operations Batch processing and bulk load operations Data warehouse operations Dispatcher Server process

13-23 Copyright © 2004, Oracle. All rights reserved. Summary In this lesson you should have learned how to: Identify when to use Oracle Shared Servers Configure Oracle Shared Servers Monitor Shared Servers

13-24 Copyright © 2004, Oracle. All rights reserved. Practice 13 Overview: Oracle Shared Servers This practice covers the following topics: Investigating the impact of dedicated server connections on your system Configuring your system to use shared servers Investigating the impact of shared server connections on your system

13-25 Copyright © 2004, Oracle. All rights reserved. Practice Lesson 13

13-26 Copyright © 2004, Oracle. All rights reserved.