DB2 Developer's Guide, 5/e
暫譯: DB2 開發者指南,第 5 版
Craig S. Mullins
- 出版商: SAMS
- 出版日期: 2004-05-21
- 售價: $3,050
- 貴賓價: 9.5 折 $2,898
- 語言: 英文
- 頁數: 1512
- 裝訂: Paperback
- ISBN: 0672326132
- ISBN-13: 9780672326134
已絕版
買這商品的人也買了...
-
$480$408 -
$1,078Computing Concepts With Java Essentials, 3/e
-
$1,029Operating System Concepts, 6/e (Windows XP Update)
-
$1,250$1,225 -
$590$466 -
$750$638 -
$560$476 -
$850$723 -
$480$379 -
$750$593 -
$780$616 -
$780$663 -
$1,920$1,824 -
$490$382 -
$590$460 -
$490$382 -
$890$703 -
$390$332 -
$1,078Parallel Programming: Techniques and Applications Using Networked Workstations and Parallel Computers, 2/e (Paperback)
-
$650$507 -
$490$417 -
$580$452 -
$320$253 -
$490$387 -
$490$387
相關主題
商品描述
Marketshare for DB2 has been growing steadily over the past 5 years and with the announcement of DB2 Universal Database V8 (T-Rex), the product has never had more momentum. DB2 owns about 30 percent of the database market--the same as Oracle. Not only is the product used in many Fortune 500 companies, but it is becoming very popular in small to medium sized businesses as well. This book provides the reader with a comprehensive reference and research tool for DB2 for the mainframe. Official material is awkwardly written, spans over a dozen manuals in PDF format, and lacks real-world guidance. Author, Craig Mullins, consistently hears from readers of past editions that they rely on this book as their primary reference for DB2. Craig Mullins is constantly being asked when it will support a new release. "This is an excellent book . . . It is chock full of DB2 technical information, design and tuning approaches and database administration guidelines . . .Mullins seems to have dumped his entire DB2 life experience into DB2 Developer's Guide."- Jonathon Sayles in Relational Database Journal
Table of Contents:
Introduction.
I. SQL TOOLS, TIPS, AND TRICKS.
An Overview of SQL. SQL Tools of the Trade. Static SQL. Dynamic SQL. SQL Performance Factors.
A Bag of Tricks. SQL Access Guidelines. Complex SQL Guidelines. Common Table Expressions and Recursion. Working with NULLs. Date and Time Guidelines. Data Modification Guidelines.
Column Functions. Scalar Functions. The RAISE_ERROR Function. MQSeries Built-in Functions. XML Publishing Built-in Functions. Built-in Function Guidelines.
What Is a User-Defined Function? Types of User-Defined Functions. What Is a User-Defined Data Type? User-Defined Data Types and Strong Typing.
An Overview of DB2 Database Objects. DB2 Databases. Creating and Using DB2 Table Spaces. DB2 Storage and STOGROUPs. Table Guidelines. Normalization and Denormalization. Assuring Data Integrity in DB2. Views, Aliases, and Synonyms. Index Guidelines. Naming Conventions. Miscellaneous DDL Guidelines.
Creating Indexes. Index Guidelines.
Online Schema Changes.
What Is a Trigger? Trigger Guidelines.
Defining the Term "Object/Relational". What Is a Large Object? LOB Guidelines. DB2 Extenders.
Granting and Revoking Privileges.
II. DB2 APPLICATION DEVELOPMENT.
Embedded SQL Basics. Embedded SQL Guidelines. Host Variables. Programming with Cursors. Embedded SELECT and Cursor Coding Guidelines. Modifying Data with Embedded SQL. Application Development Guidelines. Batch Programming Guidelines. Online Programming Guidelines. General SQL Coding Guidelines.
Dynamic SQL Performance. Dynamic SQL Guidelines. Reasons You Should Know Dynamic SQL. EXECUTE IMMEDIATE. Non-SELECT Dynamic SQL. Fixed-List SELECT. Varying-List SELECT.
Program Preparation Steps. Running a DB2 Program. Preparing a DB2 Program. What Is a DBRM? What Is a Plan? What Is a Package? What Is a Collection? Versions. Program Preparation Objects. Program Preparation Guidelines. DCLGEN Guidelines. Precompiler Guidelines. BIND Guidelines. Linkage Editor Guidelines.
Developing Applications Using Only SQL. Using Client/Server Programming Languages. Using Fourth-Generation Languages. Using CASE. Using Report Writers. Using ODBC (Call Level Interface). Using Java and DB2. Using REXX and DB2.
What Is a Stored Procedure? Implementing DB2 Stored Procedures. The Procedural DBA. Procedural SQL. DB2 Development Center.
The Classic Role of the DBA. The Role of the Procedural DBA.
The Internet Phenomenon. Accessing DB2 over the Internet. Using XML and DB2. Finding DB2 Information Using the Internet.
III. DB2 IN-DEPTH.
TSO (Time-Sharing Option). CICS (Customer Information Control System). IMS (Information Management System). CAF (Call Attach Facility). RRSAF (Recoverable Resource Manager Services Attach Facility). Comparison of the Environments. The Critical Mass.
Data Sharing Benefits. Data Sharing Requirements. The DB2 Coupling Facility. Data Sharing Naming Conventions. Data Sharing Administration. Data Sharing Application Development Guidelines. Data Sharing Administration Guidelines.
The Physical Storage of Data. What Makes DB2 Tick.
Physical Data Independence. How the Optimizer Works. Filter Factors. Access Path Strategies. Other Operations Performed by the Optimizer. Access Path Strategy Compatibility.
The DB2 Catalog. The DB2 Directory.
How DB2 Manages Locking. Locks Versus Latches. Lock Duration. Table Space Locks. Table Locks. Page Locks. Row Locks. Lock Suspensions, Timeouts, and Deadlocks. Partition Independence. Lock Avoidance. Data Sharing Global Lock Management. LOBs and Locking. DB2 Locking Guidelines. Other DB2 Components. The Big Picture.
IV. DB2 PERFORMANCE MONITORING.
DB2 Traces. Trace Destinations. Tracing Guidelines. DB2 Performance Monitor (DB2 PM). Using DB2 PM. Online DB2 Performance Monitors. Viewing DB2 Console Messages. Displaying the Status of DB2 Resources. Monitoring z/OS and OS/390.
How EXPLAIN Works. Access Paths and the PLAN_TABLE. Cost Estimates and the DSN_STATEMNT_TABLE. Function Resolution and the DSN_FUNCTION_TABLE. EXPLAIN Guidelines.
DB2 Catalog Queries. Real Time Statistics. Reviewing the Rules for an
Effective Monitoring Strategy.
V. DB2 PERFORMANCE TUNING.
Tuning the z/OS and OS/390 Environment. Tuning the Teleprocessing Environment.
Tuning the DB2 Subsystem. Tuning the Database Design. Tuning the Application. The Causes of DB2 Performance Problems.
The Resource Limit Facility. The QMF Governor.
VI. DB2 PERFORMANCE UTILITIES AND COMMANDS.
Generating Utility JCL. Monitoring DB2 Utilities. Version 7 and the State of IBM DB2 Utilities. Using LISTDEF and TEMPLATE. Issuing SQL Statements in DB2 Utilities.
The CHECK Utility. The CHECK DATA Option. The CHECK LOB Option. The CHECK INDEX Option. The REPAIR Utility. The REPAIR DBD Option. The REPAIR LOCATE Option. The REPAIR SET Option. REPAIR and Versions. The REPORT Utility. The DIAGNOSE Utility.
The COPY Utility. The COPYTOCOPY Utility. The MERGECOPY Utility. The QUIESCE Utility. The RECOVER Utility. The RECOVER Utility. The REBUILD INDEX Utility. The REPAIR Utility. The REPORT RECOVERY Utility. Backing Up and Restoring the System.
The LOAD Utility. The UNLOAD Utility. The REORG Utility.
The CATENFM Utility. The CATMAINT Utility. The DSNJCNVB Utility. The MODIFY Utility. The RUNSTATS Utility. The STOSPACE Utility.
The Stand-alone Utilities. DB2 Sample Programs.
DB2 Environment Commands. Information-Gathering Commands. Administrative
Commands. Environment Control Commands. DSN Commands. IMS Commands. CICS
Commands. TSO Commands. IRLM Commands.
Utility Guidelines. The Pending States.
What Is a Disaster? DB2 Environmental Considerations. DB2 Contingency
Planning Guidelines.
VII. THE IDEAL DB2 ENVIRONMENT.
DB2 Tools. DB2 Tools Vendors.
Education. Standards and Procedures. Operational Support. Political Issues. Environmental Support. Tool Requirements.
VIII. DISTRIBUTED DB2.
What Is DRDA? DRDA Functions. DRDA Architectures and Standards. The Five DRDA Levels. Putting It All Together. Distributed DB2.
Distributing Data Using DB2. DB2 Support for the DRDA Levels. Methods of Accessing Distributed Data. System-Directed Versus Application-Directed. Packages for Static SQL. Two-Phase Commit. Miscellaneous Distributed Topics.
An Overview of IBM DB2 Connect.
Distribution Behind the Scenes. Block Fetch. Dynamic Cursor Pre-Open. Distributed Performance Problems. Distributed Database Design Issues. Distributed Data Placement. Distributed Optimization. Distributed Security Guidelines. Miscellaneous Distributed Guidelines.
Defining the Basic Terms. Designing a Data Warehouse. Populating a Data Warehouse. Accessing the Data Warehouse. Managing the Data Warehouse. The Big Picture. DB2 Data Warehouse Center. Materialized Query Tables. General Data Warehouse Guidelines. DB2-Specific Data Warehousing Guidelines.
ON THE WEB.
Type 1 Indexes. PDF. Shared Read Only Data. PDF. RECOVERINDEX. PDF. Host Variables Without Colons. PDF. Dataset Passwords. PDF. Stored Procedure Registration. PDF. Synopsis. PDF.
DB2Version 6 Features. PDF. DB2Version 5 Features. PDF. DB2Version 4 Features. PDF.
Basic Index Structure. PDF.
IX. APPENDIXES.
Appendix B. DB2 Tools Vendors. PDF.
The Vendor List. PDF.
Appendix D. DB2 Limits. PDF.
Appendix E. DB2 on Other Platforms. PDF.
The DB2 Family. PDF. Packaging and Naming Issues. PDF.
E-Business Enhancements. PDF. Application Development Enhancements. PDF. Data Management Enhancements. PDF. Business Intelligence Enhancements. PDF. Additional V7 Information. PDF.
Architecture. PDF. Database Administration. PDF. Programming and Development. PDF. Migration to DB2 V8. PDF.
When Should the DB2 Catalog and Directory Be Reorganized? PDF.
商品描述(中文翻譯)
市場上 DB2 的市佔率在過去五年中穩步增長,隨著 DB2 Universal Database V8 (T-Rex) 的宣布,該產品的動能達到前所未有的高點。DB2 擁有約 30% 的資料庫市場份額,與 Oracle 相同。這款產品不僅在許多《財富》500 強公司中使用,也在中小型企業中變得非常受歡迎。本書為讀者提供了針對主機的 DB2 的全面參考和研究工具。官方資料寫得笨拙,跨越十多本 PDF 格式的手冊,且缺乏實際的指導。作者 Craig Mullins 一直聽到過去版本的讀者表示,他們依賴這本書作為 DB2 的主要參考資料。Craig Mullins 不斷被問到何時會支持新版本。「這是一本優秀的書……裡面充滿了 DB2 的技術資訊、設計和調整方法以及資料庫管理指導……Mullins 似乎將他整個 DB2 的生活經驗都傾注於《DB2 開發者指南》中。」- Jonathon Sayles 在《關聯資料庫期刊》中
目錄:
引言
I. SQL 工具、技巧與訣竅
1. 魔法字
SQL 概述。行業中的 SQL 工具。靜態 SQL。動態 SQL。SQL 性能因素。
2. 資料操作指導
一袋技巧。SQL 存取指導。複雜 SQL 指導。公共表達式與遞迴。處理 NULL 值。日期與時間指導。資料修改指導。
3. 使用 DB2 函數
列函數。標量函數。RAISE_ERROR 函數。MQSeries 內建函數。XML 發佈內建函數。內建函數指導。
4. 使用 DB2 使用者定義函數和資料類型
什麼是使用者定義函數?使用者定義函數的類型。什麼是使用者定義資料類型?使用者定義資料類型與強類型。
5. 資料定義指導
DB2 資料庫物件概述。DB2 資料庫。創建和使用 DB2 表空間。DB2 儲存和 STOGROUPs。表指導。正規化與反正規化。在 DB2 中確保資料完整性。視圖、別名和同義詞。索引指導。命名慣例。其他 DDL 指導。
6. DB2 索引
創建索引。索引指導。
7. 資料庫變更管理與架構演進
線上架構變更。
8. 使用 DB2 觸發器以確保完整性
什麼是觸發器?觸發器指導。
9. 大物件與物件/關聯資料庫
定義「物件/關聯」的術語。什麼是大物件?LOB 指導。DB2 擴展。
10. DB2 安全性與授權
授予與撤銷權限。
II. DB2 應用程式開發
11. 在應用程式中使用 DB2
嵌入式 SQL 基礎。嵌入式 SQL 指導。主機變數。使用游標進行編程。嵌入式 SELECT 和游標編碼指導。使用嵌入式 SQL 修改資料。應用程式開發指導。批次編程指導。線上編程指導。一般 SQL 編碼指導。
12. 動態 SQL 編程
動態 SQL 性能。動態 SQL 指導。您應該了解動態 SQL 的原因。EXECUTE IMMEDIATE。非 SELECT 動態 SQL。固定列表 SELECT。變動列表 SELECT。
13. 程式準備
程式準備步驟。執行 DB2 程式。準備 DB2 程式。什麼是 DBRM?什麼是計劃?什麼是包?什麼是集合?版本。程式準備物件。程式準備指導。DCLGEN 指導。預編譯器指導。BIND 指導。鏈接編輯器指導。
14. 替代的 DB2 應用程式開發方法
僅使用 SQL 開發應用程式。使用客戶/伺服器編程語言。使用第四代語言。使用 CASE。使用報告生成器。使用 ODBC(呼叫級別介面)。使用 Java 和 DB2。使用 REXX 和 DB2。
15. 使用 DB2 儲存過程
什麼是儲存過程?實現 DB2 儲存過程。程序性 DBA。程序性 SQL。DB2 開發中心。
16. 程序性 DBA
DBA 的經典角色。程序性 DBA 的角色。
17. DB2 與互聯網
互聯網現象。通過互聯網訪問 DB2。使用 XML 和 DB2。使用互聯網查找 DB2 資訊。
III. DB2 深入探討
18. DB2 的大門
TSO(時間共享選項)。CICS(客戶資訊控制系統)。IMS(資訊管理系統)。CAF(呼叫附加設施)。RRSAF(可恢復資源管理器服務附加設施)。環境比較。臨界質量。
19. 資料共享
資料共享的好處。資料共享的要求。DB2 Coupling Facility。資料共享命名慣例。資料共享管理。資料共享應用程式開發指導。資料共享管理指導。
20. DB2 背後的運作
資料的物理儲存。DB2 的運作原理。
21. 優化器
物理資料獨立性。優化器的運作方式。過濾因子。存取路徑策略。優化器執行的其他操作。存取路徑策略相容性。
22. DB2 的表基礎架構
DB2 目錄。DB2 目錄。
23. 鎖定 DB2 資料
DB2 如何管理鎖定。鎖定與鎖存。鎖定持續時間。表空間鎖定。表鎖定。頁鎖定。行鎖定。鎖定暫停、超時和死鎖。分區獨立性。鎖定避免。資料共享全域鎖定管理。LOB 與鎖定。DB2 鎖定指導。其他 DB2 元件。全貌。
IV. DB2 性能監控
24. 傳統的 DB2 性能監控
DB2 追蹤。追蹤目的地。追蹤指導。DB2 性能監控器(DB2 PM)。使用 DB2 PM。線上 DB2 性能監控器。查看 DB2 控制台訊息。顯示 DB2 資源的狀態。監控 z/OS 和 OS/390。
25. 使用 EXPLAIN
EXPLAIN 的運作方式。存取路徑與 PLAN_TABLE。成本估算與 DSN_STATEMNT_TABLE。功能解析與 DSN_FUNCTION_TABLE。EXPLAIN 指導。
26. 使用 DB2 目錄和 RTS 監控 DB2 物件
DB2 目錄查詢。即時統計。審查有效監控策略的規則。
V. DB2 性能調整
27. 調整 DB2 的環境
調整 z/OS 和 OS/390 環境。調整電信處理環境。
28. 調整 DB2 的元件
調整 DB2 子系統。調整資料庫設計。調整應用程式。DB2 性能問題的原因。
29. DB2 資源管理
資源限制設施。QMF 管理員。
VI. DB2 性能工具與命令
30. DB2 工具簡介
生成工具 JCL。監控 DB2 工具。版本 7 和 IBM DB2 工具的狀態。使用 LISTDEF 和 TEMPLATE。在 DB2 工具中發出 SQL 語句。
31. 資料一致性工具
CHECK 工具。CHECK DATA 選項。CHECK LOB 選項。CHECK INDEX 選項。REPAIR 工具。REPAIR DBD 選項。REPAIR LOCATE 選項。REPAIR SET 選項。REPAIR 和版本。REPORT 工具。DIAGNOSE 工具。
32. 備份與恢復工具
COPY 工具。COPYTOCOPY 工具。MERGECOPY 工具。QUIESCE 工具。RECOVER 工具。REBUILD INDEX 工具。REPAIR 工具。REPORT RECOVERY 工具。備份與恢復系統。
33. 資料組織工具
LOAD 工具。UNLOAD 工具。REORG 工具。
34. 目錄操作工具
CATENFM 工具。CATMAINT 工具。DSNJCNVB 工具。MODIFY 工具。RUNSTATS 工具。STOSPACE 工具。
35. 獨立工具與範例程式
獨立工具。DB2 範例程式。
36. DB2 命令
DB2 環境命令。資訊收集命令。管理命令。環境控制命令。DSN 命令。IMS 命令。CICS 命令。TSO 命令。IRLM 命令。
37. DB2 工具與命令指導
工具指導。待處理狀態。
38. DB2 應急計劃
什麼是災難?DB2 環境考量。DB2 應急計劃指導。
VII. 理想的 DB2 環境
39. 完整 DB2 解決方案的元件
DB2 工具。DB2 工具供應商。
40. 組織問題
教育。標準與程序。操作支援。政治問題。環境支援。工具需求。
VIII. 分散式 DB2
41. DRDA
什麼是 DRDA?DRDA 功能。DRDA 架構與標準。五個 DRDA 層級。整合所有內容。分散式 DB2。
42. 分散式 DB2
使用 DB2 分散資料。DB2 對 DRDA 層級的支援。訪問分散資料的方法。系統導向與應用導向。靜態 SQL 的包。兩階段提交。其他分散式主題。
43. DB2 Connect
IBM DB2 Connect 概述。
44. 分配指導
幕後分配。區塊擷取。動態。