0% found this document useful (0 votes)
36 views1 page

Oracle 10gr2 Minimal

This document contains instructions for creating an Oracle database named "test" including: creating a password file; specifying control files, undo management, and tablespaces; defining logfiles, datafiles, and tempfiles; and showing minimal commands to create the database.

Uploaded by

malru
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views1 page

Oracle 10gr2 Minimal

This document contains instructions for creating an Oracle database named "test" including: creating a password file; specifying control files, undo management, and tablespaces; defining logfiles, datafiles, and tempfiles; and showing minimal commands to create the database.

Uploaded by

malru
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

control_files = (/path/to/control1.ctl,/path/to/control2.ctl,/path/to/control3.

ctl)
undo_management = AUTO
undo_tablespace = UNDOTBS1
db_name = test
db_block_size = 8192
sga_max_size = 1073741824 #one gig
sga_target = 1073741824 #one gig

Create a password file


$ORACLE_HOME/bin/orapwd file=$ORACLE_HOME/dbs/pwd<sid>.ora password=oracle entries=5
Create the database
create database test
logfile group 1 ('/path/to/redo1.log') size 100M,
group 2 ('/path/to/redo2.log') size 100M,
group 3 ('/path/to/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/path/to/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/path/to/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/path/to/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/path/to/temp01.dbf' size 100M;
Note: there's some other things you can do here, like "ARCHIVELOG" "SET TIME_ZONE =" and "USER SYS IDENTIFIED BY
password" and "USER SYSTEM IDENTIFIED BY password"
Create the database
create database test
character set WE8ISO8859P1
national character set utf8
undo tablespace undotbs1
default temporary tablespace temp;
You can even do this and it will work, the ultimate in minimalism:
create database test;

You might also like