/  99
The Cuddletech SAs Guide to Oracle
Ben Rockwood
Draft: Feb 10th, 2005
1
This book is dedicated to the memory of my hero, Bob Larson, who gave
more to the UNIX community than most will ever know.
Contents
1 Introduction
5
1.1 The Relational Model. . . . . . . . . . . . . . . . . . . . . . . .
6
1.2 Play Along at Home. . . . . . . . . . . . . . . . . . . . . . . . .
7
2 Installation and the OFA
9
2.1 UNIX Users and Groups. . . . . . . . . . . . . . . . . . . . . . .

9 2.2 EnvironmentalVars. . . . . . . . . . . . . . . . . . . . . . . . . 10 2.3 FileLocations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.4 MemoryParameters. . . . . . . . . . . . . . . . . . . . . . . . . 11 2.5 TroubleshootingLogs. . . . . . . . . . . . . . . . . . . . . . . . . 11 2.6 Steps for installation. . . . . . . . . . . . . . . . . . . . . . . . . 11

3 Oracle Basics
13

3.1 Create a database. . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2 Connect and Startup. . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3 Create a table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.4 Add data to a table. . . . . . . . . . . . . . . . . . . . . . . . . 17 3.5 Create an index. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.6 Query the table. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.7 Creating and Querying a View. . . . . . . . . . . . . . . . . . . 18 3.8 Destroying Schema Objects. . . . . . . . . . . . . . . . . . . . . 18 3.9 Stopping the database. . . . . . . . . . . . . . . . . . . . . . . . 19 3.10 Destroy the database. . . . . . . . . . . . . . . . . . . . . . . . . 19

4 Poking around inside Oracle
21

4.1 The Data Dictionary. . . . . . . . . . . . . . . . . . . . . . . . . 23 4.2 Essential System Tables. . . . . . . . . . . . . . . . . . . . . . . 23 4.3 The Dollar Views. . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.4 A word about STATSPACK. . . . . . . . . . . . . . . . . . . . . 24

5 Files and Componants
26

5.1 DatabaseFiles. . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 5.2 InitializationParameters. . . . . . . . . . . . . . . . . . . . . . . 27 5.3 OracleStartup. . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

2

Sections

show all« prev | next »

Share & Embed

More from this user

Add a Comment

Characters: ...