Usage and Configuration of the Oracle Shared Server pptx

22 372 3
Usage and Configuration of the Oracle Shared Server pptx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

5 Copyright © Oracle Corporation, 2002. All rights reserved. Usage and Configuration of the Oracle Shared Server 5-2 Copyright © Oracle Corporation, 2002. 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, 2002. All rights reserved. Server Configurations • Dedicated server process • Shared server process 5-4 Copyright © Oracle Corporation, 2002. All rights reserved. Dedicated Server Processes Client Server User process Server process PMON DBWnSMON LGWRCKPT ARCn Instance SGA 5-5 Copyright © Oracle Corporation, 2002. All rights reserved. Oracle Shared Server Shared server processes Database server Client Snnn Snnn User process User process Snnn Instance SGA Dispatcher D003 Dispatcher D001 Dispatcher D002 5-7 Copyright © Oracle Corporation, 2002. 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, 2002. 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, 2002. All rights reserved. 2 1 Database server Client Connecting User process User process Listener Dispatcher process D001 Dispatcher process D002 3 5-10 Copyright © Oracle Corporation, 2002. All rights reserved. PMON DBWn SMON LGWRCKPT ARCn Request Queue Response queue for (D002) Response queue for (D003) Instance SGA Processing a Request Shared server processes Database server client Snnn Snnn User process Listener Dispatcher D002 Dispatcher D003 Snnn Response queue for (D001) 4 5 3 2 1 6 Dispatcher D001 User process 5-12 Copyright © Oracle Corporation, 2002. 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 [...]... SHARED_ SERVERS Specifies the number of server processes created when an instance is started up SHARED_ SERVERS = 6 S001 S005 S002 5-18 S003 S004 S006 Copyright © Oracle Corporation, 2002 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... 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-28 Copyright © Oracle Corporation, 2002 All rights reserved Practice 5 Overview This practice covers the following topics: • Configuring Oracle Shared Server • Defining LOCAL_LISTENER... S006 S008 S010 Copyright © Oracle Corporation, 2002 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-21 Copyright © Oracle Corporation, 2002 All rights reserved SHARED_ SERVER_ SESSIONS • • Specifies the total number of Oracle Shared Server user sessions to allow... dedicated servers SHARED_ SERVER_ SESSIONS = 100 5-22 Copyright © Oracle Corporation, 2002 All rights reserved Related Parameters Other initialization parameters affected by Oracle Shared Server that may require adjustment: • LARGE_POOL_SIZE • SESSIONS 5-23 Copyright © Oracle Corporation, 2002 All rights reserved Verifying Setup • Verify that the dispatcher has registered with the listener when the instance...Configuring Oracle Shared Server • Required initialization parameters – DISPATCHERS – SHARED_ SERVERS • Optional initialization parameters – – – – 5-13 MAX_DISPATCHERS MAX _SHARED_ SERVERS CIRCUITS SHARED_ SERVER_ SESSIONS Copyright © Oracle Corporation, 2002 All rights reserved DISPATCHERS Specifies the number of dispatchers initially started for a given protocol... lsnrctl services • 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 5-25 Copyright © Oracle Corporation, 2002 All rights reserved Dynamic Views • • • • • • 5-27 V$CIRCUIT V $SHARED_ SERVER V$DISPATCHER V $SHARED_ SERVER_ MONITOR V$QUEUE V$SESSION Copyright © Oracle Corporation, 2002 All rights reserved Summary... TCP/IP IPC Copyright © Oracle Corporation, 2002 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 D004 Dispatcher D001 TCP/IP 5-16 Dispatcher D002 TCP/IP Dispatcher D003 IPC Dispatcher D005 Copyright © Oracle Corporation,... 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-29 Copyright © Oracle Corporation, 2002 All rights reserved . the following: • Identify the components of the Oracle Shared Server • Describe the Oracle Shared Server architecture • Configure the Oracle Shared Server • Identify. 5 Copyright © Oracle Corporation, 2002. All rights reserved. Usage and Configuration of the Oracle Shared Server 5-2 Copyright © Oracle Corporation,

Ngày đăng: 23/03/2014, 00:20

Từ khóa liên quan

Mục lục

  • Usage and Configuration of the Oracle Shared Server

  • Objectives

  • Server Configurations

  • Dedicated Server Processes

  • Oracle Shared Server

  • Benefits of Oracle Shared Server

  • Using a Dedicated Server with Oracle Shared Server

  • Connecting

  • Processing a Request

  • The SGA and PGA

  • Configuring Oracle Shared Server

  • DISPATCHERS

  • MAX_DISPATCHERS

  • SHARED_SERVERS

  • MAX_SHARED_SERVERS

  • CIRCUITS

  • SHARED_SERVER_SESSIONS

  • Related Parameters

  • Verifying Setup

  • Dynamic Views

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan