or Create database through command line
STEP1: c:\> set oracle sid= rose
STEP2: create Pfile
pfile content these parameter
"db_NAME=ROSE
SGA_TARGET=600M
COMPATIBLE =10.2.0 (your db version)"
Step3: (for windows we need to create instance)
create instance
"C:\>oradim -new -sid ROSE -SRVCOracleServiceROSE -STARTMODE auto -SRVCSTART system -PFILE C:\ORACLE_HOME\
Instance created.
step 4: c:\>sqlplus sys as sysdba
step 5: SQL> startup nomount
step 6: SQL> create database Rose;
step 7: create datafile system
SQL> alter tablespace
system add
datafile 'C:\%ORACLE_HOME%\rose\system01.dbf ' size 500m
Tablespace altered.
Step 8: create datafile SYSAUX
SQL>alter tablespace
SYSAUX add
datafile 'C:\%ORACLE_HOME%\rose\SYSAUX01.dbf ' size 500m
Tablespace altered.
STEP 9: Create temporary tablespace
SQL> CREATE TEMPORARY tablespace temp
tempfile 'C:\%ORACLE_HOME%\rose\tmp01.tmp ' size 100m
Tablespace created.
Step 10: add log files Group
SQL>alter database
add logfile
group 2 'C:\%ORACLE_HOME%\rose\log06.log' SIZE 25M,
group 3 'C:\>ORACLE_HOME%\
Step 11:NOW RUN
SQL>@%ORACLE_HOME%\rdbms\admin\CATALOG.SQL
SQL>@%ORACLE_HOME%\rdbms\admin\CATAPROC.SQL
DONE .......
any mistake is there or u wanna give any suggestion so please write to me ............
No comments:
Post a Comment