Book description
Candidates for the Oracle Certified Associate in Oracle Database 11g need to pass Exams 1Z0-051 and 1Z0-052 to achieve their certification—this guide prepares you for taking both those exams. This two-in-one study guide covers the Oracle Certified Associate certification for Oracle database 11g and reviews exam topics such as restricting and sorting data, using conversion functions and conditional expressions, displaying data from multiple tables, and exploring the Oracle database architecture. Plus, you’ll learn how to create and maintain an Oracle database, perform database backups and recovery, move and manipulate data, prepare the database environment, and more.
Table of contents
- Copyright
- Acknowledgments
- About the Author
-
Introduction
- Why Become Oracle Certified?
- Oracle Certifications
- Oracle Database 11g Administrator Certified Associate
- Oracle Database 11g Administrator Certified Professional
- Oracle Database 11g Administrator Certified Master
- More Information and Resources
- OCA/OCP Study Guides
- Oracle Exam Requirements
- OCA SQL (1Z0-051) Requirements
- OCA Admin I (1Z0-052) Requirements
- Tips for Taking the OCA Exams
- What Is Covered in This Book
- How to Use This Book
- How to Contact the Author
- SQL Fundamentals I Assessment Test
- Answers to SQL Fundamentals I Assessment Test
- Administration I Assessment Test
- Answers to Administration I Assessment Test
-
I. Oracle Database 11g: SQL Fundamentals I
-
1. Introducing SQL
- 1.1. SQL Fundamentals
- 1.2. Writing Simple Queries
- 1.3. Accepting Values at Runtime
- 1.4. Summary
- 1.5. Exam Essentials
- 1.6. Review Questions
- 1.7. Answers to Review Questions
-
2. Using Single-Row Functions
- 2.1. Single-Row Function Fundamentals
-
2.2. Using Single-Row Character Functions
- 2.2.1. Character Function Overview
-
2.2.2. Character Function Descriptions
- 2.2.2.1. ASCII
- 2.2.2.2. CHR
- 2.2.2.3. CONCAT
- 2.2.2.4. INITCAP
- 2.2.2.5. INSTR
- 2.2.2.6. INSTRB
- 2.2.2.7. LENGTH
- 2.2.2.8. LENGTHB
- 2.2.2.9. LOWER
- 2.2.2.10. LPAD
- 2.2.2.11. LTRIM
- 2.2.2.12. REPLACE
- 2.2.2.13. RPAD
- 2.2.2.14. RTRIM
- 2.2.2.15. SOUNDEX
- 2.2.2.16. SUBSTR
- 2.2.2.17. SUBSTRB
- 2.2.2.18. TRANSLATE
- 2.2.2.19. TRIM
- 2.2.2.20. UPPER
-
2.3. Using Single-Row Numeric Functions
- 2.3.1. Numeric Function Overview
-
2.3.2. Numeric Function Descriptions
- 2.3.2.1. ABS
- 2.3.2.2. ACOS
- 2.3.2.3. ASIN
- 2.3.2.4. ATAN
- 2.3.2.5. ATAN2
- 2.3.2.6. BITAND
- 2.3.2.7. CEIL
- 2.3.2.8. COS
- 2.3.2.9. COSH
- 2.3.2.10. EXP
- 2.3.2.11. FLOOR
- 2.3.2.12. LN
- 2.3.2.13. LOG
- 2.3.2.14. MOD
- 2.3.2.15. NANVL
- 2.3.2.16. POWER
- 2.3.2.17. REMAINDER
- 2.3.2.18. ROUND
- 2.3.2.19. SIGN
- 2.3.2.20. SIN
- 2.3.2.21. SINH
- 2.3.2.22. SQRT
- 2.3.2.23. TAN
- 2.3.2.24. TANH
- 2.3.2.25. TRUNC
- 2.3.2.26. WIDTH_BUCKET
-
2.4. Using Single-Row Date Functions
- 2.4.1. Date-Format Conversion
- 2.4.2. Date-Function Overview
-
2.4.3. Date-Function Descriptions
- 2.4.3.1. SYSDATE
- 2.4.3.2. SYSTIMESTAMP
- 2.4.3.3. LOCALTIMESTAMP
- 2.4.3.4. ADD_MONTHS
- 2.4.3.5. CURRENT_DATE
- 2.4.3.6. CURRENT_TIMESTAMP
- 2.4.3.7. DBTIMEZONE
- 2.4.3.8. EXTRACT
- 2.4.3.9. FROM_TZ
- 2.4.3.10. LAST_DAY
- 2.4.3.11. MONTHS_BETWEEN
- 2.4.3.12. NEW_TIME
- 2.4.3.13. NEXT_DAY
- 2.4.3.14. ROUND
- 2.4.3.15. SESSIONTIMEZONE
- 2.4.3.16. SYS_EXTRACT_UTC
- 2.4.3.17. TRUNC
- 2.4.3.18. TZ_OFFSET
-
2.5. Using Single-Row Conversion Functions
- 2.5.1. Conversion-Function Overview
-
2.5.2. Conversion-Function Descriptions
- 2.5.2.1. ASCIISTR
- 2.5.2.2. BIN_TO_NUM
- 2.5.2.3. CAST
- 2.5.2.4. CHARTOROWID
- 2.5.2.5. COMPOSE
- 2.5.2.6. CONVERT
- 2.5.2.7. DECOMPOSE
- 2.5.2.8. HEXTORAW
- 2.5.2.9. NUMTODSINTERVAL
- 2.5.2.10. NUMTOYMINTERVAL
- 2.5.2.11. RAWTOHEX
- 2.5.2.12. ROWIDTOCHAR
- 2.5.2.13. SCN_TO_TIMESTAMP
- 2.5.2.14. TIMESTAMP_TO_SCN
- 2.5.2.15. TO_BINARY_DOUBLE
- 2.5.2.16. TO_BINARY_FLOAT
- 2.5.2.17. TO_CHAR
- 2.5.2.18. TO_CLOB
- 2.5.2.19. TO_DATE
- 2.5.2.20. TO_DSINTERVAL
- 2.5.2.21. TO_LOB
- 2.5.2.22. TO_MULTI_BYTE
- 2.5.2.23. TO_NUMBER
- 2.5.2.24. TO_SINGLE_BYTE
- 2.5.2.25. TO_TIMESTAMP
- 2.5.2.26. TO_TIMESTAMP_TZ
- 2.5.2.27. TO_YMINTERVAL
- 2.5.2.28. UNISTR
- 2.6. Using Other Single-Row Functions
- 2.7. Summary
- 2.8. Exam Essentials
- 2.9. Review Questions
- 2.10. Answers to Review Questions
-
3. Using Group Functions
- 3.1. Group-Function Fundamentals
-
3.2. Utilizing Aggregate Functions
- 3.2.1. Grouping Data with GROUP BY
- 3.2.2. Group-Function Overview
- 3.2.3. Group-Function Descriptions: Part 1
-
3.2.4. Group-Function Descriptions: Part 2
- 3.2.4.1. CORR
- 3.2.4.2. COVAR_POP
- 3.2.4.3. COVAR_SAMP
- 3.2.4.4. CUME_DIST
- 3.2.4.5. DENSE_RANK
- 3.2.4.6. FIRST
- 3.2.4.7. GROUP_ID
- 3.2.4.8. GROUPING
- 3.2.4.9. GROUPING_ID
- 3.2.4.10. KEEP
- 3.2.4.11. LAST
- 3.2.4.12. PERCENT_RANK
- 3.2.4.13. PERCENTILE_CONT
- 3.2.4.14. PERCENTILE_DISC
- 3.2.4.15. RANK
- 3.2.4.16. STDDEV_POP
- 3.2.4.17. STDDEV_SAMP
- 3.2.4.18. VAR_POP
- 3.2.4.19. VAR_SAMP
- 3.2.5. Limiting Grouped Data with HAVING
- 3.2.6. Creating Superaggregates with CUBE and ROLLUP
- 3.2.7. Nesting Functions
- 3.3. Summary
- 3.4. Exam Essentials
- 3.5. Review Questions
- 3.6. Answers to Review Questions
-
4. Using Joins and Subqueries
- 4.1. Writing Multiple-Table Queries
- 4.2. Using Set Operators
- 4.3. Subqueries
- 4.4. Summary
- 4.5. Exam Essentials
- 4.6. Review Questions
- 4.7. Answers to Review Questions
- 5. Manipulating Data
-
6. Creating Tables and Constraints
- 6.1. Database Objects Overview
- 6.2. Built-in Datatypes
- 6.3. Creating Tables
- 6.4. Modifying Tables
- 6.5. Managing Constraints
- 6.6. Summary
- 6.7. Exam Essentials
- 6.8. Review Questions
- 6.9. Answers to Review Questions
-
7. Creating Schema Objects
- 7.1. Creating and Modifying Views
- 7.2. Creating and Managing Sequences
- 7.3. Creating and Managing Synonyms
- 7.4. Creating and Managing Indexes
- 7.5. Summary
- 7.6. Exam Essentials
- 7.7. Review Questions
- 7.8. Answers to Review Questions
-
1. Introducing SQL
-
II. Oracle Database 11g: Administration I
-
8. Introducing Oracle Database 11g Components and Architecture
- 8.1. Oracle Database Fundamentals
- 8.2. Relational Databases
- 8.3. Oracle Database 11g Objects
- 8.4. Interacting with Oracle 11g
- 8.5. Oracle 11g Architecture
- 8.6. User Processes
- 8.7. The Oracle Instance
- 8.8. Oracle Storage Structures
- 8.9. Installing Oracle 11g
- 8.10. Review the Documentation
- 8.11. Review the System Requirements
- 8.12. Plan Your Install
- 8.13. Using the Oracle Universal Installer
- 8.14. Summary
- 8.15. Exam Essentials
- 8.16. Review Questions
- 8.17. Answers to Review Questions
-
9. Creating an Oracle 11g Database
-
9.1. Using DBCA to Create Oracle 11g Databases
-
9.1.1. Invoking the Database Configuration Assistant
- 9.1.1.1. Database Templates
- 9.1.1.2. Database Identification
- 9.1.1.3. Management Options
- 9.1.1.4. Database Credentials
- 9.1.1.5. Storage Options
- 9.1.1.6. Database File Locations
- 9.1.1.7. Recovery Configuration
- 9.1.1.8. Database Content
- 9.1.1.9. Sample Schemas and Custom Scripts
- 9.1.1.10. Initialization Parameters
- 9.1.1.11. Security and Maintenance Settings
- 9.1.1.12. Database Storage
- 9.1.1.13. Creation Options
- 9.1.2. Configuring an Oracle Database Using the DBCA
- 9.1.3. Deleting an Oracle Database Using the DBCA
- 9.1.4. Managing Database Templates Using the DBCA
-
9.1.1. Invoking the Database Configuration Assistant
- 9.2. Working with Oracle 11g Metadata
- 9.3. Managing Initialization-Parameter Files
- 9.4. Starting Up and Shutting Down an Oracle Instance
- 9.5. Monitoring the Database Alert Log
- 9.6. Summary
- 9.7. Exam Essentials
- 9.8. Review Questions
- 9.9. Answers to Review Questions
-
9.1. Using DBCA to Create Oracle 11g Databases
-
10. Allocating Database Storage and Creating Schema Objects
- 10.1. Tablespaces and Data Files Overview
-
10.2. Managing Tablespaces
- 10.2.1. Identifying Default Tablespaces
-
10.2.2. Creating and Maintaining Tablespaces
- 10.2.2.1. Creating Bigfile and Smallfile Tablespaces
- 10.2.2.2. Working with Oracle Managed File Tablespaces
- 10.2.2.3. Choosing Extent Management
- 10.2.2.4. Choosing Segment Space Management
- 10.2.2.5. Choosing Other Tablespace Options
- 10.2.2.6. Using Nonstandard Block Sizes
- 10.2.2.7. Creating Temporary Tablespaces
- 10.2.2.8. Creating Undo Tablespaces
- 10.2.2.9. Removing Tablespaces
- 10.2.2.10. Modifying Tablespaces
- 10.2.3. Obtaining Tablespace Information
- 10.3. Managing Data Files
- 10.4. Working with Schema Objects
- 10.5. Summary
- 10.6. Exam Essentials
- 10.7. Review Questions
- 10.8. Answers to Review Questions
-
11. Understanding Network Architecture
- 11.1. Introducing Network Configurations
- 11.2. An Overview of Oracle Net Features
-
11.3. Configuring Oracle Net on the Server
- 11.3.1. Understanding the Oracle Listener
- 11.3.2. Managing Oracle Listeners
- 11.3.3. Dynamically Registering Services
- 11.3.4. Oracle Net Logging and Tracing on the Server
- 11.4. Configuring Oracle Net for the Client
- 11.5. An Overview of Oracle Shared Server
- 11.6. Oracle Shared Server Infrastructure
- 11.7. Summary
- 11.8. Exam Essentials
- 11.9. Review Questions
- 11.10. Answers to Review Questions
-
12. Implementing Security and Auditing
- 12.1. Creating and Managing User Accounts
-
12.2. Granting and Revoking Privileges
- 12.2.1. Granting Object Privileges
-
12.2.2. Granting System Privileges
- 12.2.2.1. Database
- 12.2.2.2. Debugging
- 12.2.2.3. Indexes
- 12.2.2.4. Job Scheduler
- 12.2.2.5. Procedures
- 12.2.2.6. Profiles
- 12.2.2.7. Roles
- 12.2.2.8. Sequences
- 12.2.2.9. Sessions
- 12.2.2.10. Synonyms
- 12.2.2.11. Tables
- 12.2.2.12. Tablespaces
- 12.2.2.13. Triggers
- 12.2.2.14. Users
- 12.2.2.15. Views
- 12.2.2.16. Others
- 12.2.2.17. How to Grant System Privileges
- 12.2.3. Role Privileges
- 12.2.4. Applying the Principle of Least Privilege
- 12.3. Controlling Resource Usage by Users
- 12.4. Auditing Database Activity
- 12.5. Summary
- 12.6. Exam Essentials
- 12.7. Review Questions
- 12.8. Answers to Review Questions
-
13. Managing Data and Undo
- 13.1. Manipulating Data through SQL
- 13.2. Identifying PL/SQL Objects
- 13.3. Monitoring Locks and Resolving Lock Conflicts
- 13.4. Leveraging Undo Management
- 13.5. Summary
- 13.6. Exam Essentials
- 13.7. Review Questions
- 13.8. Answers to Review Questions
-
14. Maintaining the Database and Managing Performance
-
14.1. Proactive Database Maintenance
- 14.1.1. Managing Optimizer Statistics
- 14.1.2. Gathering Performance Statistics
- 14.1.3. Automatic Database Diagnostic Monitoring
- 14.1.4. The Advisory Framework
- 14.1.5. Monitoring Server-Generated Alerts
- 14.1.6. Understanding Automatic Diagnostic Repository
- 14.2. Managing Performance
- 14.3. Summary
- 14.4. Exam Essentials
- 14.5. Review Questions
- 14.6. Answers to Review Questions
-
14.1. Proactive Database Maintenance
-
15. Implementing Database Backups
-
15.1. Understanding and Configuring Recovery Components
- 15.1.1. Understanding Control Files
- 15.1.2. Understanding Checkpoints
- 15.1.3. Understanding Redo Log Files
- 15.1.4. Understanding Archived Redo Log (ARCHIVELOG) Files
- 15.1.5. Understanding the Flash Recovery Area
- 15.2. Performing Backups
- 15.3. Summary
- 15.4. Exam Essentials
- 15.5. Review Questions
- 15.6. Answers to Review Questions
-
15.1. Understanding and Configuring Recovery Components
-
16. Recovering the Database
- 16.1. Understanding Types of Database Failure
-
16.2. Performing Recovery Operations
- 16.2.1. Understanding Instance Startup
- 16.2.2. Keeping an Instance from Failing
- 16.2.3. Recovering from Instance Failure
- 16.2.4. Tuning Instance Recovery
- 16.2.5. Recovering from User Errors
- 16.2.6. Recovering from Loss of a Control File
- 16.2.7. Using the Data Recovery Advisor
- 16.2.8. Recovering from the Loss of a Redo Log File
- 16.2.9. Recovering from the Loss of a Non–System-Critical Data File
- 16.2.10. Recovering from the Loss of a System-Critical Data File
- 16.3. Summary
- 16.4. Exam Essentials
- 16.5. Review Questions
- 16.6. Answers to Review Questions
-
17. Moving Data and Using EM Tools
-
17.1. Understanding Data Pump
- 17.1.1. Architecture of Data Pump
- 17.1.2. Using Data Pump Clients
- 17.1.3. Using the Data Pump Wizard
- 17.2. Loading Data with SQL*Loader
- 17.3. Populating External Tables
- 17.4. Using EM Support Workbench
- 17.5. Using EM to Manage Patches
- 17.6. Summary
- 17.7. Exam Essentials
- 17.8. Review Questions
- 17.9. Answers to Review Questions
-
17.1. Understanding Data Pump
- A. About the Companion CD
-
8. Introducing Oracle Database 11g Components and Architecture
- Glossary
Product information
- Title: OCA Oracle® Database 11g Administrator Certified Associate: Study Guide
- Author(s):
- Release date: April 2009
- Publisher(s): Sybex
- ISBN: 9780470395127
You might also like
book
C# Programming for Absolute Beginners: Learn to Think Like a Programmer and Start Writing Code
Get started using the C# programming language. Based on the author’s 15 years of experience teaching …
book
How Linux Works, 3rd Edition
Unlike some operating systems, Linux doesn’t try to hide the important bits from you—it gives you …
book
Node.js: Novice to Ninja
Node.js: Novice to Ninja is your hands-on guide to learning everything needed to build a professional …
book
JavaScript: The Definitive Guide, 7th Edition
JavaScript is the programming language of the web and is used by more software developers today …