Foreword |
|
xi | |
About the Authors |
|
xv | |
About the Technical Reviewer |
|
xxi | |
Introduction |
|
xxiii | |
Chapter 1 A Brief History of Oracle |
|
1 | (70) |
|
Before the Relational Model |
|
|
5 | (3) |
|
Early RDBMS Implementations |
|
|
8 | (3) |
|
|
9 | (2) |
|
|
11 | (12) |
|
Rule 1: The Information Rule |
|
|
12 | (1) |
|
Rule 2: Guaranteed Access Rule |
|
|
12 | (1) |
|
Rule 3: Systematic Treatment of Null Values |
|
|
13 | (2) |
|
Rule 4: Dynamic On-Line Catalog |
|
|
15 | (1) |
|
Rule 5: Comprehensive Data Sublanguage |
|
|
16 | (1) |
|
Rule 6: View Updating Rule |
|
|
17 | (1) |
|
Rule 7: High-level Insert, Update, and Delete |
|
|
18 | (1) |
|
Rule 8: Physical Data Independence |
|
|
18 | (1) |
|
Rule 9: Logical Data Independence |
|
|
19 | (1) |
|
Rule 10: Integrity Independence |
|
|
19 | (1) |
|
Rule 11: Distribution Independence |
|
|
20 | (2) |
|
Rule 12: Nonsubversion Rule |
|
|
22 | (1) |
|
|
23 | (5) |
|
|
23 | (1) |
|
|
24 | (2) |
|
|
26 | (2) |
|
Early Days, Key Decisions |
|
|
28 | (7) |
|
The Rule Based Optimizer (RBO) |
|
|
32 | (1) |
|
|
33 | (2) |
|
Evolution of Expectation of Ease |
|
|
35 | (4) |
|
Outriders Become Insiders |
|
|
39 | (1) |
|
|
40 | (28) |
|
Version 4: Portability Across Platforms |
|
|
41 | (4) |
|
Version 5: Subqueries, Tools, and SQL*Net |
|
|
45 | (3) |
|
Version 6: First Steps Towards Scalability |
|
|
48 | (7) |
|
Version 7: A More Active Database |
|
|
55 | (3) |
|
Version 8: Partitioning and Object Support |
|
|
58 | (4) |
|
Version 9: Real Application Clusters (RAC) |
|
|
62 | (4) |
|
Version 10: Grid Computing and Manageability |
|
|
66 | (2) |
|
A Briefer Technical History of Oracle |
|
|
68 | (1) |
|
|
69 | (2) |
Chapter 2 You Probably Don't Tune Right |
|
71 | (24) |
|
Correct Instrumentation Is Key |
|
|
76 | (14) |
|
It's All a Question of Focus |
|
|
79 | (1) |
|
|
80 | (2) |
|
|
82 | (1) |
|
|
83 | (1) |
|
|
84 | (1) |
|
The Wild West Systems: VMS, UNIX, Windows |
|
|
85 | (1) |
|
|
86 | (4) |
|
|
90 | (3) |
|
|
90 | (1) |
|
Proprietary UNIX Is also Dying |
|
|
91 | (1) |
|
Linux and Windows Are on the Rise |
|
|
91 | (1) |
|
|
92 | (1) |
|
|
93 | (2) |
Chapter 3 Waste Not, Want Not |
|
95 | (44) |
|
|
99 | (4) |
|
|
102 | (1) |
|
|
103 | (8) |
|
Back to the Problem Application |
|
|
106 | (1) |
|
A Closer Look at the Trace Files |
|
|
107 | (2) |
|
|
109 | (2) |
|
The Reference Code Dumping Ground |
|
|
111 | (7) |
|
Problem 1: Lookup Function Pervasion |
|
|
112 | (2) |
|
Problem 2: The Loss of Domain |
|
|
114 | (3) |
|
Problem 2a: The Loss of Domain for Validation |
|
|
117 | (1) |
|
|
118 | (1) |
|
Parsing Proliferation: From XML to Oracle |
|
|
118 | (12) |
|
|
119 | (1) |
|
|
120 | (5) |
|
|
125 | (5) |
|
|
130 | (7) |
|
|
130 | (2) |
|
|
132 | (5) |
|
|
137 | (2) |
Chapter 4 Why I Invented YAPP |
|
139 | (16) |
|
Discovering the Wait Interface |
|
|
141 | (4) |
|
Documenting the Wait Events |
|
|
142 | (1) |
|
Back to Oracle Parallel Server |
|
|
143 | (2) |
|
|
145 | (5) |
|
|
146 | (1) |
|
The Birth of Tuning by Response Time |
|
|
147 | (3) |
|
The Birth of YAPP Methodology |
|
|
150 | (1) |
|
|
150 | (1) |
|
The Wait Interface in the Mainstream |
|
|
151 | (1) |
|
|
152 | (1) |
|
|
153 | (2) |
Chapter 5 Extended SQL Trace Data |
|
155 | (28) |
|
|
157 | (1) |
|
|
158 | (4) |
|
|
162 | (2) |
|
|
164 | (12) |
|
|
164 | (2) |
|
|
166 | (3) |
|
|
169 | (2) |
|
|
171 | (1) |
|
|
172 | (2) |
|
|
174 | (2) |
|
|
176 | (2) |
|
Diagnosis Beyond the Database |
|
|
178 | (2) |
|
|
180 | (2) |
|
|
182 | (1) |
Chapter 6 Direct Memory Access |
|
183 | (26) |
|
|
185 | (9) |
|
|
186 | (2) |
|
|
188 | (2) |
|
m2 and Direct Memory Access |
|
|
190 | (2) |
|
|
192 | (2) |
|
|
194 | (12) |
|
|
195 | (11) |
|
DMA in Action: Reading Buffer Cache Handles |
|
|
206 | (1) |
|
|
206 | (1) |
|
|
207 | (2) |
Chapter 7 Compulsive Tuning Disorder |
|
209 | (48) |
|
|
212 | (5) |
|
Why Do People Suffer from CTD? |
|
|
214 | (1) |
|
Oracle 10g Automatic SGA Tuning: An Oasis for a CTD Sufferer |
|
|
215 | (1) |
|
Are You DBA Survivor Material? |
|
|
216 | (1) |
|
It Is Time to Get Logical |
|
|
217 | (1) |
|
Logical Performance Optimization |
|
|
218 | (2) |
|
The Oracle Wait Interface |
|
|
220 | (3) |
|
|
220 | (1) |
|
V$SESSION_WAIT: The Goldmine of Symptoms |
|
|
221 | (2) |
|
|
223 | (11) |
|
The Concept of a Wait Class |
|
|
223 | (3) |
|
V$ACTIVE_SESSION_HISTORY: The New Diagnostic Data Source |
|
|
226 | (4) |
|
V$EVENT_HISTOGRAM: Wait Event Data Distribution |
|
|
230 | (2) |
|
Oracle 10g DBMS_MONITOR: The New Frontier in Session Tracing |
|
|
232 | (2) |
|
The 2-pronged Methodology: The Cure for CTD |
|
|
234 | (17) |
|
Set Reasonable Performance Goals |
|
|
236 | (1) |
|
Measure and Document Current Performance |
|
|
236 | (1) |
|
Identifying the Bottlenecks within Oracle: Prong I |
|
|
237 | (4) |
|
Using Prong I: A Simple Yet Powerful Example |
|
|
241 | (6) |
|
Identifying the OS Bottlenecks: Prong II |
|
|
247 | (4) |
|
|
251 | (4) |
|
|
251 | (2) |
|
|
253 | (2) |
|
|
255 | (1) |
|
|
255 | (2) |
Chapter 8 New Releases and Big Projects |
|
257 | (40) |
|
|
260 | (1) |
|
|
260 | (7) |
|
Rapid Application Development |
|
|
262 | (1) |
|
|
263 | (1) |
|
|
264 | (3) |
|
|
267 | (2) |
|
|
268 | (1) |
|
|
269 | (6) |
|
|
269 | (1) |
|
|
270 | (3) |
|
|
273 | (1) |
|
|
274 | (1) |
|
Two Nodes: Using OPS in Anger |
|
|
275 | (3) |
|
|
276 | (2) |
|
|
278 | (8) |
|
|
279 | (1) |
|
|
280 | (6) |
|
More Trouble at the WANch |
|
|
286 | (2) |
|
|
286 | (1) |
|
Centralized Client/Server |
|
|
287 | (1) |
|
|
287 | (1) |
|
A Multi-Prong Attack on OPS |
|
|
288 | (6) |
|
|
289 | (1) |
|
Bigfoot: Splitting the Rental Users |
|
|
290 | (1) |
|
|
291 | (1) |
|
|
292 | (2) |
|
|
294 | (1) |
|
Putting the Project to Bed |
|
|
295 | (2) |
Chapter 9 Testing and Risk Management |
|
297 | (40) |
|
|
301 | (1) |
|
|
302 | (3) |
|
|
302 | (1) |
|
|
303 | (2) |
|
|
305 | (2) |
|
|
307 | (1) |
|
|
308 | (10) |
|
|
308 | (1) |
|
|
309 | (3) |
|
|
312 | (1) |
|
|
313 | (1) |
|
Design for the Rule Rather Than the Exception |
|
|
314 | (1) |
|
|
314 | (1) |
|
Work with the Product, Not Against It |
|
|
315 | (1) |
|
|
316 | (1) |
|
|
316 | (2) |
|
|
318 | (8) |
|
Changes in Performance and Resource Usage |
|
|
324 | (1) |
|
|
325 | (1) |
|
|
325 | (1) |
|
|
326 | (1) |
|
|
326 | (7) |
|
|
327 | (2) |
|
|
329 | (1) |
|
|
329 | (3) |
|
|
332 | (1) |
|
|
332 | (1) |
|
|
333 | (1) |
|
|
334 | (1) |
|
|
335 | (2) |
Chapter 10 Design Disasters |
|
337 | (40) |
|
|
339 | (1) |
|
|
340 | (35) |
|
|
341 | (24) |
|
Data Extract to Warehouse |
|
|
365 | (3) |
|
|
368 | (2) |
|
Testing, Tuning, and Troubleshooting |
|
|
370 | (5) |
|
|
375 | (2) |
Chapter 11 Bad CaRMa |
|
377 | (20) |
|
|
380 | (1) |
|
|
380 | (13) |
|
|
382 | (2) |
|
The Data-Driven Application |
|
|
384 | (1) |
|
When It's Not Right, You Know It ... or Not? |
|
|
385 | (4) |
|
|
389 | (3) |
|
|
392 | (1) |
|
|
393 | (1) |
|
|
394 | (3) |
Appendix Join the BAARF Party (or Not) |
|
397 | (10) |
|
|
397 | (2) |
|
|
399 | (2) |
|
|
401 | (1) |
|
|
401 | (1) |
|
|
402 | (5) |
Index |
|
407 | |