8/14/2019 Less03 Db Dbca Mb
1/20
8/14/2019 Less03 Db Dbca Mb
2/20
3-2 Copyright 2005, Oracle. All rights reserved.
Objectives
After completing this lesson, you should be able to dothe 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
8/14/2019 Less03 Db Dbca Mb
3/20
3-3 Copyright 2005, Oracle. All rights reserved.
Tasks of a Database Administrator
Task 1: Evaluating the database server hardwareTask 2: Installing the Oracle database softwareTask 3: Planning the database
Task 4: Creating and opening the databaseTask 5: Backing up the databaseTask 6: Enrolling system usersTask 7: Implementing the database design
Task 8: Backing up the fully functional databaseTask 9: Tuning database performance
8/14/2019 Less03 Db Dbca Mb
4/20
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
8/14/2019 Less03 Db Dbca Mb
5/20
3-5 Copyright 2005, Oracle. All rights reserved.
Planning the Database:Considerations
The performance of the servers running Oracledatabase instances
The performance of the database during data
access operations The efficiency of backup and recovery proceduresfor the database
8/14/2019 Less03 Db Dbca Mb
6/20
3-6 Copyright 2005, Oracle. All rights reserved.
Databases: Examples
Data Warehouse: Store data for long periods andretrieve them in read operations:
Research and marketing data
State or federal tax payments Professional licensing (doctors, nurses, and so on)
Transaction Processing: Accommodate many, butusually 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
8/14/2019 Less03 Db Dbca Mb
7/203-7 Copyright 2005, Oracle. All rights reserved.
Physical and Logical DesignQuestions: Quiz
1. DBAs should consider growth and securityfactors when planning a database.
2. It is a good idea to store data and indexes onthe same physical disk although you haveseveral disks available.
3. The size of a database can be described by thesum of all its tablespaces.
4. Database objects belonging to one schema canbe 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
8/14/2019 Less03 Db Dbca Mb
8/203-8 Copyright 2005, Oracle. All rights reserved.
Database Configuration Assistant (DBCA)
8/14/2019 Less03 Db Dbca Mb
9/203-9 Copyright 2005, Oracle. All rights reserved.
Creating a Database Design Template
8/14/2019 Less03 Db Dbca Mb
10/203-10 Copyright 2005, Oracle. All rights reserved.
Creating a Database Design Template
8/14/2019 Less03 Db Dbca Mb
11/203-11 Copyright 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
8/14/2019 Less03 Db Dbca Mb
12/203-12 Copyright 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
8/14/2019 Less03 Db Dbca Mb
13/203-13 Copyright 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
A
B
8/14/2019 Less03 Db Dbca Mb
14/203-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
8/14/2019 Less03 Db Dbca Mb
15/203-15 Copyright 2005, Oracle. All rights reserved.
Initialization Parameter ExamplesFull Notes Page
8/14/2019 Less03 Db Dbca Mb
16/203-16 Copyright 2005, Oracle. All rights reserved.
Using the DBCA to Delete a Database
3
1
2
8/14/2019 Less03 Db Dbca Mb
17/203-17 Copyright 2005, Oracle. All rights reserved.
Removing an Oracle DatabaseFull Notes Page
8/14/2019 Less03 Db Dbca Mb
18/203-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 designtemplate Use the DBCA to create an additional database
(based on a template) Use the DBCA to delete a database
8/14/2019 Less03 Db Dbca Mb
19/203-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
8/14/2019 Less03 Db Dbca Mb
20/20