Sunteți pe pagina 1din 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.

S-ar putea să vă placă și