Professional Documents
Culture Documents
Go to D: drive right click and select new folder and rename it as oracle
Go into “oracle” and do the same thing and now rename it as “databases” and inside “databases”
create “ora10” and like this so on….required folders in GUI..
D:\oracle\product\10.2.0>set ORACLE_SID=HOTL
On Windows, each instance requires a Windows service. This service must first be created with oradim :
We have to copy that into initnag.ora and modify the meters in the parameters in the file according to
our environment
Bdump=d: /oracle/databases/ora10/admin/bdump
Cdump= d: /oracle/databases/ora10/admin/cdump
Udump= d: /oracle/databases/ora10/admin/udump
Control_files = (d:\oracle\databases\ora10\control01.ora,
d:\oracle\databases\ora10\control02.ora)
undo_management = auto
db_name = HOTL
db_block_size = 8192
Now we have to make the directories
d:\oracle\databases\ora10\control01.ora
d:\oracle\databases\ora10\control02.ora
SQL>
Now we have to create database (datafiles, redolog files) by creating a new controlfile in this step.
SQL>
datafile 'D:\oracle\databases\ora10\system.dbf'
size 50M
autoextend on
size 10M
autoextend on
next 10M
maxsize unlimited
datafile 'D:\oracle\databases\ora10\undo.dbf'
size 10M
tempfile 'D:\oracle\databases\ora10\temp.dbf'
size 10M;
NAME OPEN_MODE
---- ----------
NAG READ_WRITE
INSTANCE_NAME STATUS
--------------- -------
NAG OPEN
***From the above 2 steps we got to know database is open for all connections and operations