Table of • Contents • Index • Examples Oracle 9i Fundamentals I Exam Cram™ 2 (Exam 1Z0-031) By April Wells Publisher : Que Pub Date : December 03, 2004 ISBN : 0-7897-3265-3 Pages : 544 Whether you're studying for the Oracle 9i Fundamentals I exam or just need to take the New Features update exam, Oracle 9i Funamentals I Exam Cram 2 can help you get certified This efficient guide follows the exam objectives clearly and concisely New Features materials are also included in the book, as well as a full-customizable practice test engine on CD Oracle 9i Fundamentals I Exam Cram 2 is your smartest way to get certified Oracle 9i Fundamentals I Exam Cram™ 2 (Exam 1Z0-031) By April Wells Publisher : Que Pub Date : December 03, 2004 Table of • ISBN : 0-7897-3265-3 Contents Pages : 544 • Index • Examples Copyright Oracle 9i Cram Sheet THE ITERATIVE SYSTEM DEVELOPMENT CYCLE BASIC TERMINOLOGY THE SELECT STATEMENT JOINING TABLES SPECIALIZED QUERIES OPERATORS CONDITIONS PSEUDOCOLUMNS EXPRESSIONS FUNCTIONS CHANGING DATA (DML) A Note from Series Editor Ed Tittel About the Author About the Technical Editors Acknowledgements We Want to Hear from You! Introduction How to Prepare for an Exam Exam Format Testing Situation Using the Book Self-Assessment In the Real World The Ideal Candidate Put Yourself to the Test Assessing Your Readiness for the Exam Onward Through the Fog Chapter 1 Oracle Architecture Components Database Versus Instance Datafiles Memory Structures Shared SQL Area Program Global Areas (PGA) Overview Process Architecture Background Processes Connecting to an Instance Exam Prep Questions Need to Know More? Chapter 2 Getting Started with the Oracle Server Administrative Tools Oracle Universal Installer (OUI) Oracle Database Configuration Assistant (DBCA) Optimal Flexible Architecture (OFA) Password File Authentication DBA Tools Exam Prep Questions Chapter 3 Creating a Database Prerequisites for Database Creation Planning Database File Locations Creating the Database Oracle Database Configuration Assistant Create a Database Manually What to Do If Database Creation Fails Exam Prep Questions Need to Know More? Chapter 4 Managing an Instance Initialization Parameter Files Oracle Managed File (OMF) System Database Startup Working with the STARTUP Command Shutting Down the Database Managing the Instance by Monitoring the Diagnostic Files Exam Prep Questions Need to Know More? Chapter 5 Data Dictionary Content and Usage Oracle's Data Dictionary How the Data Dictionary Is Used Accessing Data Dictionary and Dynamic Performance Views Creating the Data Dictionary Common Views and Their Uses Exam Prep Questions Need to Know More? Chapter 6 Storage Structure and Relationships Segments Extents Database Data Blocks Block Utilization Parameter Storage Structure Information in the Data Dictionary Exam Prep Questions Need to Know More? Chapter 7 Globalization Support Globalization Support Character Sets and Encoding Schemes Database Character Set National Character Set Language-Dependent Behavior Specification Setting Environment Variables Linguistic Sorting Language-Dependent Application Behavior Globalization Support Information in the Data Dictionary Globalization Support Utilities Exam Prep Questions Chapter 8 Maintaining Control Files What Are Control Files? Multiplexing Control Files The CREATE CONTROLFILE Command Dropping Control Files Backing Up the Control File Obtaining Control File Information Control File-Related Parameters Managing the Control File with OMF Exam Prep Questions Chapter 9 Maintaining Redo Log Files Purpose of Online Redo Log Files Structure of Online Redo Log Files Control Log Switches and Checkpoints Multiplexing and Maintaining Online Redo Log Files Using OEM to Maintain Redo Log Groups and Members Managing Redo Log Files with OMF Data Dictionary Redo Information Archived Redo Log Files Exam Prep Questions Chapter 10 Managing Tablespaces and Data Files Logical Structure of the Database Types of Tablespaces Creating Tablespaces Dropping Tablespaces Space Management in Tablespaces Changing the Size of the Tablespace Manipulating Tablespaces and Data Files with OEM Implementing Oracle Managed Files (OMF) Data Dictionary Tablespace and Data File Information Exam Prep Questions Need to Know More? Chapter 11 Managing Undo Data Logical Structure of Undo Segments in the Database Purpose of Undo Data Types of Undo Data Implementing Automatic Undo Management Data Dictionary Information on Undo Exam Prep Questions Chapter 12 Managing Tables Methods of Storing Data Oracle Data Types Structure of a Row Creating Regular and Temporary Tables External Tables Managing Storage Structures Regular Table Operations Column Operations Data Dictionary Information on Tables Exam Prep Questions Chapter 13 Managing Indexes Different Types of Indexes and Their Uses Creating Indexes Changing Storage Parameters for Indexes Reorganizing Indexes Index Information in the Data Dictionary Exam Prep Questions Chapter 14 Maintaining Data Integrity Defining Data Integrity Implementing Data Integrity Constraints Maintaining Integrity Constraints Constraint Information in the Data Dictionary Exam Prep Questions Chapter 15 Managing Users Creating New Users Altering Users Dropping Users User Information in the Data Dictionary Exam Prep Questions Chapter 16 Managing Password Security and Resources Manage Passwords Using Profiles Administering Profiles Controlling Resources Using Profiles Managing Resource Plans and Consumer Groups Data Dictionary Information About Profiles, Password Management, and Resources Exam Prep Questions Chapter 17 Managing Privileges System Privileges Object Privileges Auditing Capabilities Data Dictionary Information Exam Prep Questions Chapter 18 Managing Roles Creating and Modifying Roles Granting Roles Controlling Availability of Roles Removing Roles Using Predefined Roles Role Creation Guidelines Role Information in the Data Dictionary Exam Prep Questions Chapter 19 Practice Exam 1 Chapter 20 Exam 1 Answers Chapter 21 Practice Exam 2 Chapter 22 Exam 2 Answers Appendix A CD Contents and Installation Instructions Multiple Test Modes Question Types Random Questions and Order of Answers Detailed Explanations of Correct and Incorrect Answers Attention to Exam Objectives Installing the CD Technical Support Glossary Appendix C Need to Know More? Chapter 1: Oracle Architectural Components Chapter 2: Getting Started with the Oracle Server Chapter 3: Creating a Database Chapter 4: Managing an Instance Chapter 5: Data Dictionary Content and Usage Chapter 6: Storage Structure and Relationships Chapter 7: Globalization Support Chapter 8: Maintaining Control Files Chapter 9: Maintaining Redo Log Files Chapter 10: Managing Tablespaces and Data Files Chapter 11: Managing Undo Data Chapter 12: Managing Tables Chapter 13: Managing Indexes Chapter 14: Maintaining Data Integrity Chapter 15: Managing Users Chapter 16: Managing Password Security and Resources Chapter 17: Managing Privileges Chapter 18: Managing Roles Index Copyright Copyright © 2005 by Que Publishing All rights reserved No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher No patent liability is assumed with respect to the use of the information contained herein Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions Nor is any liability assumed for damages resulting from the use of the information contained herein Library of Congress Catalog Card Number: 2004108927 Printed in the United States of America First Printing: October 2004 07 06 05 04 4 3 2 1 Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized Que Publishing cannot attest to the accuracy of this information Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied The information provided is on an "as is" basis The author and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the CD or programs accompanying it Bulk Sales Que Publishing offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales For more information, please contact U.S Corporate and Government Sales 1-800-382-3419 corpsales@pearsontechgroup.com For sales outside the U.S., please contact International Sales international@pearsoned.com Credits Publisher Paul Boger Executive Editor Jeff Riley Acquisitions Editor Carol Ackerman SET ROLE command 2nd 3rd setting constraints environment variables 2nd SGA (System Global Area) database buffer cache 2nd defined 2nd granules Java pool 2nd large pool 2nd redo log buffer 2nd shared pool 2nd 3rd Shared Global Area shared PL/SQL area 2nd shared pool 2nd 3rd SHARED POOL SIZE initialization parameter shared server architecture 2nd shared server processes shared SQL area 2nd 3rd 4th 5th 6th 7th 8th 9th 10th shortcut MeasureUp practice tests 2nd 3rd SHUTDOWN ABORT command 2nd SHUTDOWN IMMEDIATE command 2nd 3rd SHUTDOWN NORMAL command 2nd 3rd SHUTDOWN TRANSACTIONAL command 2nd 3rd shutting down databases 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th single-byte character sets 2nd sizing redo log files 2nd 3rd undo tablespaces 2nd 3rd 4th 5th SMON (System Monitor) processes 2nd SNMPAGENT role sorting binary monolingual 2nd multilingual 2nd NLS_SORT environment variable NLSSORT function SPFILE 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th SPFILE (server parameter file) 2nd spfileSID.ora file 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th SQL functions NLS parameters 2nd 3rd 4th 5th NLSSORT SQL TRACE initialization parameter SQL work areas 2nd SQL*Loader 2nd 3rd SQL*Plus User's Guide and Reference SQL*Plus utility SQL*Plus utlity 2nd 3rd SQL*Plus Worksheet starting Oracle Universal Installer (OUI) starting databases automation 2nd OEM interface 2nd STARTUP command 2nd 3rd 4th 5th STARTUP MOUNT command 2nd STARTUP NOMOUNT command 2nd 3rd STARTUP OPEN command 2nd STARTUP command 2nd 3rd 4th 5th STARTUP MOUNT command 2nd STARTUP NOMOUNT command 2nd 3rd STARTUP OPEN command 2nd statement execution auditing 2nd static parameter files 2nd 3rd 4th 5th 6th 7th statistics on index usage 2nd 3rd statuses of tablespaces offline 2nd 3rd 4th 5th 6th 7th online 2nd 3rd 4th read-only 2nd 3rd 4th 5th Storage Manager storage parameters indexes 2nd 3rd stored procedures data dictionary storing data tables cluster tables 2nd 3rd index-organized tables 2nd partitioned tables 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th regular tables 2nd switching undo tablespaces 2nd synonyms defined SYSDBA role privileges 2nd 3rd 4th SYSOPER role privileges 2nd system change number (SCN) System Global Area (SGA) database buffer cache 2nd defined 2nd granules Java pool 2nd large pool 2nd redo log buffer 2nd shared pool 2nd 3rd System Monitor (SMON) processes 2nd system privileges 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th system tablespace 2nd SYSTEM tablespace auditing 2nd 3rd defined SYSTEM undo segments Index [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] table constraints 2nd 3rd table partition segments 2nd table segments 2nd 3rd TABLE system privileges tables allocating extents 2nd 3rd altering 2nd 3rd cluster tables 2nd 3rd columns adding 2nd altering 2nd dropping 2nd 3rd 4th inserting 2nd unused columns 2nd 3rd creating 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th data dictionary 2nd 3rd 4th data types collection data 2nd 3rd 4th 5th relationship data types (REFs) 2nd scalar data 2nd 3rd 4th 5th 6th 7th 8th 9th user-defined defined dropping 2nd 3rd extents 2nd 3rd external tables 2nd 3rd 4th 5th index-organized tables 2nd moving 2nd nested tables 2nd object tables partitioned tables 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th privileges 2nd redefining 2nd 3rd 4th 5th 6th 7th regular tables 2nd relational tables reorganizing rows structure 2nd 3rd temporary tables 2nd 3rd 4th 5th truncating 2nd 3rd TABLESPACE system privileges tablespaces altering 2nd characteristics 2nd 3rd creating 2nd 3rd 4th 5th 6th 7th 8th 9th 10th data dictionary 2nd 3rd data files adding 2nd 3rd AUTOEXTEND 2nd 3rd moving 2nd 3rd 4th 5th 6th default temporary tablespaces 2nd 3rd 4th 5th defined dictionary managed 2nd 3rd dropping 2nd 3rd 4th 5th 6th 7th locally managed 2nd 3rd 4th Oracle Managed Files (OMF) 2nd 3rd 4th 5th resizing 2nd 3rd statuses offline 2nd 3rd 4th 5th 6th 7th online 2nd 3rd 4th read-only 2nd 3rd 4th 5th storage settings 2nd system 2nd SYSTEM tablespace auditing 2nd 3rd defined temporary temporary tablespaces 2nd 3rd 4th 5th 6th 7th undo 2nd undo tablespaces 2nd altering 2nd creating dropping 2nd 3rd ORA-1555 snapshot too old error message sizing 2nd 3rd 4th 5th switching 2nd technical support for CD 2nd 3rd templates managing 2nd temporary segments 2nd temporary tables 2nd 3rd 4th 5th temporary tablespace temporary tablespaces 2nd 3rd 4th 5th 6th 7th test preparation [See exam preparation] Theriault, Marlene, Oracle 91 DBA 101 tiiksLOracle Database Configuration Assistant (DBCA) TIMED STATISTICS initialization parameter TIMESTAMP data type 2nd tools character set scanner 2nd 3rd Oracle Database Configuration Assistant Oracle Enterprise Manager (OEM) 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th 18th 19th 20th Oracle Locale Builder 2nd Oracle Universal Installer (OUI) 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th 18th 19th 20th 21st orapwd 2nd 3rd 4th Password File Utility SQL*Plus utility SQL*Plus utlity 2nd 3rd transaction-specific temporary tables transactions manual undo management mode defined support undo segments data dictionary 2nd 3rd 4th deferred 2nd defined 2nd headers internal transaction table non-SYSTEM 2nd 3rd quota 2nd 3rd read consistency 2nd 3rd 4th 5th 6th SYSTEM transaction recovery 2nd transaction rollback triggers defined 2nd TRUNCATE command truncating tables 2nd 3rd turning on/off privileges types of data [See data types] typical databases Index [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] UNDO MANAGEMENT parameter 2nd 3rd undo segements deferred 2nd defined 2nd headers internal transaction table non-SYSTEM 2nd 3rd read consistency 2nd 3rd 4th 5th 6th SYSTEM transaction recovery 2nd transaction rollback undo segments data dictionary 2nd 3rd 4th quota 2nd 3rd undo tablespace 2nd UNDO TABLESPACE parameter 2nd 3rd 4th 5th undo tablespaces 2nd altering 2nd creating dropping 2nd 3rd ORA-1555 snapshot too old error message sizing 2nd 3rd 4th 5th switching 2nd UNDO_RETENTION parameter 2nd 3rd UNDO_SUPPRESS_ERRORS 2nd Unicode character set 2nd 3rd 4th 5th 6th 7th 8th Unicode character sets 2nd 3rd 4th Unique constraint UPDATE object privilege usage statistics for indexes 2nd 3rd used extents user accounts defaults 2nd 3rd 4th 5th 6th 7th USER DUMP DEST initialization parameter user processes user trace files 2nd 3rd user-defined data types usernames encoding users altering 2nd 3rd assigning profiles to users 2nd authentication database authentication 2nd 3rd 4th 5th external authentication 2nd 3rd 4th 5th 6th 7th consumer groups 2nd 3rd 4th 5th 6th 7th 8th creating 2nd 3rd 4th 5th data dictionary 2nd dropping Users system privileges utilities character set scanner 2nd 3rd Oracle Locale Builder 2nd Oracle Universal Installer (OUI) 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th 18th 19th 20th 21st orapwd 2nd 3rd 4th Password File Utility SQL*Plus 2nd 3rd 4th Index [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] V$ views V$NLS_PARAMETERS V$NLS_VALID_VALUES validating indexes 2nd varying arrays 2nd varying-width multibyte character sets 2nd 3rd views data dictionary 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th 13th 14th 15th 16th 17th 18th 19th 20th DBA_DATA FILES 2nd DBA_EXTENTS 2nd 3rd DBA_FREE SPACE 2nd 3rd 4th DBA_SEGMENTS 2nd 3rd DBA_TABLESPACES defined 2nd Viscusi, James, Oracle 91 DBA 101 Index [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] Web site resources Administration Guide Administrator's Guide Enterprise Manager Administrator's Guide Enterprise Manager Concepts Guide Oracle 9i Administration Manual Oracle 9i Administrator's Guide Oracle 9i Administrator's Manual Oracle 9i Concepts Manual Oracle 9i Concepts Manuals Oracle 9i Database Administrator's Guide Oracle 9i Database Concepts Manual 2nd 3rd Oracle 9i Database Concepts Manuals 2nd Oracle 9i Globalization Support Manual Oracle 9i Parallel Server Concepts Oracle 9i Reference Oracle 9i SQL Reference 2nd 3rd Reference Guide SQL*Plus User's Guide and Reference Web sites MeasureUp ... Chapter 14 Maintaining Data Integrity Defining Data Integrity Implementing Data Integrity Constraints Maintaining Integrity Constraints Constraint Information in the Data Dictionary Exam Prep Questions... Exam Prep Questions Chapter 17 Managing Privileges System Privileges Object Privileges Auditing Capabilities Data Dictionary Information Exam Prep Questions Chapter 18 Managing Roles Creating and Modifying Roles... Language-Dependent Application Behavior Globalization Support Information in the Data Dictionary Globalization Support Utilities Exam Prep Questions Chapter 8 Maintaining Control Files What Are Control Files?