Sie sind auf Seite 1von 4

Back to Topic

Using the Database Configuration Assistant (DBCA) to Create a Database

If you choose to install software only and later create a database, or if you want to create
additional databases using the software that you just installed, you can do so by using the
Database Configuration Assistant (DBCA).

Note: If you created a database as part of the Basic Installation or Advanced Installation, you do
not need to complete this section.

Follow the steps below to create a new database or a second database if you created a database as
part of the software installation:

1. Log onto your computer as a member of the administrative group that is authorized to install
Oracle software and create and manage the database.

2. Launch the DBCA on a Linux or UNIX operating system by entering the following at a
command prompt:

dbca

3. The Welcome window appears. Click Next.

4. Select Create a Database in the Operations window to begin a process that enables you to
configure and create a database. Click Next.

5. On the Database Templates window, select the type of database template to be used in creating
the database. You can click Show Details to see the configuration for each type of database.
Choose the template suited to the type of workload your database will support. If you are not
sure, select the default General Purpose or Transaction Processing template. Click Next.
6. On the Database Identification window, enter a Global Database Name and SID. Click Next.

Note: If you created a database as part of your installation of the Oracle software and you are
creating a second database with DBCA (as in this example), you must choose a different global
database name and SID for your second database.

7. The Management Options window appears. To use Enterprise Manager, select Configure
Enterprise Manager. Select Configure Database Control for local management to manage
your database locally as appropriate to your configuration. Click Next.

8. On the Database Credentials window, you can choose to use different administrative passwords
or use the same password for all accounts. Select one of the options and enter your password
data. Click Next.

9. For storage options, select File System, Automatic Storage Management, or Raw Devices as
appropriate to your environment. Click Next.

10. Specify the location for the creation of the datafiles. Choose one of the following:Use Database
File Locations from Template, Use Common Location for All Database Files, or Use
Oracle-Managed Files. Click Next.

11. Select Specify Flash Recovery Area and enter a directory location and size. Select Enable
Archiving to place your database in ARCHIVELOG mode. Click Next.
12. Click the Sample Schemas tab. Select Sample Schemas if you want to include the Sample
Schemas (EXAMPLE) tablespace in your database. Click Next.

13. The Memory window appears. Select Typical and enter a Memory Size (SGA and PGA). Click
the Sizing tab.

14. The Sizing window appears. Specify the smallest block size and the maximum number of
operating system user processes that can simultaneously connect to the database.

Note: You cannot specify the block size if you are using a template.

Click the Character Sets tab.

15. The Character Sets window appears. Select the character set for your database. Click the
Connection Mode tab.

16. The Connection Mode window appears. Select Dedicated Server Mode or Shared Server
Mode as appropriate for your environment. Click Next.

17. The Security Settings window appears. Accept the default value and click Next.

18. The Automatic Maintenance Tasks window appears. On this window you can configure the
database to automatically manage maintenance tasks. Select the Enable automatic
maintenance tasks option. Click Next.
19. On the Database Storage window, you can specify storage parameters for the database creation.
Accept the default values. Click Next.

20. On the Creation Options window, select Create Database to create your database. You can also
select Save as a Database Template to save your configuration. Click Finish.

21. At the Confirmation window, confirm the options that will be installed and click OK.

22. Your database is now being created.

After the database is created, you can change or unlock your passwords or click Exit.

Das könnte Ihnen auch gefallen