0% found this document useful (0 votes)
31 views

Creating Database Manually in 10 G: Bikash Kumar

The document provides steps to manually create an Oracle database named "Bik" including creating folders for database files, editing the initialization parameter file (pfile) with database configuration details, using Oracle Database Configuration Assistant (Oracle DBCA) to create the database instance, and executing SQL commands to create the control files, data files, redo log files, tablespaces and temp files.

Uploaded by

Bikash Karn
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

Creating Database Manually in 10 G: Bikash Kumar

The document provides steps to manually create an Oracle database named "Bik" including creating folders for database files, editing the initialization parameter file (pfile) with database configuration details, using Oracle Database Configuration Assistant (Oracle DBCA) to create the database instance, and executing SQL commands to create the control files, data files, redo log files, tablespaces and temp files.

Uploaded by

Bikash Karn
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Bikash kumar

Creating Database Manually in 10 G


Step 1 Create a folder with database name. E.g.

Bik
Step

Create eight folders inside it. E.g. Cdump Bdump Udump Data Pfile Archive

Adump Step !

dbflash

Copy "ra#le $file %init.ora& to your pfile. Step ' Make #hanges in your pfile like( Db)name* your database name Ba#kground)dump)dest* +ddress of bdump Core)dump)dest*+ddress of #dump ,ser)dump)dest* +ddress of udump Db)#reate)file)dest* +ddress of data Db)re#o-ery)file)dest* +ddress of dbflash +udit)file)dest* +ddress of adump Step . Change the address of Control file Suppose your database is in C Dri-e then do like (( #ontrol)files* %/C01bik1data1C"234"501.C35/6 /C01bik1data1C"234"50 .C35/& Change 7nstan#e)name*Bik Step 8 Go to #ommand prompt

Bikash kumar

Bikash kumar
C 09: Set ora#le)sid*bik C 09: oradim ;new ;sid bik ;intpwd bik ;startmode auto ;pfile #01bik1pfile1init.ora "ptional 3o delete this ser-i#e C 01: oradim ;delete ;Sid Bik C 09: s<lplus 9nolog S<l: #onn 9as sysdba Conne#ted to an idle instan#e. S<l: startup nomount pfile* #01bik1pfile1init.ora "4+C5E instan#e started. 3otal System Global +rea 1!.!!==8= bytes >i?ed Si@e '.!'A bytes Bariable Si@e 10A0.1A0' bytes Database Buffers .18.= ' bytes 4edo Buffers 88C8'= bytes S<l: Create database bik :logfile !:G4",$ 1 %D#01bik1data1log01.rdoD& S7EE 1.M6 ':G4",$ %D#01bik1data1log0 .rdoD& S7EE 1.M6 .:G4",$ ! %D#01bik1data1log0!.rdoD& S7EE 1.M 8:datafile D#01bik1data1system01.dbfD S7EE 00M C:sysau? datafile D#01bik1data1sysau?01.dbfD si@e 100m =:undo tablespa#e ,2D"3BS1 A:datafile D#01bik1data1,2D"3BS1.dbfD S7EE '0M 10:default temporary tablespa#e 3EM$ 11:tempfile D#01bik1data1temp01.dbfD S7EE 0M 1 :e?tent management lo#al uniform si@e 1 =k 1!:#hara#ter set +5! ,3>= 1':national #hara#ter set +518,3>18 1.:set time)@one * D+meri#a92ew)ForkD G S<l: HC01ora#le1produ#t110. .01db)114DBMS1+DM721#atalog.s<l S<l:HC01ora#le1produ#t110. .01db)114DBMS1+DM721#atpro#.s<l S<l: Create 3ablespa#e users datafile I#01bik1data1users01.dbfJ si@e 100mG S<l: #reate spfile from pfile*J#01bik1pfile1init.oraJG

Bikash kumar

You might also like