Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
13Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Oracle DBA Concise Handbook

Oracle DBA Concise Handbook

Ratings: (0)|Views: 222 |Likes:
Published by nag4uhyd

More info:

Published by: nag4uhyd on Nov 08, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/18/2013

pdf

text

original

 
Oracle DBA Concise Handbook - 1 -
 
ORACLEDBACONCISEHANDBOOK
Covers 9i to 11gBy
Saikat Basak
© Ensel Softwarewww.enselsoftware.com Last updated May 2009
 
Oracle DBA Concise Handbook - 2 -
ContentsINTRODUCTION...............................................................................................5
 
1
 
ORACLE SERVER AN OVERVIEW...................................................6
 
1.1
 
L
OGICAL STRUCTURE
.............................................................................6
 
1.2
 
O
RACLE MEMORY STRUCTURE
...............................................................6
 
1.3
 
B
ACKGROUND PROCESSES
......................................................................8
 
1.4
 
I
NSTALLING AND MANAGING
O
RACLE DATABASE
................................11
 
1.5
 
O
RACLE
M
ANAGED
F
ILES
(OMF)........................................................11
 
1.6
 
C
REATING A NEW DATABASE
...............................................................11
 
1.7
 
S
TARTING UP DATABASE INSTANCE
......................................................14
 
1.8
 
S
HUTTING DOWN DATABASE INSTANCE
................................................14
 
1.9
 
C
ONTROL FILE
......................................................................................14
 
1.10
 
R
EDO LOG FILES
...................................................................................16
 
1.11
 
T
ABLE SPACES
......................................................................................19
 
1.12
 
S
EGMENT AND STORAGE STRUCTURES
.................................................22
 
1.13
 
T
ABLES
................................................................................................23
 
1.14
 
I
NDEXES
...............................................................................................24
 
1.15
 
C
ONSTRAINTS
......................................................................................26
 
1.16
 
U
SERS AND SECURITY
..........................................................................28
 
2
 
BACKUP AND RECOVERY..................................................................30
 
2.1
 
I
NTRODUCTION
.....................................................................................30
 
2.2
 
B
ACKUP AND RECOVERY IN NO ARCHIVE LOG MODE
............................30
 
2.3
 
B
ACKUP IN ARCHIVE LOG MODE
...........................................................30
 
2.4
 
U
SER MANAGED COMPLETE RECOVERY
................................................31
 
2.5
 
U
SER MANAGED INCOMPLETE RECOVERY
............................................32
 
2.6
 
L
OGICAL BACKUP
EXPORT
 / 
IMPORT AND
D
ATA
P
UMP
........................32
 
2.7
 
SQL
 
L
OADER
.......................................................................................34
 
2.8
 
N
ETWORKING FUNDAMENTALS
............................................................35
 
2.9
 
L
OG
M
INER
..........................................................................................37
 
2.10
 
R
EAL
A
PPLICATION
C
LUSTERS
(RAC).................................................39
 
2.11
 
S
TANDBY DATABASE
(
ALSO
O
RACLE
D
ATA
G
UARD
)...........................40
 
2.12
 
R
EPLICATION
.......................................................................................40
 
3
 
PERFORMANCE TUNING....................................................................41
 
3.1
 
T
UNING DEVELOPMENT AND PRODUCTION SYSTEMS
............................41
 
3.2
 
S
OURCES OF TUNING INFORMATION
.....................................................41
 
3.3
 
C
OLLECTING STATISTICS
......................................................................42
 
3.4
 
O
RACLE SUPPLIED
GUI
TUNING TOOLS
................................................43
 
3.5
 
SQL
APPLICATION TUNING AND DESIGN
...............................................43
 
3.6
 
O
PTIMIZER
...........................................................................................45
 
 
Oracle DBA Concise Handbook - 3 -3.7
 
T
UNING SHARED POOL
..........................................................................47
 
3.8
 
T
UNING DATABASE BUFFER CACHE
......................................................50
 
3.9
 
S
HARED SERVER
...................................................................................52
 
3.10
 
L
ARGE POOL AND
J
AVA POOL
...............................................................53
 
3.11
 
T
UNING
R
EDO
......................................................................................53
 
3.12
 
T
UNING ARCHIVING OPERATIONS
.........................................................54
 
3.13
 
T
UNING DISK
I/O..................................................................................54
 
3.14
 
T
UNING SORTS
.....................................................................................54
 
3.15
 
T
UNING ROLLBACK SEGMENTS
.............................................................54
 
3.16
 
L
OCKS
..................................................................................................55
 
3.17
 
T
UNING OPERATING SYSTEM
................................................................55
 
3.18
 
A
UTOMATIC
W
ORKLOAD
R
EPOSITORY
(AWR)...................................56
 
3.19
 
A
UTOMATIC
D
ATABASE
D
IAGNOSTIC
M
ONITOR
(ADDM)
AND
SQL
 
T
UNING
A
DVISOR
.............................................................................................56
 
4
 
SQL AND PL/SQL....................................................................................57
 
4.1
 
C
OMPILING PACKAGES
.........................................................................57
 
4.2
 
R
ECORDS AND
T
ABLES
.........................................................................57
 
4.3
 
C
URSOR
...............................................................................................57
 
4.4
 
M
ERGE
,
MULTI
TABLE INSERT AND PIVOT INSERT
..............................58
 
4.5
 
SQL
 
J
OINS
...........................................................................................59
 
4.6
 
U
SEFUL
SQL
FUNCTIONS
.....................................................................59
 
4.7
 
D
YNAMIC
PL/SQL...............................................................................60
 
4.8
 
N
ESTED TABLE
.....................................................................................61
 
4.9
 
E
XTERNAL TABLES
...............................................................................61
 
5
 
DBMS PACKAGES..................................................................................63
 
5.1
 
DBMS_JOB........................................................................................63
 
5.2
 
UTL_FILE..........................................................................................63
 
6
 
USEFUL SCRIPTS FOR DBAS..............................................................65
 
6.1
 
T
O SHOW PRIMARY
 / 
FOREIGN KEY RELATIONSHIPS OF ALL TABLES ANDVIEWS IN A GIVEN SCHEMA
...............................................................................65
 
6.2
 
T
O SEE ALL OBJECTS IN A TABLE SPACE FILE
........................................65
 
6.3
 
W
HICH USER EXECUTING WHAT TYPE OF COMMAND
............................66
 
6.4
 
G
ET OUTPUT OF A QUERY TO A TEXT FILE FROM
SQL
 
P
LUS
..................66
 
6.5
 
T
O SEE SIZE OF YOUR TABLES AND INDEXES
.........................................66
 
6.6
 
T
O SEE FREE SPACES IN TABLE SPACES
.................................................66
 
NEW FEATURES OF 10/11G.........................................................................68
 
7
 
DBA INTERVIEW QUESTIONS...........................................................71
 
7.1
 
O
PEN
-
ENDED QUESTIONS
.....................................................................71
 
7.2
 
T
ECHNICAL QUESTIONS
........................................................................71
 

Activity (13)

You've already reviewed this. Edit your review.
1 hundred reads
trskaran liked this
ankit boxer liked this
Emar Dona liked this
payakkamron liked this
sbabu4u liked this
connecttomeher liked this
kumar_amit_99 liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->