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.
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
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