Oracle10g Database Administration Workshop 5 – 8 Days*

852 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
852
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Oracle10g Database Administration Workshop 5 – 8 Days*

  1. 1. Oracle10g Database Administration Workshop 5 – 8 Days* Description This course provides you with the skills necessary to create, maintain and manage an Oracle10g database. In this class you will concentrate on the skills necessary for day-to-day database administration tasks such as security, creating and managing users, creating and managing database objects (tablespaces, tables, indexes, etc.), running utilities, configuring Oracle networking, and simple backup and recovery techniques. A fairly in-depth discussion of database architecture is also provided. This training course has been completely updated for Oracle10g. This includes training on Data Pump, Server-Generated Alerts, Advisors, Automatic Storage Management (optional lesson), Automatic Statistics Collection and Auditing Enhancements. Working examples are included throughout the course book. Students have access to electronic versions of all examples, sample scripts and lab solutions. Approximately 50% of class time is spent on hands-on exercises. Audience Database and System Administrators *Duration This training course contains a lot of information, sometimes too much for 5 days. The pre-existing knowledge of the student(s) will dictate how many days of in-class instructor-led training are required. For example, if the students have no prior administration experience with a relational database, we recommend either allocating 8 days, or deleting some lessons from the lesson plan. However, if the students are veteran DB2 or Sybase administrator’s, it is quite possible that all topics can be covered in 5 days. Prerequisites You must have experience working with Oracle to successfully master the information in this course. Specifically, you must have solid Oracle SQL experience and familiarity with SQL*Plus and PL/SQL. You can obtain this training in SkillBuilders’ classes Introduction to Oracle10g and SQL and Introduction to Oracle10g PL/SQL Programming. Next Courses Suggested next training: Oracle10g SQL Tuning for Developers and DBAs, Oracle10g Database Performance and Tuning, Backup and Recovery with Oracle10g RMAN, Backup and Recovery in Oracle10g Objectives After successfully completing this training, you will be able to: • Describe the major architectural components of Oracle10g, including the SGA, background processes and files that make up the physical database. Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  2. 2. Oracle10g Database Administration Page 2 of 12 • Use the Oracle data dictionary to to determine the structure and status of the database. This includes gaining a solid understanding of the purpose and content of many V$ and DBA-level views. • Create administrative users, including granting and using the SYSDBA privilege. Understand the purpose of Oracle supplied users SYS and SYSTEM. • Connect to the Oracle database as SYSDBA, both from a host server or – via the use of password files – over a network. • Start and stop an Oracle database, including the use of various shutdown modes such as IMMEDIATE, TRANSACTIONAL and ABORT. • View and alter initialization parameter values, create and startup with secondary parameter files. This includes training on the use of the Server Parameter File, introduced with Oracle9i. • Create new Oracle users, provide tablespace quota and grant them the system or object privileges necessary to perform their work, including the use of roles. Secure the default users provided with database installation. • Implement the Oracle user password management features such as password expiration, account locking, password reuse prevention and password complexity enforcement. • Implement Oracle database auditing to track SYSDBA activity and general user activity. Also, code simple triggers to audit table data changes. • Create and manage locally managed tablespaces including monitoring space usage and adding space • Implement Automatic Segment Space Management to efficiently manage free and used space within extents. • Using the Oracle Managed Files feature to control placement of and name the underlying datafiles. • Manage storage for Oracle objects with disk striping and buffer pool assignment. • Use Automatic Storage Management (ASM) to control file allocation, placement, striping and mirroring (this is an optional lesson) • Describe the different types and typical uses of Oracle tables, including heap, index-organized and clustered tables. • Create and manage heap-tables, including managing concurrency with the INITTRANS and MAXTRANS parameters, moving tables, using DBMS_STATS to collect statistics and increasing and measuring the performance benefits of NOLOGGING and table compression. • Describe the different types of Oracle indexes including B-tree, bitmap and reverse key. • Create simple B-Tree indexes on tables. This includes understanding the fundamental rules for when and where to create and when to avoid using indexes. Also implement index options such as NOLOGGING. • Create constraints on tables including the use of options such as NOVALIDATE to allow existing legacy data with constraint violations. • Describe the techniques for managing undo, including the Oracle9i Automatic Undo Management feature. • Implement Automatic Undo Management including creating and enabling new undo tablespaces and monitoring for space-related problems. Use the Oracle10g Undo Advisor to assist with undo management. Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  3. 3. Oracle10g Database Administration Page 3 of 12 • Manage the database redo logs including archiving, multiplexing and adding additional logs. Also, ensure that the database is recoverable by checking the archive log status of the database. Use the Oracle10g Redo Log Advisor to obtain log size advice. • Understand the role and importance of control files. Add additional control files. Backup and recreate control files. • Use the basic features of Recovery Manager to perform simple backup and recovery operations in the event of a lost or corrupted datafile. • Use the 10g Data Pump utility perform logical backups or move or copy objects. • Use the SQL*Loader utility to load data into the database. • Configure Oracle Net (SQL*Net) to connect to and listen for connections. Manage the database listener with the listener control utility. • Create a new database with the Database Configuration Assistant. • Optional lessons include: Introduction to Partitioning, Other Table Types and Original Import / Export Utility Training Summary • A DBA’s Introduction to the Oracle Data Dictionary • Lesson Objectives • Introduction • What is the Dictionary? • Static Views • Common DBA Views • Example: DBA_USERS • Example: DBA_SYS_PRIVS • Dynamic Performance Views • Example: V$PARAMETER • Miscellaneous Views • DICTIONARY View • Data Dictionary Workshop • Oracle10g Architecture, Part I • Lesson Objectives • Lesson Prerequisites • Database and Instance • Database Files • Segments and Extents • Query DBA_DATA_FILES • Query DBA_SEGMENTS • Redo Log Files • Control Files • Temp Files • Parameter Files • Password Files • Architecture: Files Workshop • Oracle10g Architecture, Part II • Lesson Objectives • Lesson Prerequisites • The Processes • Query V$BGPROCESS • Database Block Writer • Log Writer - LGWR • System Monitor - SMON Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  4. 4. Oracle10g Database Administration Page 4 of 12 • Process Monitor - PMON • Checkpoint - CKPT • Archiver – ARCn • Miscellaneous Processes (10g Enhancements) • Architecture: Processes Workshop • Oracle10g Architecture, Part III • Lesson Objectives • Lesson Prerequisites • PGA and UGA • The Oracle10g SGA • Size of SGA Areas • Shared Pool • Impact of Automatic Workload Repository (10g) • Library Cache • Library Cache Retention • SQL Statement Processing • Data Dictionary Cache • Buffer Cache • Database Block Size • Non-Standard DB Size • Keep and Recycle Caches • Redo Log Buffer • Large Pool / Java Pool / Streams Pool • Summary • Architecture: Memory Areas Workshop • Oracle10g Administrative Users • Lesson Objectives • The SYS User • The SYSTEM User • SYSDBA Privilege • DBA Role • Local Connections • Remote Connections • Creating a Password File • Password File Entries • Create New Administrators • Administrative Users Workshop • Starting and Stopping an Oracle Instance • Lesson Objectives • STARTUP Procedures • SQL*Plus for Startup • Connecting for STARTUP • 10g Connect String Enhancements (10g) • Startup/Shutdown Basics • Startup Basics Workshop • Stages Of STARTUP • STARTUP Command • STARTUP Examples • ALTER DATABASE • Startup MOUNT Workshop • Restricted Access • Shutting Down • Shutdown Workshop • Oracle10g Initialization Parameter Files • Lesson Objectives Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  5. 5. Oracle10g Database Administration Page 5 of 12 • Review: Parameter Files • Text Parameter File • Introduction to SPFILE • Benefits of SPFILE • Creating an SPFILE • CREATE SPFILE Notes • Using SPFILE • Parameter Overrides • Am I Using SPFILE? • Helpful Dictionary Views • Export & Backup • Modifying Parameters • SCOPE Clause • Dynamic Parameters • Summary • Server Parameter Files Workshop • Creating and Managing Users • Lesson Objectives • Creating New Users • Intro to User Privileges • Default and Temporary Parameters • Default Permanent Tablespace (10g) • Querying the Data Dictionary • Altering a User • Dropping a User • Terminating a User Session • User Basics Workshop • Introduction to Quota • Providing Quota • Unlimited and Zero Quota • Query Existing Quotas • User Space Used • Installation Users • Secure Installation Users • User Quota & Account Status Workshop • Oracle10g Password Management • Lesson Objectives • Password Aging • Manual Password Expiration • Account Locking • Password History • Password Complexity • User Passwords Workshop • Introduction to Oracle10g Auditing • Lesson Objectives • Auditing Technique Overview • Enabling the Audit Trail • Auditing SYSDBA • Auditing SYSDBA Tips • AUDIT Statement • Auditing Logons • Monitoring Logon Attempts • Audit System Grants • Monitor System Grants • Object-Level Auditing • Monitoring Object Activity Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  6. 6. Oracle10g Database Administration Page 6 of 12 • 10g Enhancements – Additional Data Capture (10g) • The SYSAUD$ Table • Auditing with Triggers • Fine Grained Auditing • Create FGA Policy • Display FGA Activity • Fine Grained Auditing of DML (10g) • Auditing Summary • Auditing Workshop • Managing Security in Oracle10g • Lesson Objectives • Security Basics • Privilege Types • System Privileges • ANY-Type Privileges • PUBLIC Keyword • ADMIN OPTION • Revoking System Privileges • SESSION_PRIVS • DBA_SYS_PRIVS • System Privileges Workshop • Object Privileges • Grant Object-Level Privileges • Insert / Update Privileges • WITH GRANT OPTION • Revoking Object Privileges • DBA_TAB_PRIVS • Object Privileges Workshop • Role Concepts • Predefined Roles • Giving Privileges To Roles • WITH ADMIN OPTION • Granting Role to Role • Role Privileges • PL/SQL and Roles • Revoking Roles • Dropping Roles • Data Dictionary Summary • Miscellaneous Role Topics • Roles Workshop • Creating and Managing Oracle10g Tablespaces • Lesson Objectives • What is a Tablespace? • Data Dictionary • Why Tablespaces? • Locally Managed Tablespaces • Tablespace Basics Workshop • Tablespace Parameter • System-Managed LMT • Uniform LMT’s • Bigfile Tablespaces (10g) • Automatic Segment Space Management • Oracle Managed Files • OMF Key Points • Configuration and File Location • Striping Overview Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  7. 7. Oracle10g Database Administration Page 7 of 12 • Non-Standard Blocksize • Benefits of Non-Standard Blocksize • Monitoring Free Space • Adding Space • Offline Tablespace • Read-Only Tablespace • Dropping Tablespaces • Managing the SYSTEM Tablespace • Managing the SYSAUX Tablespace (10g) • Temporary Tablespace and Temporary Tablespace Groups (10g) • Summary • Tablespaces Workshop • Proactive Maintenance with Server-Generated Alerts (10g) • Lesson Objectives • Concepts and Alert Architecture • Threshold-Based Alerts • Default Thresholds • Setting Custom Thresholds • Enterprise Manager Notifications • Display Alert Data in the Data Dictionary • Summary • Workshop • Creating and Managing Oracle10g Heap Tables • Lesson Objectives • Types of Tables • CREATE TABLE Statement • Column Definition • Character and Numeric Datatypes • Date and Time Datatypes • Binary Datatypes • ANSI and Miscellaneous Datatypes • Table Create Workshop • Create Table As Subquery • CTAS Options • CTAS Workshop • Collecting Statistics • Oracle10g Automatic Statistics Collection (10g) • GATHER_SCHEMA_STATS • Gather Database Stats • Table MONITORING • Additional STATS Features • DBMS_STATS Workshop • Managing Table Storage • INITRANS & MAXTRANS • NOLOGGING • Mini-Workshop • Table Compression • Table Compression Workshop • ALTER TABLE MOVE • CTAS Nologging • DROP Column • Renaming Tables • Renaming Columns • Summary • Where To Go From Here • B-Tree Indexes Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  8. 8. Oracle10g Database Administration Page 8 of 12 • Lesson Objectives • Indexes: What and Why • Index Structures • B-Tree Organization • Unique Index Scan • AUTOTRACE • Important Points • CREATE INDEX • NOLOGGING • Statistics Collection • Indexes Workshop • Composite Indexes • Which Column First? • Index Key Compression • Descending Keys • Index Coalesce • Choosing Index Columns • Calculating Selectivity • Where to Look Next • Summary • Composite Index Workshop • Creating and Managing Constraints • Lesson Objectives • Introduction to Constraints • Inline Syntax • Out-of-Line Syntax • Constraint Name • Violating Constraint • Constraints Workshop • Referential Integrity • Alter to Add Constraint • Identifying Exceptions • Constraint Exceptions Workshop • NOVALIDATE Option • Primary Key Index • USING INDEX Option • Modify State • Drop Constraint • Rename Constraint • Data Dictionary • Summary • Constraint Indexes Workshop • Managing Undo in Oracle10g • Lesson Objectives • What is Undo? • Where is Undo Kept? • Why Not Rollback Segments? • Why AUM? • Implementing AUM • Find Undo Tablespace • Create Undo Tablespace • Guaranteed Retention (10g) • Initialization Parameters • Switching Undo Tablespace • Dropping Undo Tablespace • Data Dictionary Views Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  9. 9. Oracle10g Database Administration Page 9 of 12 • Tuning AUM • Adding Space • Using the Oracle10g Undo Advisor (10g) • Resources • Summary • Automatic Undo Management Workshop • Managing Redo Logs • Lesson Objectives • Review: Concepts • DBAs Responsibilities • Archiving Status • Enabling Archiving • Archiving Workshop • Multiplexing Archive Logs • Multiplex Archive Logs Workshop • Log Switch Delays • Adding Log Files • Using the 10g Redo Log Advisor (10g) • Review of OMF • Adding Log Files - OMF • Multiplexing Online Logs • Add Redo Log Workshop • Managing Control Files • Lesson Objectives • Control File Review • DBA Responsibilities • Adding Control Files • Add Control File Workshop • Backing Up Control File • Recreating Control File • Optional Create Control File Workshop • Oracle10g Backup and Recovery Basics – Introduction to RMAN • Lesson Objectives • What is RMAN? • RMAN Components • Starting and Connecting • Common RMAN Commands • Backup Concepts • Full Backup • Full Tablespace Backup • Datafile Backup • Incremental Backup • Change Tracking (10g) • Backups – Where to go from here • RESTORE Command • RECOVER Command • Complete Recovery – Database • Recover Tablespace • Summary: Restore and Recovery • Reporting • Report Need Backup • Show Stored Settings • What Else is There? • Getting More Information • RMAN Workshop Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  10. 10. Oracle10g Database Administration Page 10 of 12 • Importing and Exporting with DataPump (10g) • Lesson Objectives • Data Pump Concepts • Data Pump Modes • Data Pump Access Methods • Parallel Processing • Export Example • Import Example • Data Pump Features • Network Export / Import • Network Import Example • DBMS_DATAPUMP • Data Pump Dictionary • Datapump Resources • Affect on External Tables • Lesson Summary • Workshop • SQL*Loader • Lesson Objectives • Introduction • Executing SQL*Loader • The Control File • Variable Format Data • Variable Format Data • Fixed Format Data • LOG File • Conditional Loads • SQL*Loader Workshop • Introduction to Oracle Networking • Lesson Objectives • Introduction to Oracle Net • Configuration Files • TNSNAMESORA • Introduction to the Listener • Listener Control Utility • Listener Started? • Stopping the Listener • Listener Password • LISTENER.ORA • Resources • Oracle Net Workshop • Creating a new Oracle Database • Lesson Objectives • Major Steps • What We Need to Know • The Oracle SID • Windows Services • Seeing the Active Threads • Listing Active Instances • Stopping Active Instances • Database Configuration Assistant • Step 1: Select Operation • Step 2: Select Template • Step 3: Database ID • Step 4: Database Features • Step 5: Database Connection Options Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  11. 11. Oracle10g Database Administration Page 11 of 12 • Step 6:Init Parameters • Step 7:Database Storage • Step 8: Create Options • The BAT File • ORADIM • CREATEDB Script • Create New Database Workshop • Optional: Automatic Storage Management (10g) • Lesson Objectives • Introducing ASM • The ASM Instance • Starting the ASM Instance • ASM Disks • ASM Diskgroups • Creating Diskgroup • Altering Diskgroup • Working in the Database Instance • Tablespace Management in ASM • Summary ASM Benefits • Workshop • Optional: Introduction to Oracle Partitioning • Partitioning History • Range Partitioning • MAXVALUE and NULLs • Partition Storage Attributes • Multiple-Column Partitioning • Hash Partitioning • Composite Partitioning • List Partitioning • Composite Range-List Partitioning • Subpartition Template • IOT and Hash Partitioning • Global Indexes and Partitioning Maintenance • Row Movement • Maintenance: Rolling In • Maintenance: Rolling Out • Merge Partitions • Other Maintenance Operations • Data Dictionary Implications • Finding the Partitioning Key • Finding the Partitioning Bounds • Explicit Referencing • Table Partitioning Restrictions • Summary of Benefits • Optional: Introduction to Other Table Types • Index Organized Tables • Temporary Tables Concepts • Temporary Tables Management • Creating Temporary Tables • Index Clustered Tables • Hash Clustered Tables • Sorted Hash Clusters (10g) • Nested Tables • Nested Table Examples • Object Tables Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0
  12. 12. Oracle10g Database Administration Page 12 of 12 • Optional : Logical Backups with Oriiginal Export/Import Utilities • Lesson Objectives • Introduction • Export Modes • User-Mode Export • Export Features • Import • Using Import • Import Tips • Resources • Logical Backups Workshop Software Requirements • Oracle10g, Release 10.1.x or above. • Web Browser with internet access recommended. • Adobe Acrobat Reader or Acrobat 4.0 or later (for the course presentation) • Text editor Hardware Requirements • Refer to the Oracle Installation manual (http://www.oracle.com/technology/documentation/database10g.html) for required hardware specifications for your platform. • Internet access is very helpful but not absolutely necessary. Copyright © 2004 SkillBuilders www.skillbuilders.com V1.0

×