0% found this document useful (0 votes)
126 views2 pages

Manual Database Creation

The document describes the steps to manually create an Oracle database including: 1) configuring the Oracle environment; 2) creating the database files, undo tablespace, and temp files; 3) generating a script to create the database; and 4) running additional scripts to complete the database creation and configuration.

Uploaded by

api-3744496
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
126 views2 pages

Manual Database Creation

The document describes the steps to manually create an Oracle database including: 1) configuring the Oracle environment; 2) creating the database files, undo tablespace, and temp files; 3) generating a script to create the database; and 4) running additional scripts to complete the database creation and configuration.

Uploaded by

api-3744496
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

MANUAL DATABASE CREATION

• Configure the new Sid in bashrcfile.

• I have create the background_dump_dest, Core_dump_dest


User_dump_dest, it’s under $ORACLE_BASE/admin/manual

• Create the Sid name in $ORACLE_BASE/oradata/manual

• Create the initfile with new Sidname.

• By using the vi editor, I created manual database script:

CREATE DATABASE DATABASENAME

Logfile
group 1 ('/u01/srikanth/oradata/ manual /log01.rdo') size 10m,
group 2 ('/u01/srikanth/oradata/manual/log02.rdo') size 10m
datafile '/u01/srikanth/oradata/manual/system01. dbf' size 100m
autoextend on next 512k maxsize 120m
default temporary tablespace temp
tempfile '/u01/srikanth/oradata/manual/temp01.dbf' size 10m
autoextend on next 5m maxsize 20m
undo tablespace UNDOTBS1
datafile '/u01/srikanth/oradata/manual/undo01.dbf' size 10m
autoextend on next 5m maxsize 60m
character set WE8ISO8859P1
national character set AL16UTF16
;

After that startup the database in nomount stage.

• In sql > Run the create database script.

• Run another script $ORACLE_HOME/rdbms/admin/catalog.sql

• Run $ORACLE_HOME/rdbms/admin/catproc.sql.

• Now connect as system/manager. SQL>conn system/manager.

• Run $ORACLE_HOME/sqlplus /admin/pupbld.sql.

You might also like