16
3 Copyright © 2005, Oracle. All rights reserved. Creating an Oracle Database

Less03 db dbca

  • View
    310

  • Download
    0

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Less03 db dbca

3Copyright © 2005, Oracle. All rights reserved.

Creating an Oracle Database

Page 2: Less03 db dbca

3-2 Copyright © 2005, Oracle. All rights reserved.

Objectives

After completing this lesson, you should be able to do the following:

• Create a database with the Database Configuration Assistant (DBCA)

• Create a database design template with the DBCA

• Generate database creation scripts with the DBCA

Page 3: Less03 db dbca

3-3 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?– Are there any special storage requirements

due to type or size?

• The overall database design

• A backup strategy for the database

Page 4: Less03 db dbca

3-4 Copyright © 2005, Oracle. All rights reserved.

Databases: Examples

• Data Warehouse:– Research and marketing data– State or federal tax payments – Professional licensing (doctors, nurses, and so on)

• Transaction Processing:– Store checkout register system– Automatic teller machine (ATM) transactions

• General Purpose: – Retail billing system, for example, of a software

house or a nursery

Page 5: Less03 db dbca

3-5 Copyright © 2005, Oracle. All rights reserved.

Database Configuration Assistant (DBCA)

Page 6: Less03 db dbca

3-6 Copyright © 2005, Oracle. All rights reserved.

Using the DBCA to Create a Database

Page 7: Less03 db dbca

3-7 Copyright © 2005, Oracle. All rights reserved.

Using the DBCA to Create a Database

3

4

Page 8: Less03 db dbca

3-8 Copyright © 2005, Oracle. All rights reserved.

Using the DBCA to Create a Database

5

6

7

Page 9: Less03 db dbca

3-9 Copyright © 2005, Oracle. All rights reserved.

Using the DBCA to Create a Database

8

9

Page 10: Less03 db dbca

3-10 Copyright © 2005, Oracle. All rights reserved.

Using the DBCA to Create a Database

A

B

10

Page 11: Less03 db dbca

3-11 Copyright © 2005, Oracle. All rights reserved.

Using the DBCA to Create a Database

11

12

Page 12: Less03 db dbca

3-12 Copyright © 2005, Oracle. All rights reserved.

Password Management

A

B

C

Page 13: Less03 db dbca

3-13 Copyright © 2005, Oracle. All rights reserved.

Creating a Database Design Template

Page 14: Less03 db dbca

3-14 Copyright © 2005, Oracle. All rights reserved.

Using the DBCA to Delete a Database

3

1

2

Page 15: Less03 db dbca

3-16 Copyright © 2005, Oracle. All rights reserved.

Summary

In this lesson, you should have learned how to use the DBCA to:

• Create a database

• Create a database design template

• Generate database creation scripts

Page 16: Less03 db dbca

3-17 Copyright © 2005, Oracle. All rights reserved.

Practice Overview: Using the DBCA

This practice covers the following topics:

• Creating the ORCL database by using the DBCA

• Unlocking the HR schema

Note: Completing the database creation and unlocking the HR schema is critical for all following practice sessions.

Optionally:

• Creating the ORCL database design template by using the DBCA

• Creating database creation scripts with the DBCA