1. Trang chủ
  2. » Công Nghệ Thông Tin

Oracle Database Concepts

732 412 1
Tài liệu đã được kiểm tra trùng lặp

Đ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

Thông tin cơ bản

Định dạng
Số trang 732
Dung lượng 7,24 MB

Nội dung

Oracle® Database Concepts 10g Release (10.1) Part No B10743-01 December 2003 Oracle Database Concepts, 10g Release (10.1) Part No B10743-01 Copyright © 1993, 2003 Oracle Corporation All rights reserved Primary Author: Michele Cyran Contributing Author: Paul Lane Contributors: Omar Alonso, Penny Avril, Hermann Baer, Sandeepan Banerjee, Mark Bauer, Ruth Baylis, Bill Bridge, Sandra Cheevers, Carol Colrain, Vira Goorah, Mike Hartstein, John Haydu, Wei Hu, Ramkumar Krishnan, Vasudha Krishnaswamy, Bill Lee, Bryn Llewellyn, Phil Locke, Rich Long, Diana Lorentz, Paul Manning, Krishna Mohan, Valarie Moore, Mughees Minhas, Tony Morales, Gopal Mulagund, Muthu Olagappan, Kathy Rich, John Russell, Vivian Schupmann, Bob Thome, Randy Urbano, Michael Verheij, Ron Weiss, Steve Wertheimer, Ramana Yerneni 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, except to the extent required to obtain interoperability with other independently created software or as specified by law, 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: Restricted Rights Notice Programs delivered subject to the DOD FAR Supplement are "commercial computer software" and use, duplication, and disclosure of the Programs, including documentation, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer software" and use, duplication, and disclosure of the Programs shall be subject to the restrictions 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 Express, Oracle Store, Oracle8i, Oracle9i, PL/SQL, Pro*C, Pro*C/C++, Pro*COBOL, Pro*FORTRAN, SQL*Net, and SQL*Plus are trademarks or registered trademarks of Oracle Corporation Other names may be trademarks of their respective owners Contents Send Us Your Comments xxxiii Preface xxxv Audience xxxv Organization xxxvi Related Documentation xxxix Conventions xl Documentation Accessibility xlv Part I What Is Oracle? Introduction to the Oracle Database Oracle Database Architecture Overview of Oracle Grid Architecture - XXX Oracle Technologies that Enable the Grid Managing the Grid Overview of Application Architecture Client/Server Architecture Multitier Architecture: Application Servers Overview of Physical Database Structures Datafiles Control Files Redo Log Files Archive Log Files 1-1 1-2 1-4 1-6 1-7 1-7 1-8 1-8 1-8 1-9 1-9 1-10 iii Parameter Files Alert and Trace Log Files Backup Files Overview of Logical Database Structures Tablespaces Oracle Data Blocks Extents Segments Overview of Schemas and Common Schema Objects Tables Indexes Views Clusters Synonyms Overview of the Oracle Data Dictionary Overview of the Oracle Instance Real Application Clusters: Multiple Instance Systems Instance Memory Structures System Global Area Program Global Area Oracle Background Processes Process Architecture Overview of Accessing the Database Network Connections Starting Up the Database How Oracle Works Overview of Oracle Utilities Oracle Database Features Overview of Scalability and Performance Features Concurrency Read Consistency Locking Mechanisms Quiesce Database Real Application Clusters Portability iv 1-10 1-10 1-11 1-11 1-11 1-12 1-12 1-12 1-14 1-14 1-14 1-14 1-15 1-15 1-15 1-16 1-16 1-16 1-16 1-17 1-18 1-18 1-19 1-19 1-20 1-20 1-21 1-21 1-22 1-22 1-23 1-24 1-25 1-25 1-25 Overview of Manageability Features Self-Managing Database Oracle Enterprise Manager SQL*Plus Automatic Storage Management The Scheduler Database Resource Manager Overview of Database Backup and Recovery Features Types of Failures Structures Used for Recovery Overview of High Availability Features Overview of Business Intelligence Features Data Warehousing Extraction, Transformation, and Loading (ETL) Materialized Views Bitmap Indexes in Data Warehousing Table Compression Parallel Execution Analytic SQL OLAP Capabilities Data Mining Partitioning Overview of Content Management Features XML in Oracle LOBs Oracle Text Oracle Ultra Search Oracle interMedia Oracle Spatial Overview of Security Features Security Mechanisms Overview of Data Integrity and Triggers Integrity Constraints Keys Triggers 1-26 1-26 1-26 1-27 1-27 1-27 1-27 1-28 1-28 1-29 1-31 1-32 1-32 1-32 1-32 1-32 1-33 1-33 1-33 1-33 1-34 1-34 1-35 1-35 1-35 1-35 1-35 1-36 1-36 1-36 1-37 1-37 1-38 1-38 1-39 v Overview of Information Integration Features Distributed SQL Oracle Streams Oracle Transparent Gateways and Generic Connectivity Oracle Database Application Development Overview of Oracle SQL SQL Statements Overview of PL/SQL PL/SQL Program Units Overview of Java Overview of Application Programming Languages (APIs) Overview of Transactions Commit and Undo Transactions Savepoints Overview of Datatypes Overview of Globalization Part II Oracle Database Architecture Data Blocks, Extents, and Segments Introduction to Data Blocks, Extents, and Segments Overview of Data Blocks Data Block Format Header (Common and Variable) Table Directory Row Directory Overhead Row Data Free Space Free Space Management Availability and Optimization of Free Space in a Data Block Row Chaining and Migrating PCTFREE, PCTUSED, and Row Chaining The PCTFREE Parameter The PCTUSED Parameter vi 1-39 1-39 1-40 1-42 1-42 1-43 1-43 1-44 1-45 1-45 1-46 1-47 1-48 1-48 1-48 1-49 2-1 2-3 2-4 2-4 2-4 2-4 2-5 2-5 2-5 2-5 2-6 2-6 2-7 2-7 2-8 Overview of Extents When Extents Are Allocated Determine the Number and Size of Extents How Extents Are Allocated When Extents Are Deallocated Extents in Nonclustered Tables Extents in Clustered Tables Extents in Materialized Views and Their Logs Extents in Indexes Extents in Temporary Segments Extents in Rollback Segments Overview of Segments Introduction to Data Segments Introduction to Index Segments Introduction to Temporary Segments Operations that Require Temporary Segments Segments in Temporary Tables and Their Indexes How Temporary Segments Are Allocated Introduction to Automatic Undo Management Undo Mode Undo Quota Automatic Undo Retention External Views 2-11 2-11 2-12 2-13 2-13 2-14 2-14 2-14 2-15 2-15 2-15 2-15 2-16 2-17 2-17 2-17 2-18 2-18 2-19 2-20 2-21 2-21 2-21 Tablespaces, Datafiles, and Control Files Introduction to Tablespaces, Datafiles, and Control Files Oracle-Managed Files Allocate More Space for a Database Overview of Tablespaces Bigfile Tablespaces Benefits of Bigfile Tablespaces Considerations with Bigfile Tablespaces The SYSTEM Tablespace The Data Dictionary PL/SQL Program Units Description 3-1 3-3 3-3 3-6 3-7 3-8 3-8 3-9 3-9 3-9 vii The SYSAUX Tablespace Undo Tablespaces Creation of Undo Tablespaces Assignment of Undo Tablespaces Default Temporary Tablespace How to Specify a Default Temporary Tablespace Using Multiple Tablespaces Managing Space in Tablespaces Locally Managed Tablespaces Segment Space Management in Locally Managed Tablespaces Dictionary Managed Tablespaces Multiple Block Sizes Online and Offline Tablespaces Bringing Tablespaces Offline Use of Tablespaces for Special Procedures Read-Only Tablespaces Temporary Tablespaces for Sort Operations Sort Segments Creation of Temporary Tablespaces Transport of Tablespaces Between Databases How to Move or Copy a Tablespace to Another Database Overview of Datafiles Datafile Contents Size of Datafiles Offline Datafiles Temporary Datafiles Overview of Control Files Control File Contents Multiplexed Control Files Transaction Management Introduction to Transactions Statement Execution and Transaction Control Statement-Level Rollback Resumable Space Allocation viii 3-10 3-10 3-11 3-11 3-11 3-12 3-12 3-13 3-13 3-14 3-15 3-15 3-16 3-16 3-17 3-17 3-18 3-18 3-19 3-19 3-20 3-21 3-21 3-22 3-22 3-22 3-23 3-23 3-25 4-1 4-2 4-3 4-4 Overview of Transaction Management Commit Transactions Rollback of Transactions Savepoints In Transactions Transaction Naming How Transactions Are Named Commit Comment The Two-Phase Commit Mechanism Overview of Autonomous Transactions Autonomous PL/SQL Blocks Transaction Control Statements in Autonomous Blocks 4-4 4-5 4-6 4-7 4-8 4-8 4-8 4-9 4-10 4-10 4-11 Schema Objects Introduction to Schema Objects Overview of Tables How Table Data Is Stored Row Format and Size Rowids of Row Pieces Column Order Table Compression Using Table Compression Nulls Indicate Absence of Value Default Values for Columns Default Value Insertion and Integrity Constraint Checking Partitioned Tables Nested Tables Temporary Tables Segment Allocation Parent and Child Transactions External Tables The Access Driver Data Loading with External Tables Parallel Access to External Tables Overview of Views How Views are Stored 5-1 5-4 5-5 5-5 5-7 5-7 5-8 5-8 5-9 5-10 5-10 5-11 5-12 5-12 5-13 5-13 5-14 5-14 5-15 5-15 5-16 5-17 ix How Views Are Used Mechanics of Views Globalization Support Parameters in Views Use of Indexes Against Views Dependencies and Views Updatable Join Views Object Views Inline Views Overview of Materialized Views Define Constraints on Views Refresh Materialized Views Materialized View Logs Overview of Dimensions Overview of the Sequence Generator Overview of Synonyms Overview of Indexes Unique and Nonunique Indexes Composite Indexes Indexes and Keys Indexes and Nulls Function-Based Indexes Uses of Function-Based Indexes Optimization with Function-Based Indexes Dependencies of Function-Based Indexes How Indexes Are Stored Format of Index Blocks The Internal Structure of Indexes Index Properties Advantages of B-tree Structure Index Unique Scan Index Range Scan Key Compression Prefix and Suffix Entries Performance and Storage Considerations Uses of Key Compression x 5-18 5-19 5-19 5-19 5-20 5-20 5-21 5-21 5-22 5-23 5-24 5-24 5-24 5-25 5-27 5-28 5-29 5-30 5-30 5-31 5-31 5-32 5-32 5-33 5-34 5-34 5-35 5-36 5-36 5-37 5-37 5-37 5-37 5-38 5-38 ... xlv Part I What Is Oracle? Introduction to the Oracle Database Oracle Database Architecture Overview of Oracle Grid Architecture - XXX Oracle Technologies that Enable... such purposes, and Oracle Corporation disclaims liability for any damages caused by such use of the Programs Oracle is a registered trademark, and Express, Oracle Store, Oracle8 i, Oracle9 i, PL/SQL,... Management Features XML in Oracle LOBs Oracle Text Oracle Ultra Search Oracle interMedia Oracle Spatial

Ngày đăng: 22/10/2013, 15:15

TỪ KHÓA LIÊN QUAN

w