10
P review Creating a New Database Using Oracle 11g Although the general database creation format tends to be generic, its execution tends to be DBMS-specific. The leading RDBMS vendors offer the DBA the option to create databases manually using SQL commands or a GUI-based process.Which option is selected depends on the DBA’s sense of control and style.This appendix shows you how to create a database using the Oracle Database Configuration Assistant. This tool uses a wizard interface to answer a series of questions to establish the parameters of the database to be created. Other than the name of the database and passwords for administrator accounts, in most cases, the wizard will suggest common options and default values that produce a well-configured database. Figures N.1 through N.16 show you how to create a database with the help of the Oracle Database Configuration Assistant. N APPENDIX

Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

Preview

Creating a New Database Using Oracle 11g

Although the general database creation format tends to be generic, its execution tends to

be DBMS-specific. The leading RDBMS vendors offer the DBA the option to create

databases manually using SQL commands or a GUI-based process.Which option is selected

depends on the DBA’s sense of control and style.This appendix shows you how to create

a database using the Oracle Database Configuration Assistant. This tool uses a wizard

interface to answer a series of questions to establish the parameters of the database to be

created. Other than the name of the database and passwords for administrator accounts,

in most cases, the wizard will suggest common options and default values that produce a

well-configured database. Figures N.1 through N.16 show you how to create a database

with the help of the Oracle Database Configuration Assistant.

N

AP

PE

ND

IX

45222_AppN 9/25/2009 14:56:51 Page 1

Page 2: Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

FIGUREN.1

Creating a new database using the Database Configuration Assistant

FIGUREN.2

Selecting the new database template

45222_AppN 9/25/2009 14:56:52 Page 2

N-2 A P P E N D I X N

Page 3: Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

FIGUREN.3

Naming the database

FIGUREN.4

Selecting the management options

45222_AppN 9/25/2009 14:56:53 Page 3

N-3C R E A T I N G A N E W D A T A B A S E U S I N G O R A C L E 1 1 G

Page 4: Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

FIGUREN.5

Specifying the database credentials

FIGUREN.6

Selecting the storage options

45222_AppN 9/25/2009 14:56:53 Page 4

N-4 A P P E N D I X N

Page 5: Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

FIGUREN.7

Specifying the database file locations

FIGUREN.8

Specifying the database recovery configuration

45222_AppN 9/25/2009 14:56:54 Page 5

N-5C R E A T I N G A N E W D A T A B A S E U S I N G O R A C L E 1 1 G

Page 6: Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

FIGUREN.9

Selecting the database sample content

FIGUREN.10

Specifying the database memory configuration

45222_AppN 9/25/2009 14:56:54 Page 6

N-6 A P P E N D I X N

Page 7: Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

FIGUREN.11

Selecting the database security options

FIGUREN.12

Enabling automatic database maintenance tasks

45222_AppN 9/25/2009 14:56:54 Page 7

N-7C R E A T I N G A N E W D A T A B A S E U S I N G O R A C L E 1 1 G

Page 8: Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

FIGUREN.13

Confirming the database storage parameters

FIGUREN.14

Confirming the database creation options

45222_AppN 9/25/2009 14:56:54 Page 8

N-8 A P P E N D I X N

Page 9: Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

FIGUREN.15

Confirming the database installation options

45222_AppN 9/25/2009 15:4:12 Page 9

N-9C R E A T I N G A N E W D A T A B A S E U S I N G O R A C L E 1 1 G

Page 10: Creating a New Database Using Oracle 11g N APPENDIX...However, some current DBMSs, such as Oracle 11g, include the option to generate the corresponding SQL script at the time of database

After confirming the database options selected in Figures N.1 through N.15, the database creation process starts. Thisprocess creates the database structure, including the necessary data dictionary tables, the administrator user accounts,and other supporting processes required by the DBMS to manage the database. Figure N.16 illustrates tracking theprogress of the database creation process. Depending on the capabilities of the computing platform on which thedatabase is being installed, the configuration options chosen, and whether or not sample schemas are to be loaded intothe database, the creation process can be lengthy.

One of the traditional disadvantages of using this graphical interface to create databases is that there are no recordsin the form of SQL scripts to document the steps. However, some current DBMSs, such as Oracle 11g, include theoption to generate the corresponding SQL script at the time of database creation. Even given the GUI’s help, thedatabase creation process requires a solid understanding of the database’s underlying structures and components.

FIGUREN.16

Database creation progress

45222_AppN 9/25/2009 15:9:58 Page 10

N-10 A P P E N D I X N