SlideShare una empresa de Scribd logo
1 de 16
3
Copyright © 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:
• Create a database with the Database Configuration
Assistant (DBCA)
• Create a database design template with the DBCA
• Generate database creation scripts with the 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
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
3-5 Copyright © 2005, Oracle. All rights reserved.
Database Configuration Assistant (DBCA)
3-6 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
3-7 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
3
4
3-8 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
5
6
7
3-9 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
8
9
3-10 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
A
B
10
3-11 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Create a Database
11
12
3-12 Copyright © 2005, Oracle. All rights reserved.
Password Management
A
B
C
3-13 Copyright © 2005, Oracle. All rights reserved.
Creating a Database Design Template
3-14 Copyright © 2005, Oracle. All rights reserved.
Using the DBCA to Delete a Database
3
1
2
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
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

Más contenido relacionado

La actualidad más candente

Less10 security mb3
Less10 security mb3Less10 security mb3
Less10 security mb3Imran Ali
 
Less17 flashback tb3
Less17 flashback tb3Less17 flashback tb3
Less17 flashback tb3Imran Ali
 
Less02 Installation
Less02 InstallationLess02 Installation
Less02 Installationvivaankumar
 
Less18 moving data
Less18 moving dataLess18 moving data
Less18 moving dataImran Ali
 
Data dictionary pl17
Data dictionary pl17Data dictionary pl17
Data dictionary pl17Ståle Deraas
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Databasepuja_dhar
 
Dd and atomic ddl pl17 dublin
Dd and atomic ddl pl17 dublinDd and atomic ddl pl17 dublin
Dd and atomic ddl pl17 dublinStåle Deraas
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new featuresJakkrapat S.
 
Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import! Nabil Nawaz
 
Less09 managing undo data
Less09 managing undo dataLess09 managing undo data
Less09 managing undo dataImran Ali
 
Oracle Data Guard Broker Webinar
Oracle Data Guard Broker WebinarOracle Data Guard Broker Webinar
Oracle Data Guard Broker WebinarZohar Elkayam
 
Less06 networking
Less06 networkingLess06 networking
Less06 networkingAmit Bhalla
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and ArchitectureSidney Chen
 

La actualidad más candente (20)

Less10 security mb3
Less10 security mb3Less10 security mb3
Less10 security mb3
 
Less17 flashback tb3
Less17 flashback tb3Less17 flashback tb3
Less17 flashback tb3
 
Less02 Installation
Less02 InstallationLess02 Installation
Less02 Installation
 
Less18 moving data
Less18 moving dataLess18 moving data
Less18 moving data
 
Less15 backups
Less15 backupsLess15 backups
Less15 backups
 
Oracle Dataguard
Oracle DataguardOracle Dataguard
Oracle Dataguard
 
Oracle 12c
Oracle 12cOracle 12c
Oracle 12c
 
Data dictionary pl17
Data dictionary pl17Data dictionary pl17
Data dictionary pl17
 
Less06 Storage
Less06 StorageLess06 Storage
Less06 Storage
 
153 Oracle dba interview questions
153 Oracle dba interview questions153 Oracle dba interview questions
153 Oracle dba interview questions
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Database
 
Dd and atomic ddl pl17 dublin
Dd and atomic ddl pl17 dublinDd and atomic ddl pl17 dublin
Dd and atomic ddl pl17 dublin
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import!
 
Less09 managing undo data
Less09 managing undo dataLess09 managing undo data
Less09 managing undo data
 
Oracle Data Guard Broker Webinar
Oracle Data Guard Broker WebinarOracle Data Guard Broker Webinar
Oracle Data Guard Broker Webinar
 
Less06 networking
Less06 networkingLess06 networking
Less06 networking
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and Architecture
 
Les 06 rec
Les 06 recLes 06 rec
Les 06 rec
 

Similar a Creating Oracle Database Using DBCA

Less03 D B D B C A
Less03  D B  D B C ALess03  D B  D B C A
Less03 D B D B C Avivaankumar
 
Using oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveUsing oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveSecure-24
 
Sql portfolio admin_practicals
Sql portfolio admin_practicalsSql portfolio admin_practicals
Sql portfolio admin_practicalsShelli Ciaschini
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015Mario Beck
 
Less02installation 100330034101-phpapp02
Less02installation 100330034101-phpapp02Less02installation 100330034101-phpapp02
Less02installation 100330034101-phpapp02Rati Manandhar
 
What's New in MySQL 5.7
What's New in MySQL 5.7What's New in MySQL 5.7
What's New in MySQL 5.7Olivier DASINI
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...avanttic Consultoría Tecnológica
 
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...Trivadis
 
MySQL Performance Tuning: The Perfect Scalability (OOW2019)
MySQL Performance Tuning: The Perfect Scalability (OOW2019)MySQL Performance Tuning: The Perfect Scalability (OOW2019)
MySQL Performance Tuning: The Perfect Scalability (OOW2019)Mirko Ortensi
 
SamBarrie_Primaryvzt
SamBarrie_PrimaryvztSamBarrie_Primaryvzt
SamBarrie_PrimaryvztSam Barrie
 
Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Connor McDonald
 
MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!
MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!
MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!Tinku Ajit
 
Oracle 11g data warehouse introdution
Oracle 11g data warehouse introdutionOracle 11g data warehouse introdution
Oracle 11g data warehouse introdutionAditya Trivedi
 
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle Ashnikbiz
 
Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Performance Tuning Corporation
 

Similar a Creating Oracle Database Using DBCA (20)

Less03 db dbca
Less03 db dbcaLess03 db dbca
Less03 db dbca
 
Less03 D B D B C A
Less03  D B  D B C ALess03  D B  D B C A
Less03 D B D B C A
 
Apouc 2014-enterprise-manager-12c
Apouc 2014-enterprise-manager-12cApouc 2014-enterprise-manager-12c
Apouc 2014-enterprise-manager-12c
 
Using oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveUsing oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archive
 
ora_sothea
ora_sotheaora_sothea
ora_sothea
 
Sql portfolio admin_practicals
Sql portfolio admin_practicalsSql portfolio admin_practicals
Sql portfolio admin_practicals
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
 
Creating database
Creating databaseCreating database
Creating database
 
Oracle DB
Oracle DBOracle DB
Oracle DB
 
Less02installation 100330034101-phpapp02
Less02installation 100330034101-phpapp02Less02installation 100330034101-phpapp02
Less02installation 100330034101-phpapp02
 
What's New in MySQL 5.7
What's New in MySQL 5.7What's New in MySQL 5.7
What's New in MySQL 5.7
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
 
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
TechEvent 2019: Create a Private Database Cloud in the Public Cloud using the...
 
MySQL Performance Tuning: The Perfect Scalability (OOW2019)
MySQL Performance Tuning: The Perfect Scalability (OOW2019)MySQL Performance Tuning: The Perfect Scalability (OOW2019)
MySQL Performance Tuning: The Perfect Scalability (OOW2019)
 
SamBarrie_Primaryvzt
SamBarrie_PrimaryvztSamBarrie_Primaryvzt
SamBarrie_Primaryvzt
 
Things learned from OpenWorld 2013
Things learned from OpenWorld 2013Things learned from OpenWorld 2013
Things learned from OpenWorld 2013
 
MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!
MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!
MySQL Enterprise Backup: Better Very Large Database Backup & Recovery and More!!
 
Oracle 11g data warehouse introdution
Oracle 11g data warehouse introdutionOracle 11g data warehouse introdution
Oracle 11g data warehouse introdution
 
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
Ashnik EnterpriseDB PostgreSQL - A real alternative to Oracle
 
Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?
 

Último

social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 

Último (20)

social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

Creating Oracle Database Using DBCA

  • 1. 3 Copyright © 2005, Oracle. All rights reserved. Creating an Oracle Database
  • 2. 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
  • 3. 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
  • 4. 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
  • 5. 3-5 Copyright © 2005, Oracle. All rights reserved. Database Configuration Assistant (DBCA)
  • 6. 3-6 Copyright © 2005, Oracle. All rights reserved. Using the DBCA to Create a Database
  • 7. 3-7 Copyright © 2005, Oracle. All rights reserved. Using the DBCA to Create a Database 3 4
  • 8. 3-8 Copyright © 2005, Oracle. All rights reserved. Using the DBCA to Create a Database 5 6 7
  • 9. 3-9 Copyright © 2005, Oracle. All rights reserved. Using the DBCA to Create a Database 8 9
  • 10. 3-10 Copyright © 2005, Oracle. All rights reserved. Using the DBCA to Create a Database A B 10
  • 11. 3-11 Copyright © 2005, Oracle. All rights reserved. Using the DBCA to Create a Database 11 12
  • 12. 3-12 Copyright © 2005, Oracle. All rights reserved. Password Management A B C
  • 13. 3-13 Copyright © 2005, Oracle. All rights reserved. Creating a Database Design Template
  • 14. 3-14 Copyright © 2005, Oracle. All rights reserved. Using the DBCA to Delete a Database 3 1 2
  • 15. 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
  • 16. 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

Notas del editor

  1. Planning the Database It is important to plan how the logical storage structure of the database will affect system performance and various database management operations. For example, before creating any tablespaces for your database, you should know how many data files will make up the tablespace, what type of information will be stored in each tablespace, and on which disk drives the data files will be physically stored. When planning the overall logical storage of the database structure, take into account the effects that this structure will have when the database is actually created and running. You may have database objects that have special storage requirements due to type or size. In distributed database environments, this planning stage is extremely important. The physical location of frequently accessed data dramatically affects application performance. During the planning stage, develop a backup strategy for the database. You can alter the logical storage structure or design of the database to improve backup efficiency. Backup strategies are introduced in a later lesson. These are the types of questions and considerations, which you will encounter as a DBA, and this course (in its entirety) is designed to help you answer them.
  2. Databases: Examples Different types of databases have their own specific instance and storage requirements. Your Oracle database software includes templates for the creation of these different types of databases. Characteristics of these examples are the following: Data Warehouse: Store data for long periods and retrieve them in read operations. Transaction Processing: Accommodate many, but usually small, transactions. General Purpose: Work with transactions and store them for a medium length of time.
  3. Oracle Database 10g: Administration Workshop I 3-<number> Database Configuration Assistant (DBCA) You can use the Database Configuration Assistant (DBCA) to create, change the configuration of, or delete a database. You can also create a database from a list of predefined templates or use an existing database as a sample to create a new database or template. This is sometimes referred to as “database cloning.” You can invoke the DBCA by performing the following steps: 1.Log on to your computer as a member of the administrative group that is authorized to install the Oracle software. 2.If required, set environment variables. 3.Enter dbca to invoke the DBCA. 4.Click Next to continue. DBCA offers you a choice of assisting with several operations, for example, creating a database.
  4. Oracle Database 10g: Administration Workshop I 3-<number> Using the DBCA to Create a Database You can use the DBCA to create a database as follows: 1.Select Create a Database on the DBCA Operations page to invoke a wizard that enables you to configure and create a database. The wizard prompts you to provide configuration information as outlined in the steps that follow. On most pages, the wizard provides a default setting that you can accept. 2.Select the type of database template to be used in creating the database. There are templates for Data Warehouse, General Purpose, and Transaction Processing databases that copy a preconfigured database, including data files. These data files include control files, redo log files, and data files for various included tablespaces. Click Show Details to see the configuration for each type of database. For more complex environments, you may want to select the Custom Database option.
  5. Oracle Database 10g: Administration Workshop I 3-<number> Using the DBCA to Create a Database (continued) 3.Database Identification: Enter the Global Database Name in the form database_name.domain_name, and the system identifier (SID). The SID defaults to the database name and uniquely identifies the instance associated with the database. 4.Management Options: Use this page to set up your database so that it can be managed with Oracle Enterprise Manager. Select the default: Configure the Database with Enterprise Manager.
  6. Oracle Database 10g: Administration Workshop I 3-<number> Using the DBCA to Create a Database (continued) 5.Database Credentials: Use this page to specify the passwords for the administrative accounts, such as SYS and SYSTEM. In class, use oracle as password for all administrative accounts. 6.Storage Options: Specify the type of storage mechanism (such as File System) that you would want your database to use. 7.Database File Locations: Choose according to your needs. Oracle Managed Files (OMF) eliminate the need for you to directly manage the operating system files comprising an Oracle database. You specify operations in terms of database objects rather than file names. For more details, see the lesson titled “Managing Database Storage Structures.”
  7. Oracle Database 10g: Administration Workshop I 3-<number> Using the DBCA to Create a Database (continued) 8.Recovery Configuration: If required, specify a flash recovery area and enable archiving. 9.Database Content: These pages provide options for selecting components, such as Sample Schemas, and for using custom scripts.
  8. Oracle Database 10g: Administration Workshop I 3-<number> Using the DBCA to Create a Database (continued) 10.Initialization Parameters: The tabs on this page provide access to pages that enable you to change default initialization parameter settings: Memory: Use this page to set the initialization parameters that control memory usage. Use either (A) Typical or (B) Custom memory allocation. Sizing: To specify block size, enter the size in bytes or accept the default. Character Sets: Use this page to specify the character sets for your database. Best Practice Tip: Oracle recommends (whenever possible) that you use Unicode for a database character set because it provides optimal flexibility for supporting Web technologies as well as many spoken languages. Connection Mode: Select Dedicated or Shared Server Mode. For more details, see the lesson titled “Configuring the Oracle Network Environment.” Note: Several initialization parameters are set for the lifetime of a database, such as the DB_BLOCK_SIZE and CHARACTER_SET parameters.
  9. Oracle Database 10g: Administration Workshop I 3-<number> Using the DBCA to Create a Database (continued) 11.Database Storage: If you have selected one of the preconfigured templates for a database, then you cannot add or remove control files or data files. Note: You may want to save your database definition as an HTML file for easy reference. 12.Creation Options: You have the options of creating your database at this time, saving the database definition as a template, and generating scripts. If you choose all options, then the DBCA first saves the database template, then generates the scripts into your destination directory, and finally creates your database.
  10. Password Management After the DBCA finishes, note the following information for future reference: Location of installation log files (see A) Global database name (see B) System identifier (SID) (see B) Server parameter file name and location (see B) Enterprise Manager URL (see C) Click Password Management to unlock database accounts that you plan to use. Provide a password when you unlock an account.
  11. Creating a Database Design Template A template is a predefined database definition that you use as a starting point for a new database. If you do not create a template as part of the database creation process, you can do it anytime by invoking the DBCA. You have three ways to create a template: From an existing template From an existing database (structure only) From an existing database (structure as well as data) The DBCA guides you through the steps to create a database design template.
  12. Using the DBCA to Delete a Database To delete (or configure) a database in UNIX or Linux, you must set ORACLE_SID in the shell from which DBCA is launched. Start the DBCA by entering dbca in a terminal window, and click Next on the Welcome page. To delete the database, perform the following steps: 1.On the Operations page, select Delete a Database, and click Next. 2.Select the database that you want to delete (in class, hist), and click Finish. 3.Click Yes to confirm your deletion.
  13. Oracle Database 10g: Administration Workshop I 3-<number> Using the DBCA to Delete a Database (continued) Dropping a database involves removing its data files, redo log files, control files, and initialization parameter files. The DROP DATABASE statement deletes all control files and all other database files listed in the control file. To use the DROP DATABASE statement successfully, all the following conditions must apply: The database must be mounted and closed. The database must be mounted exclusively—not in shared mode. The database must be mounted as RESTRICTED. An example of this statement is: DROP DATABASE; The DROP DATABASE statement has no effect on archived log files nor does it have any effect on copies or backups of the database. It is best to use Recovery Manager (RMAN) to delete such files. If the database is on raw disks, then the actual raw disk special files are not deleted.
  14. Oracle Database 10g: Administration Workshop I 3-<number>
  15. Oracle Database 10g: Administration Workshop I 3-<number>