creating one more database. [message #176197] |
Wed, 07 June 2006 05:33 |
shahnazurs
Messages: 240 Registered: June 2005 Location: India
|
Senior Member |
|
|
Dear Friends,my m/c has oracle 9i release 2 installed on windows xp.I want to create one more database with out any wizard,can you please assist in that
|
|
|
|
|
|
Re: creating one more database. [message #176606 is a reply to message #176197] |
Thu, 08 June 2006 21:31 |
hmatijaca
Messages: 2 Registered: April 2005
|
Junior Member |
|
|
Here we go a script for oracle 10G creating databases using a script, just of course modify it and make sure that ORACLE_SID is set
startup nomount pfile=/u01/app/oracle/product/10GR2/dbs/initHELT.ora
create database HELT
user sys identified by manager
user system identified by manager
controlfile reuse
maxdatafiles 500
maxinstances 2
maxlogfiles 30
datafile '/backup/oracle/HELT/system01.dbf' size 400M
sysaux datafile '/backup/oracle/HELT/sysaux.dbf' size 100M
default tablespace USERS datafile '/backup/oracle/HELT/data.dbf' size 20M
default temporary tablespace TEMP tempfile '/backup/oracle/HELT/temp.dbf' size
M
undo tablespace UNDOTBS1 datafile '/backup/oracle/HELT/undo.dbf' size 30M
character set UTF8
logfile
group 1 ('/backup/oracle/HELT/log_g1_m1.dbf') size 400M,
group 2 ('/backup/oracle/HELT/log_g1_m2.dbf') size 400M,
group 3 ('/backup/oracle/HELT/log_g1_m3.dbf') size 400M
|
|
|