Home » RDBMS Server » Server Administration » how to create a new database ( i am a new user)
how to create a new database ( i am a new user) [message #369559] Sun, 22 October 2000 04:47 Go to next message
DEXTER
Messages: 2
Registered: October 2000
Junior Member
how do i create a new database in my system , i am using oracle 8.0.5 on linux 6.2
Re: how to create a new database ( i am a new user) [message #369573 is a reply to message #369559] Thu, 26 October 2000 12:27 Go to previous message
Salman Khan
Messages: 51
Registered: September 2000
Member
Its very to create.

Create a new Linux user and assign a DBA group.
Put a new SID in your .profile and all oracle env.
Get a init.ora file (its came with oracle and you can find it in your $ORACLE_HOME/dbs/, copy this file with like this initNEWSID.ora (NewSID is your new sid name) change in file initSID control file name and location and change dbname from it.

and then use follow the steps

Step 1. svrmgrl
Step 2. connect internal
Step 3. startup pfile=$ORALCE_HOME/dbs/initNEWSID.ora nomount
Step 3. CHANGE THE BELOW STATMENT ACCORING TO YOUR FILESYSTEM OR DIRECTORY STRUCTURE.

create database NEWDB
DATAFILE
'/usr/skhan/oracle/oradata/system1.dbf' size 25M
LOGFILE
GROUP 1 ('/usr/skhan/oracle/oradata/redoTEST1a.log',
'/usr/skhan/oracle/oradata/redoTEST1b.log')
size 500K,
GROUP 2 ('/usr/skhan/oracle/oradata/redoTEST2a.log',
'/usr/skhan/oracle/oradata/redoTEST2b.log') size 500K
character set WE8ISO8859P1;
Previous Topic: Re: profile
Next Topic: slow insert statement
Goto Forum:
  


Current Time: Sat Apr 27 03:17:45 CDT 2024