Optimizing Oracle Performance
暫譯: 優化 Oracle 性能

Cary Millsap, Jeff Holt

  • 出版商: O'Reilly
  • 出版日期: 2003-10-21
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 388
  • 裝訂: Paperback
  • ISBN: 059600527X
  • ISBN-13: 9780596005276
  • 相關分類: Oracle
  • 已過版

買這商品的人也買了...

商品描述

Oracle DBAs and developers are all too familiar with the outlay of time and resources, blown budgets, missed deadlines, and marginally effective performance fiddling that is commonplace with traditional methods of Oracle performance tuning. In Optimizing Oracle Performance, Cary Millsap, former VP of Oracle's System Performance Group, clearly and concisely explains how to use Oracle's response time statistics to diagnose and repair performance problems. Cary also shows how "queueing theory" can be applied to response time statistics to predict the impact of upgrades and other system changes. The price of this essential book will be paid back in hours saved the first time its methods are used.

Table of Contents

Foreword

Preface


Part I. Method

1. A Better Way to Optimize

     "You're Doing It Wrong"

     Requirements of a Good Method

     Three Important Advances

     Tools for Analyzing Response Time

     Method R

2. Targeting the Right User Actions

     Specification Reliability

     Making a Good Specification

     Specification Over-Constraint

3. Targeting the Right Diagnostic Data

     Expectations About Data Collection
     Data Scope

     Oracle Diagnostic Data Sources

     For More Information

4. Targeting the Right Improvement Activity

     A New Standard of Customer Care

     How to Find the Economically Optimal Performance Improvement Activity

     Making Sense of Your Diagnostic Data

     Forecasting Project Net Payoff


Part II. Reference

5. Interpreting Extended SQL Trace Data

     Trace File Walk-Through

     Extended SQL Trace Data Reference

     Response Time Accounting

     Evolution of the Response Time Model

     Walking the Clock

     Forward Attribution

     Detailed Trace File Walk-Through

     Exercises

6. Collecting Extended SQL Trace Data

     Understanding Your Application

     Activating Extended SQL Trace

     Finding Your Trace File(s)

     Eliminating Collection Error

     Exercises

7. Oracle Kernel Timings

     Operating System Process Management

     Oracle Kernel Timings

     How Software Measures Itself

     Unaccounted-for Time

     Measurement Intrusion Effect

     CPU Consumption Double-Counting

     Quantization Error

     Time Spent Not Executing

     Un-Instrumented Oracle Kernel Code

     Exercises

8. Oracle Fixed View Data

     Deficiencies of Fixed View Data

     Fixed View Reference

     Useful Fixed View Queries

     The Oracle "Wait Interface"

     Exercises

9. Queueing Theory for the Oracle Practitioner

     Performance Models

     Queueing

     Queueing Theory

     The M/M/m Queueing Model

     Perspective

     Exercises


Part III. Deployment

10. Working the Resource Profile

     How to Work a Resource Profile

     How to Forecast Improvement

     How to Tell When Your Work Is Done

11. Responding to the Diagnosis

     Beyond the Resource Profile

     Response Time Components

     Eliminating Wasteful Work

     Attributes of a Scalable Application

12. Case Studies

     Case 1: Misled by System-Wide Data

     Case 2: Large CPU Service Duration

     Case 3: Large SQL*Net Event Duration

     Case 4: Large Read Event Duration

     Conclusion


Part IV. Appendixes

A. Glossary

B. Greek Alphabet

C. Optimizing Your Database Buffer Cache Hit Ratio

D. M/M/m Queueing Theory Formulas

E. References


Index

商品描述(中文翻譯)

Oracle 的資料庫管理員和開發人員對於傳統的 Oracle 性能調整方法所需的時間和資源、超支的預算、錯過的截止日期以及邊際效益不彰的性能調整都非常熟悉。在《Optimizing Oracle Performance》一書中,前 Oracle 系統性能小組副總裁 Cary Millsap 清楚且簡明地解釋了如何使用 Oracle 的響應時間統計數據來診斷和修復性能問題。Cary 還展示了如何將「排隊理論」應用於響應時間統計,以預測升級和其他系統變更的影響。這本必備書籍的價格將在首次使用其方法時節省的時間中得到回報。

目錄

前言

序言

第一部分 方法
1. 更好的優化方法
'你做錯了'
良好方法的要求
三個重要的進展
分析響應時間的工具
方法 R

2. 瞄準正確的用戶行為
規範的可靠性
如何制定良好的規範
規範過度約束

3. 瞄準正確的診斷數據
關於數據收集的期望
數據範圍
Oracle 診斷數據來源
更多資訊

4. 瞄準正確的改進活動
客戶關懷的新標準
如何找到經濟上最佳的性能改進活動
理解你的診斷數據
預測項目的淨收益

第二部分 參考
5. 解釋擴展 SQL 追蹤數據
追蹤文件逐步解析
擴展 SQL 追蹤數據參考
響應時間會計
響應時間模型的演變
時間走動
向前歸因
詳細的追蹤文件逐步解析
練習

6. 收集擴展 SQL 追蹤數據
理解你的應用程式
啟用擴展 SQL 追蹤
找到你的追蹤文件
消除收集錯誤
練習

7. Oracle 核心計時
作業系統進程管理
Oracle 核心計時
軟體如何自我測量
未計算的時間
測量干擾效應
CPU 消耗的雙重計算
量化誤差
未執行的時間
未儀器化的 Oracle 核心代碼
練習

8. Oracle 固定視圖數據
固定視圖數據的缺陷
固定視圖參考
有用的固定視圖查詢
Oracle 的「等待介面」
練習

9. Oracle 實踐者的排隊理論
性能模型
排隊
排隊理論
M/M/m 排隊模型
觀點
練習

第三部分 部署
10. 處理資源配置
如何處理資源配置
如何預測改進
如何判斷你的工作是否完成

11. 對診斷的回應
超越資源配置
響應時間組件
消除浪費的工作
可擴展應用程式的特徵

12. 案例研究
案例 1: 被系統範圍數據誤導
案例 2: 大型 CPU 服務持續時間
案例 3: 大型 SQL*Net 事件持續時間
案例 4: 大型讀取事件持續時間
結論

第四部分 附錄
A. 詞彙表

B. 希臘字母

C. 優化你的資料庫緩衝區命中率

D. M/M/m 排隊理論公式

E. 參考文獻

索引