TEST
Powered by Blogger.
Responsive Ad
Responsive Ad

Author Profile

About Me

Start Sharing

Start Sharing

Drive Traffic on Social Platforms

Blog Archive

Blog Journey

Blog Journey

Learn how to start a perfect Blog

Work Smart, Not Hard - Let's See

Make your Blogging experience faster and easiest …
Work Smart, Not Hard - Let's See
Design by - Blogger Templates | Distributed by Free Blogger Templates

Made with Love by

Material UI Template is Designed Theme for Giving Enhanced look Various Features are available Whic…

Random Posts

Ads Section

HOME > > Create Database manually for File System Storage Mechanism on Linux/Solaris

Create Database manually for File System Storage Mechanism on Linux/Solaris

Anup - Monday, 16 May 2011

Step 1 Create a initSID.ora (Example: initTEST.ora) file in $ORACLE_HOME/dbs/ directory.

Example: $ORACLE_HOME/dbs/initTEST.ora

Put following entry in initTEST.ora file

background_dump_dest=
core_dump_dest=
user_dump_dest=
control_files = (/control1.ctl, /control2.ctl,//control3.ctl) 
undo_management = AUTO
undo_tablespace = UNDOTBS1
db_name = TEST
db_block_size = 8192
sga_max_size = 1073741824
sga_target = 1073741824

Step 2 Create a password file

$ORACLE_HOME/bin/orapwd file=$ORACLE_HOME/dbs/pwd.ora password= entries=5

Step 3 Set your ORACLE_SID

$ export ORACLE_SID=test
$ export ORACLE_HOME=/

Step 4 Run the following sqlplus command to connect to the database and startup the instance.

$sqlplus '/ as sysdba'

SQL> startup nomount

Step 5 Create the Database. Use following scripts

create database test
logfile group 1 ('/redo1.log') size 100M,
group 2 ('/redo2.log') size 100M,
group 3 ('/redo3.log') size 100M
character set WE8ISO8859P1
national character set utf8
datafile '/system.dbf' size 500M autoextend on next 10M maxsize unlimited extent management local
sysaux datafile '/sysaux.dbf' size 100M autoextend on next 10M maxsize unlimited
undo tablespace undotbs1 datafile '/undotbs1.dbf' size 100M
default temporary tablespace temp tempfile '/temp01.dbf' size 100M;

Step 6 Run the scripts necessary to build views, synonyms, etc.:

CATALOG.SQL-- creates the views of data dictionary tables and the dynamic performance views.
CATPROC.SQL-- establishes the usage of PL/SQL functionality and creates many of the PL/SQL Oracle supplied packages.

Contact me

Get in Touch

Need to get touch with me? Please fill out the form with your enquiry.

Name
Anup Srivastav
Address
Lucknow - Utter Pradesh
Email
myindiandba@gmail.com
Message me