Upload
gyles-fisher
View
229
Download
1
Embed Size (px)
Citation preview
3Copyright © 2005, Oracle. All rights reserved.
Creating an Oracle Database
3-2 Copyright © 2005, Oracle. All rights reserved.
Objectives
After completing this lesson, you should be able to do the following:
• Answer basic logical and physical database design questions
• Use the Database Configuration Assistant (DBCA) to create a database design template
• Use the DBCA to create an additional database (based on a template)
• Use the DBCA to delete a database
3-3 Copyright © 2005, Oracle. All rights reserved.
Tasks of a Database Administrator
Task 1: Evaluating the database server hardware
Task 2: Installing the Oracle database software
Task 3: Planning the database
Task 4: Creating and opening the database
Task 5: Backing up the database
Task 6: Enrolling system users
Task 7: Implementing the database design
Task 8: Backing up the fully functional database
Task 9: Tuning database performance
3-4 Copyright © 2005, Oracle. All rights reserved.
Planning the Database
As a DBA, you must plan:
• The logical storage structure of the database and its physical implementation:– How many disk drives do you have for this?– How many data files will you need? (Plan for
growth)– How many tablespaces will you use?– Which type of information will be stored? Any
special storage requirements due to type or size?
• The overall database design
• A backup strategy for the database
3-5 Copyright © 2005, Oracle. All rights reserved.
Planning the Database: Considerations
• The performance of the servers running Oracle database instances
• The performance of the database during data access operations
• The efficiency of backup and recovery procedures for the database
3-6 Copyright © 2005, Oracle. All rights reserved.
Databases: Examples
• Data Warehouse: Store data for long periods and retrieve them in read operations:
• Research and marketing data– State or federal tax payments
– Professional licensing (doctors, nurses, and so on)
• Transaction Processing: Accommodate many, but usually small transactions:– Store checkout register system
– Automatic teller machine (ATM) transactions
• General Purpose: Work with transactions and store them for a medium length of time:– Retail billing system, for example, of a software house or
a nursery
3-7 Copyright © 2005, Oracle. All rights reserved.
Physical and Logical Design Questions: Quiz
1. DBAs should consider growth and security factors when planning a database.
2. It is a good idea to store data and indexes on the same physical disk although you have several disks available.
3. The size of a database can be described by the sum of all its tablespaces.
4. Database objects belonging to one schema can be stored in multiple tablespaces.
5. Blocks in online transaction processing (OLTP) systems should always be as full as possible, because updates never occur in this type of system.
True/False
True/False
True/False
True/False
True/False
3-8 Copyright © 2005, Oracle. All rights reserved.
Database Configuration Assistant (DBCA)
3-9 Copyright © 2005, Oracle. All rights reserved.
Creating a Database Design Template
3-10 Copyright © 2005, Oracle. All rights reserved.
Creating a Database Design Template
3-11 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
3-12 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
3-13 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
A
B
3-14 Copyright © 2005, Oracle. All rights reserved.
Simplified Initialization Parameters
DB_CACHE_SIZEDB_FILE_MULTIBLOCK_READ_COUNTSHARED_POOL_SIZE…
Advanced
CONTROL_FILESDB_BLOCK_SIZEPROCESSESUNDO_MANAGEMENT…
Basic
3-16 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Delete a Database
3
1
2
3-18 Copyright © 2005, Oracle. All rights reserved.
Summary
In this lesson, you should have learned how to:
• Answer basic logical and physical database design questions
• Use the DBCA to create a database design template
• Use the DBCA to create an additional database (based on a template)
• Use the DBCA to delete a database
3-19 Copyright © 2005, Oracle. All rights reserved.
Practice Overview: Using the DBCA
This practice covers the following topics:
• Creating a database design template by using the DBCA
Optionally:
• Creating an additional database
• Deleting a database