Capitulo 01 Dba 2

  • 1,159 views
Uploaded on

 

More in: Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,159
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
33
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Introduction
  • 2. Lesson Objectives
    • After completing this lesson, you should be able to do the following:
      • List the course objectives and explain the class structure
      • Review the Oracle Database 10 g architecture
  • 3. Course Objectives
    • In this course, you gain experience in:
      • Using Recovery Manager (RMAN) for advanced backup and recovery
      • Employing database monitoring practices for memory, performance, and storage
      • Managing resources, job schedules, security, and globalization issues
  • 4. Suggested Schedule
    • 1: Introduction
    • 2: Configuring RMAN
    • 3: Using RMAN
    • 4: Non-Critical Recovery
    • 5: Recovery
    • 6: Flashback
    • 7: Corruption
    • 8: Memory
    • 9: Performance
    • 10: Schema
    • 11: Storage
    • 12: ASM
    • 13: Resources
    • 14: Scheduler
    • 15: Security
    • 16: Globalization
    • 17: Workshop
    • Appendixes
  • 5. What Is Covered in the DBAI Course 1. Introduction 2. Installation 3. DB Creation 4. Instance 5. Storage 6. Users 7. Schema 8. Data & Concurrency 9. Undo 10. Security 11. Network 12. Proactive Maintenance 13. Performance 14. Backup & Recovery Concepts 15. Backup 16. Recovery 17. Flashback 18. Moving Data
  • 6. Course Examples: The HR Schema REGIONS REGION_ID (PK) REGION_NAME COUNTRIES COUNTRY_ID (PK) COUNTRY_NAME REGION_ID (FK) LOCATIONS LOCATION_ID (PK) STREET_ADDRESS POSTAL_CODE CITY STATE_PROVINCE COUNTRY_ID (FK) DEPARTMENTS DEPARTMENT_ID (PK) DEPARTMENT_NAME MANAGER_ID LOCATION_ID (FK) JOBS JOB_ID (PK) JOB_TITLE MIN_SALARY MAX_SALARY EMPLOYEES EMPLOYEE_ID (PK) FIRST_NAME LAST_NAME EMAIL PHONE_NUMBER HIRE_DATE JOB_ID (FK) SALARY COMMISION_PCT MANAGER_ID (FK) DEPARTMENT_ID (FK) JOB_HISTORY EMPLOYEE_ID (PK) START_DATE (PK) END_DATE JOB_ID (FK) DEPARTMENT_ID (FK) REGIONS COUNTRIES LOCATIONS DEPARTMENTS JOBS EMPLOYEES JOB_HISTORY
  • 7. Oracle Database 10 g : The Database for the Grid
      • Automatic Storage Management
      • Portable clusterware
      • Real Application Clusters and automatic workload management
      • Resource Manager
      • Oracle Streams
      • Centralized management with Enterprise Manager Grid Control
      • Oracle Database 10 g new self-management features
  • 8. Database Architecture: Review Storage structures Memory structures Process structures Instance Background processes Database files System Global Area (SGA)
  • 9. Oracle Memory Structures Java pool Database buffer cache Redo log buffer Shared pool Large pool SGA Streams pool Server process 1 PGA Server process 2 PGA Background process PGA
  • 10. Oracle Memory Structures Full Notes Page
  • 11. Oracle Processes System Monitor (SMON) Database Writer (DBW n ) Check- point (CKPT) LogWriter (LGWR) Process Monitor (PMON) Archiver (ARC n ) Server process Server process Server process Server process System Global Area (SGA) Background processes
  • 12. Reviewing Oracle Instance Management SGA Database Writer (DBW n ) LogWriter (LGWR) Database buffer cache Redo log buffer 1 User process 2 Example: Starting a database instance Establishing a connection System Monitor (SMON) Process Monitor (PMON) Data files Redo log files Instance Server process 3
  • 13. Reviewing Oracle Instance Management The user updates a row. Redo log files Instance SGA Database Writer (DBW n ) Database buffer cache Redo log buffer Server process User process 4 10 7 6 5 8 Example: Processing a SQL statement Archiver (ARC n ) 9 Checkpoint (CKPT) Data files Archive logs Control file LogWriter (LGWR)
  • 14. Physical Database Structure Online redo log files Password file Parameter file Archive log files Control files Data files Alert and trace log files Backup files
  • 15. Physical Database Structure Full Notes Page
  • 16. Oracle Managed Files (OMF)
    • Specify file operations in terms of database objects rather than file names.
    Example: SQL> ALTER SYSTEM SET DB_CREATE_FILE_DEST = '/u01/oradata'; SQL> CREATE TABLESPACE tbs_1; Defines the location for RMAN backups DB_RECOVERY_FILE_DEST Defines the location for redo log files and control file creation DB_CREATE_ONLINE_LOG_DEST_n Defines the location of the default file system directory for data files and temporary files DB_CREATE_FILE_DEST Description Parameter
  • 17. Logical and Physical Database Structures Database Logical Physical Tablespace Data file OS block Segment Extent Oracle data block Schema
  • 18. Database Structures Full Notes Page
  • 19. Database Architecture: Summary of Structural Components
      • Memory structures
        • System Global Area (SGA): Database buffer cache, redo buffer, and various pools
        • Program Global Area (PGA)
      • Process structures
        • User process and server process
        • Background processes: SMON, PMON, DBW n , CKPT, LGWR, ARC n , and so on
      • Storage structures
        • Logical: Database, schema, tablespace, segment, extent, and Oracle block
        • Physical: Files for data, parameters, redo, and OS block
  • 20. Summary
    • In this lesson, you should have learned how to:
      • List the course objectives
      • Review the Oracle Database 10 g architecture