Home > Ask the Oracle Database / Applications Experts > Oracle database design and architecture Questions & Answers > Database installation for beginners
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Database installation for beginners

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 25 November 2002

I am studying Oracle 9i on my own. I have never studied Oracle before, and I am having lots of doubts. I bought the Oracle Press Database Fundamentals I guide, but I guess it's for experenced DBAs. I want to create a database manually using personal Oracle 9i on Windows 2000. The following are some of my doubts:

1) How to configure envionment settings -- the book says some items needed to be set up in the machine configuration file or user configuration files. How do I go about it if I already have a database.

2) How to decide on your instance identifier (DB_NAME AND SID) before creating the database manually?

3) Where can I find catalog.sql and catproc.sql, and how do I run them?

4) For creating a database, do I have to connect as sys or system user?

5) How do I take backups?

I will be glad if you help me with my queries, and could you please suggest to me any books for beginners like me?



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Oracle database design and architecture
Can I download DBCA for Oracle Express Edition?
How to recreate an Oracle index in a new schema with the CREATE command
Using Oracle Universal Installer to install Oracle with Pro*C
Defining Oracle database repository vs. information repository
Can I create multiple schemas in Oracle for one user?
ORA-12514 error when connecting to the Oracle database through Toad
Solving the ORA-00904 error: invalid identifier in Oracle
How to tune SQL UPDATE statements for an Oracle 10g upgrade
Will queries run slower in a smaller Oracle buffer cache?
Using a database link to connect two Oracle apps instances

Oracle database design and architecture
Can I download DBCA for Oracle Express Edition?
How to recreate an Oracle index in a new schema with the CREATE command
Using Oracle Universal Installer to install Oracle with Pro*C
Defining Oracle database repository vs. information repository
Can I create multiple schemas in Oracle for one user?
ORA-12514 error when connecting to the Oracle database through Toad
Solving the ORA-00904 error: invalid identifier in Oracle
How to tune SQL UPDATE statements for an Oracle 10g upgrade
Will queries run slower in a smaller Oracle buffer cache?
Using a database link to connect two Oracle apps instances

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
E. F. Codd  (SearchOracle.com)
extent  (SearchOracle.com)
flexfield  (SearchOracle.com)
foreign key  (SearchOracle.com)
multidimensional database  (SearchOracle.com)
object-oriented database management system  (SearchOracle.com)
quad tree  (SearchOracle.com)
relational online analytical processing  (SearchOracle.com)
row  (SearchOracle.com)
splay tree  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


1)You answer to this question all depends on your platform. The Oracle documentation contains a section on platform specific information. I highly suggest you read this material to answer this question.

2) If you don't want to change anything, you can go with the default SID of "ORCL". The DB_NAME should be the same as the SID.

In the real world, we tend to give the SID a meaningful name. In our installation, we name the SID something meaningful which describes the database function. Then, we append one of the following: "P" for production databases, "D" for development databases, and "T" for test databases.

3) CATALOG and CATPROC are in the $ORACLE_HOME/rdbms/admin directory. You can run them by signing on to the database as SYS and issuing the following commands in SQL*Plus:

@$ORACLE_HOME/rdbms/admin/catalog
@$ORACLE_HOME/rdbms/admin/catproc
If you use the Database Configuration Assistant (DBCA) to create your database (highly recommended), then it will run these scripts for you.

4) You must connect as SYS AS SYSDBA to create the database. Or, you can CONNECT / AS SYSDBA. This is the same thing. You cannot connect as SYSTEM and create the database.

5) Backups and recovery is a complex topic that requires lots of study. The simplest thing to do is to bring down the database (SHUTDOWN IMMEDIATE), then backup the file system(s) that contain the database datafiles. You can use whatever backup method you want.

Here are a few books that I would recommend for beginners. Both can be found on Oracle Press:

Oracle Complete Reference by Koch & Loney
Oracle DBA Handbook by Loney

For More Information




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts