Oracle Rdb

Oracle Rdb

Oracle SQL/Services Server Configuration Guide

Release 7.3.0.3

May 2010 This document contains configuration information specific to Oracle SQL/Services and OCI Services for Oracle Rdb release 7.3.0.3 for OpenVMS Alpha and HP OpenVMS Industry Standard 64 for Integrity Servers.

Oracle SQL/Services Server Configuration Guide, Release 7.3.0.3 for OpenVMS Alpha and HP OpenVMS Industry Standard 64 for Integrity Servers Copyright ? 1995, 2010, Oracle Corporation. All rights reserved. The Programs (which include both the software and documentation) contain proprietary information of Oracle Corporation; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs is prohibited. The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. Oracle Corporation does not warrant that this document is error free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation. If the Programs are delivered to the U.S. Government or anyone licensing or using the programs on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial techincal data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software--Restricted Rights (June 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065 The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and Oracle Corporation disclaims liability for any damages caused by such use of the Programs. Oracle is a registered trademark, and Oracle Rdb, Oracle SQL/Services, Oracle Rdb7, and SQL*Net are trademarks or registered trademarks of Oracle Corporation. Other names may be trademarks of their respective owners. The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.

ii

Contents

List of ETFixagabumlerepssles

Send Us Your Comments .................................................................................................................. xiii

Preface........................................................................................................................................................... xv

Intended Audience ................................................................................................................................... xv Operating System Information ................................................................................................................ xv Structure.................................................................................................................................................. xvi Related Documentation .......................................................................................................................... xvi Conventions ............................................................................................................................................ xvi

1 Overview

1.1 1.1.1 1.1.2 1.1.3 1.2 1.3 1.3.1 1.3.2 1.3.3

Oracle SQL/Services ................................................................................................................ 1-1 Server Management Utility ............................................................................................... 1-5 Privileges Needed to Manage a Server ............................................................................. 1-5 Running the SQLSRV_MANAGE Utility........................................................................ 1-6

Online Versus Offline Server Management ............................................................................. 1-6 OCI Services for Oracle Rdb ................................................................................................... 1-9

Oracle Call Interface ....................................................................................................... 1-10 Server-Side Solution ....................................................................................................... 1-10 Common Application Development ............................................................................... 1-11

2 Managing an Oracle SQL/Services System

2.1 Getting Started.......................................................................................................................... 2-1

iii

2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 2.6 2.6.1 2.6.2 2.6.3 2.6.4 2.7 2.7.1 2.7.2 2.7.3 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 2.10 2.10.1 2.10.2 2.11 2.11.1 2.11.2 2.12 2.13 2.13.1 2.13.2 2.13.3

Planning an Oracle SQL/Services Server Configuration ......................................................... 2-2 Setting Shared Memory Size .................................................................................................... 2-3 Managing Server Components ................................................................................................. 2-6

Managing a Server ............................................................................................................ 2-6 Managing a Dispatcher.................................................................................................... 2-10 Managing a Service ......................................................................................................... 2-13 Setting Up Dispatchers and Transport Selection.................................................................... 2-16 Setting Up Services and Types of Reuse................................................................................ 2-17 Session Reusable Universal Services.............................................................................. 2-20 Session Reusable Database Services............................................................................... 2-21 Transaction Reusable Database Services ........................................................................ 2-21 When to Use Session Reusable Versus Transaction Reusable Database Services ......... 2-23 Setting Database Access Authorization.................................................................................. 2-24 Specify a Default Connect User Name for the SQL/Services Protocol .......................... 2-27 Grant or Restrict Access to a Service.............................................................................. 2-28 Provide Arbitrary or Predefined Access to Data ............................................................. 2-28 Setting Up Security on Servers............................................................................................... 2-29 Client Identification and Authentication ......................................................................... 2-30 Service Access Authorization ......................................................................................... 2-31 Database and Data Access Authorization ....................................................................... 2-32 How Server Security Tiers Work Together for the SQL/Services Protocol ................... 2-32 Understanding Database Access Authorization Models for Oracle SQL/Services................ 2-35 Accessing an Oracle Rdb Database................................................................................. 2-35 Setting the Process User Name and the Oracle Rdb System User Name ....................... 2-38 Considering Security for Selecting the Service Owner User Name....................................... 2-39 Execution Environment for Database Requests .............................................................. 2-39 Execution Environment for External Functions and Procedures .................................... 2-41 Setting the Attributes for Number of Executors..................................................................... 2-43 Configuring a Fixed Number of Executors for a Service................................................ 2-43 Configuring a Variable Number of Executors for a Service ........................................... 2-43 Using a SQL Initialization File............................................................................................... 2-44 Using SQL/Services Logical Names ...................................................................................... 2-44 RDB$DDTM_XG_INFO Logical.................................................................................. 2-46 SQLNET_BLOB or SQLNET_BLOB_DATA_TYPES Logicals ................................. 2-46 SQLNET_BUGCHECK_FILE Logical .......................................................................... 2-46

iv

2.13.4 2.13.5 2.13.6 2.13.7 2.13.8 2.13.9 2.13.10 2.13.11 2.13.12 2.13.13 2.13.14 2.13.15 2.13.16 2.13.17

SQLNET_DEBUG_FLAGS Logical.............................................................................. SQLNET_DOMAIN Logical.......................................................................................... SQLNET_MAXLONGRAW Logical ............................................................................ SQLNET_RECO_USER Logical ................................................................................... SQLNET_STRUCTURED_DATE_TYPES Logical ..................................................... SQLNET_TIMESTAMP_DATE_TYPE Logical .......................................................... SQLNET_VALIDATE_PROGRAM Logical ................................................................ SQLSRV_DISP_LOGPATH and SQLSRV_DISP_DUMPPATH Logicals ................. SQLSRV_EXEC_LOG Logical ..................................................................................... SQLSRV$ALLOW_CAPTIVE Logical......................................................................... SQLSRV$CHECK_EXPIRED_PASSWORDS Logical................................................ SQLSRV$LOG_CONNECTIONS Logical.................................................................... SQLSRV$MAX_EXECUTOR_FAILURES Logical .................................................... SQLSRV$UPDATE_LOGIN_FREQUENCY Logical ..................................................

2-46 2-46 2-47 2-47 2-47 2-47 2-48 2-48 2-49 2-49 2-49 2-50 2-50 2-50

3 Maintaining an Oracle SQL/Services Server

3.1 3.2 3.2.1 3.2.2

Monitoring Server Activity ...................................................................................................... 3-1 Monitoring Client Connections................................................................................................ 3-2

Client Connection States for Session Reusable Services.................................................. 3-2 Client Connection States for Transaction Reusable Database Services ........................... 3-3

4 OCI Services for Oracle Rdb Features

4.1 OCI Message Mapping............................................................................................................. 4-1 4.2 Cursor Management ................................................................................................................. 4-2 4.3 Data Types................................................................................................................................ 4-2 4.4 Data Definition Language ........................................................................................................ 4-2 4.5 SQL Cursor Semantics ............................................................................................................. 4-2 4.6 Oracle SQL ALTER SESSION Statement............................................................................... 4-2 4.7 Data Formatting........................................................................................................................ 4-2 4.8 Statement Parsing ..................................................................................................................... 4-3 4.9 Data Type Descriptions ............................................................................................................ 4-4 4.10 Oracle Data Dictionary............................................................................................................. 4-5 4.11 Multischema Emulation ........................................................................................................... 4-6 4.12 Handling 31-Character Object Names ..................................................................................... 4-7

v

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download