Securing HP NonStop Servers in an Open Systems World: TCP/IP, OSS and SQL, 2/e (Paperback)
暫譯: 在開放系統世界中保護 HP NonStop 伺服器:TCP/IP、OSS 和 SQL,第 2 版(平裝本)

XYPRO Technology Corp

  • 出版商: Digital press
  • 出版日期: 2006-08-01
  • 售價: $4,580
  • 貴賓價: 9.5$4,351
  • 語言: 英文
  • 頁數: 1000
  • 裝訂: Paperback
  • ISBN: 155558344X
  • ISBN-13: 9781555583446
  • 相關分類: SQLTCP/IP
  • 立即出貨 (庫存 < 3)

商品描述

Description

Recent corporate events have exposed the frequency and consequences of poor system security implementations and inadequate protection of private information. In a world of increasingly complex computing environments, myriad compliance regulations and the soaring costs of security breaches, it is economically essential for companies to become proactive in implementing effective system and data security measures. This volume is a comprehensive reference for understanding security risks, mitigations and best practices as they apply to the various components of these business-critical computing environments. HP NonStop Servers are used by Financial, Medical, Manufacturing enterprises where there can be no down time. Securing HP NonStop Servers in an Open Systems World: OSS, TCP/IP, and SQL takes a wide angle view of NonStop Server use. This book addresses protection of the Open Systems Services environment, network interfaces including TCP/IP and standard SQL databases. It lays out a roadmap of changes since our first book HP has made to Safeguard, elaborating on the advantages and disadvantages of implementing each new version. Even the security aspects of managing Operating System upgrades are given attention. Auditors, security policy makers, information security administrators and system managers will find the practical information they need for putting security principles into practice to meet industry standards as well as compliance regulations.

 

Table of Contents

Contents at a Glance Preface Introduction Part I. Data Model Tuning Chapter 1. The Relational Database Model Chapter 2. Tuning the Relational Database Model Chapter 3. Different Forms of the Relational Database Model Chapter 4. A Brief History of Data Modeling Part II. SQL Code Tuning Chapter 5. What is SQL? Chapter 6. Basic Concepts of Efficient SQL Chapter 7. Advanced Concepts of Efficient SQL Chapter 8. Common Sense Indexing Chapter 9. Oracle SQL Optimization and Statistics Chapter 10. How Oracle SQL Optimization Works Chapter 11. Overriding Optimizer Behavior Using Hints Chapter 12. How to Find Problem Queries Chapter 13. Automated SQL Tuning Part III. Physical and Configuration Tuning Chapter 14. Installing Oracle and Creating a Database Chapter 15. Tuning Oracle Database File Structures Chapter 16. Object Tuning Chapter 17. Low Level Physical Tuning Chapter 18. Hardware Resource Usage Tuning Chapter 19. Tuning Network Usage Chapter 20. Oracle Partitioning and Parallelism Chapter 21. Ratios: Possible Symptoms of Problems Chapter 22. Wait Events Chapter 23. Latches Chapter 24. Tools and Utilities Part IV. Tuning Everything at Once Chapter 25. The Wait Event Interface Chapter 26. The Database Control Chapter 27. Tuning With STATSPACK Appendices Appendix A. Sample Databases Appendix B. Sample Scripts (script changes) Appendix C. Sources of Information (accreditations) Appendix D. SQL Tuning in Oracle Enterprise Manager (might delete this one, depending on how much I remove from part III, which is 9i) Table of Contents Preface Introduction 1. A Tuning Environment What is Required When Tuning Oracle Database? What Tools are Available? Skilled Personnel Staging (Testing) Environments Duplicating Production Databases for Effective Tuning When to Tune? What to Tune in Production? When to Stop Tuning in Production? Bottlenecks Configuration Physical Space Usage SQL Code Tuning Data Model Tuning 2. Tuning from Development to Production The Steps in Tuning Data Model Tuning SQL Code Tuning Configuration and Physical Tuning Configuration Tuning Physical Tuning 3. How is this Book Organized? Part I. Data Model Tuning Part II. SQL Code Tuning Part III. Physical and Configuration Tuning Part IV. Tuning Everything At Once Appendices 4. Some Final Points 5. What is Oracle Database 10g? 6. What is New in Oracle Database 10gR2? Part I. Data Model Tuning Chapter 1. The Relational Database Model (updated and refined) 1. The Formal Definition of Normalization a) Anomalies b) Dependence and Determinance c) 1st Normal Form (1NF) d) 2nd Normal Form (2NF) e) 3rd Normal Form (3NF) f) Boyce-Codd Normal Form (BCNF) g) 4th Normal Form (4NF) h) 5th Normal Form (5NF) i) Domain Key Normal Form (DKNF) 2. A Layman?s Approach to Normalization a) 1st Normal Form b) 2nd Normal Form c) 3rd Normal Form d) Beyond 3rd Normal Form i. One-To-One NULL Separation Relationships ii. Separating Object Collections In Tables iii. Multi-Column Composite Keys iv. Summarizing a Layman?s Form of Normalization 3. Referential Integrity Chapter 2. Tuning the Relational Database Model (updated and refined) 1. Normalization and Tuning 2. Referential Integrity and Tuning a) Using Referential Integrity or Not b) How to Implement Referential Integrity i. Using Constraints (Primary and Foreign Keys) (a) Efficient Keys (b) Indexing Foreign Keys and Locking Issues (c) Sacrificing Referential Integrity for Performance ii. Coding Business Rules in the Database (a) Using Triggers for Referential Integrity (b) Using Triggers for Event Trapping (c) Using Stored Procedures and Functions 3. Optimizing with Alternate Indexes 4. Undoing Normalization a) Denormalization i. Reminding Ourselves about Normalization ii. Why Denormalize? iii. What to Look for to Denormalize? (a) Mutable and Complex Joins (i) Mutable Joins to Find Few Columns (b) Adding Composite Keys (c) One-to-One Relationships (d) Many-to-Many Join Resolution Entities (e) Application Functions versus Entities (f) Static Data in Multiple Entities (g) Intermediary Entities Covering Summary Groupings and Calculations iv. Denormalizing by Reversing Normal Forms (a) Denormalizing Beyond 3rd Normal Form (i) Denormalizing One-to-One NULL Separation Relationships (ii) Denormalizing Contained Object Collections (iii) Denormalizing Multi-Column Composite Keys (iv) Denormalizing Extra Entities For Common Columns (v) Denormalizing Formal 3rd Normal Form Transitive Dependencies (vi) Denormalizing Calculated Columns (vii) Denormalizing Formal Boyce-Codd Normal Form (b) Denormalizing 3rd Normal Form Many-to-Many Join Resolution Entities (c) Denormalizing 2nd Normal Form b) Some Useful Tricks i. Copying Columns Between Entities ii. Placing Summary Columns into Parent Entities iii. Separating Active and Inactive Data iv. Mixing Heavily and Lightly Accessed Columns v. Focus on Heavily Used Functionality vi. Using Views vii. Local Application Caching c) Using Special Purpose Oracle Database Objects Chapter 3. Different Forms of the Relational Database Model (updated and refined) 1. The Purist?s Relational Database Model 2. Object Applications and the Relational Database Model a) The Object Database Model b) The Object-Relational Database Model c) The Benefits of Overlaying Objects onto Relations Chapter 4. A Brief History of Data Modeling (updated and refined) 1. The History of Data Modeling a) The Different Types of Data Models 2. The History of Relational Databases 3. The History of the Oracle Database 4. The Roots of SQL Part II. SQL Code Tuning Chapter 5. What is SQL? (re-tested on 10g) 1. DML and DDL 2. DML Statement Syntax a) The SELECT Statement i. Logical Operators ii. Comparison Conditions iii. Types of SELECT Statements (a) Simple Query (b) Filtering Queries using the WHERE Clause (c) Sorting Queries using the ORDER BY Clause (d) Joining Tables (i) Types of Joins (e) Subqueries (f) Table and View Creation (g) Hierarchical Query (h) Set Operators and Composite Queries (i) Flashback (i) Flashback Versions Queries (ii) Flashback Database iv. Using DISTINCT v. The DUAL Table vi. NULLs vii. Pseudocolumns viii. Using Functions b) The INSERT Statement i. Multiple Table INSERT Statements c) The UPDATE Statement d) The DELETE and TRUNCATE Statements e) The MERGE Statement 3. Transaction Control a) COMMIT versus ROLLBACK b) Transaction Control between Multiple Sessions 4. Parallel Queries Chapter 6. Basic Concepts of Efficient SQL (re-tested on 10g) 1. The SELECT Statement a) A Count of Rows in the Accounts Schema b) Filtering with the WHERE Clause c) Sorting with the ORDER BY Clause i. Overriding WHERE with ORDER BY d) Grouping Result Sets i. Sorting with the GROUP BY Clause ii. Using DISTINCT iii. The HAVING Clause (a) The MODEL Clause iv. ROLLUP, CUBE and GROUPING SETS e) The FOR UPDATE Clause 2. Using Functions a) The COUNT Function b) The DECODE Function c) Datatype Conversions d) Using Functions in Queries i. Functions in the SELECT Statement ii. Functions in the WHERE Clause iii. Functions in the ORDER BY Clause iv. Functions in the GROUP BY Clause 3. Pseudocolumns a) Sequences b) ROWID Pointers c) ROWNUM 4. Comparison Conditions a) Equi, Anti and Range b) LIKE Pattern Matching c) Set Membership d) Groups Chapter 7. Advanced Concepts of Efficient SQL (re-tested on 10g) 1. Joins a) Join Formats b) Efficient Joins i. Intersections ii. Self Joins iii. Equi Joins and Range Joins c) Inefficient Joins i. Cartesian Products ii. Outer Joins iii. Anti Joins iv. Mutable and Complex Joins d) How to Tune a Join 2. Using Subqueries for Efficiency a) Correlated versus non-Correlated Subqueries b) IN versus EXISTS c) Nested Subqueries d) Replacing Joins with Subqueries i. Remove Tables Without Returned Columns Using EXISTS ii. FROM Clause Subquery Nesting 3. Using Synonyms 4. Using Views 5. Temporary Tables 6. Resorting to PL/SQL a) Tuning DML in PL/SQL i. The RETURNING INTO Clause b) When to Resort to PL/SQL and Cursors c) Java or PL/SQL 7. Object and Relational Conflicts a) Large Binary Objects in a Relational Database b) Object-Relational Collections 8. Replacing DELETE with TRUNCATE Chapter 8. Common Sense Indexing (re-tested on 10g) 1. What and How to Index a) When Not to Use Indexes b) Utilizing Referential Integrity Indexes i. Alternate and Secondary Indexing 2. Types of Indexes 3. Types of Indexes in Oracle Database a) The Syntax of Oracle Database Indexes b) Oracle Database BTree Indexes c) Read Only Indexing i. Bitmap Indexes (a) Are Bitmaps Faster than BTree Indexes? (b) Bitmap Index Locking (c) Using Composite Bitmap Indexes (d) Do Bitmap Indexes Overflow? (e) Bitmap Join Indexes ii. Clusters (a) Hash Clusters (i) Sorted Hash Clusters (b) Index Organized Tables 4. Tuning BTree Indexes a) Overflow and Rebuilding i. Lost Index Space b) Reverse Key Indexes c) Compressed Composite Indexes i. Compressed Indexes and DML Activity d) Function Based Indexes e) NULLs and Indexes 5. Summarizing Indexes Chapter 9. Oracle SQL Optimization and Statistics (re-tested on 10g) A lot of changes in this chapter for rule/cost based optimization 1. What is the Parser? 2. What is the Purpose of the Optimizer? a) What Does the Optimizer Do? b) What are Statistics? c) Query Plan Access Paths 3. Rule versus Cost Based Optimization a) Setting the Optimization Mode b) What Was Rule Based Optimization? i. Outlines Hints and Cost Based Optimization c) What is Cost Based Optimization? i. Configuration Parameters and Cost Based Optimization (a) Dynamic Sampling ii. The Importance of Statistics and Realistic Statistics iii. Generating Statistics (a) What to Generate Statistics For? (i) Tables (ii) Indexes (iii) Columns (b) The ANALYZE Command (c) The DBMS_STATS Package (d) Automated Statistics Gathering (i) Automatic Statistics Generation in Oracle9i Database (ii) Automatic Statistics Generation in Oracle10g Database (e) The SAMPLE Clause (f) Timed Statistics iv. Histograms Chapter 10. How Oracle SQL Optimization Works (re-tested on 10g) 1. Data Access Methods a) Accessing Tables and Indexes i. Full Table Scans (a) Reading Many Blocks at Once (i) Small Static Tables (ii) Reading Most of the Rows (b) Reading Deleted Rows (c) Parallel Table Scans ii. Sample Table Scans iii. ROWID Scans iv. Index Scans (a) Index Unique Scan (b) Index Range Scan (i) Reverse Order Index Range Scan (c) Index Skip Scan (d) Index Full Scan (i) Fast Full Index Scan (ii) The DISTINCT Clause (iii) The COUNT Function (iv) Retrieving with NOT NULL (v) Parallel Index Scan (e) Index Join (f) Bitmap Join v. Cluster and Hash Scans b) Joining Tables i. Join Order Execution ii. Types of Joins (a) Nested Loop Join (b) Hash Join (c) Sort Merge Join iii. Mutable Join Nesting iv. Semi Join v. Joins to Avoid (a) Cartesian Join (b) Outer Join (i) Grouped Outer Join c) Sorting i. Unique Sort ii. ORDER BY Sort iii. GROUP BY Sort iv. Sort Merge Join Sort v. Aggregate Sort d) Special Cases i. Concatenation ii. The IN List Operator iii. UNION, MINUS and INTERSECT Chapter 11. Overriding Optimizer Behavior Using Hints (re-tested on 10g) 1. How to Use Hints 2. Hints: Suggestion or Force? 3. Classifying Hints 4. Influencing the Optimizer in General a) Altering Table Scans b) Altering Index Scans c) Altering Joins d) Cause Parallel SQL Execution e) Altering Queries and Subqueries 5. Naming Query Blocks for Hints a) Global Table Hints Chapter 12. How to Find Problem Queries (re-tested on 10g) 1. Tools to Detect Problems 2. EXPLAIN PLAN a) What Does EXPLAIN PLAN Produce? b) What to Look for in Query Plans? c) Problems Producing Query Plans d) EXPLAIN PLAN Command Syntax e) How to Create the PLAN_TABLE f) What is Not Provided in Query Plans? 3. SQL Trace and TKPROF a) Setting up SQL Trace i. Session Level Tracing ii. Finding Trace Files b) Using SQL Trace c) TKPROF i. Syntax of TKPROF ii. Using TKPROF iii. Interpretation of TKPROF Output TRCSESS End to End Tracing 4. Autotrace 5. Oracle Database Performance Views for Tuning SQL a) Finding Cached SQL Code i. Examining SQL Code ii. Hard Hitting SQL Code (a) Using V$SQLAREA (i) Executions (ii) Disk + Buffer Reads per Row (iii) Rows per Sort (iv) Rows per Fetch (v) Parses per Execution (vi) Disk versus Logical Reads (b) Using V$SQL (i) Optimizer Cost (ii) CPU Time (iii) Elapsed Time iii. Examining Cached Query Plans With V$SQL_PLAN Chapter 13. Tuning SQL with Oracle Enterprise Manager Automatic Gathering of Statistics The AWR and the ADDM The AWR The ADDM Automating SQL Tuning Part III. Physical and Configuration Tuning Chapter 14. Installing Oracle and Creating a Database Installation chapter. Will change to incorporate 10g, or be solely about 10g. Minor changes. This chapter is essentially an introduction to Part III. Potential removal for dictionary/locally managed tablespaces/manual rollback 1. Installing Oracle Database a) Different Editions of Oracle Database b) Oracle Enterprise Manager 2. Basic Configuration a) Basic Network Files i. Configuring the Listener ii. Configuring the Client b) The Parameter File i. Database Identification ii. Control Files iii. Block Size iv. Memory Buffers and I/O Behavior (a) The Database Buffer Cache (b) The Shared Pool (c) Connection Memory Requirements (d) The Large Pool (e) The Java Pool (f) The Redo Log Buffer Cache v. SQL Code Optimization vi. Auditing and Tracing (a) Auditing (b) Tracing vii. Archiving, Check Points, the Alert Log and Trace Files (a) Archive Logs (b) Check Pointing (c) The Alert Log and Trace Files viii. Rollback and Undo (a) Manual Rollback Segments (b) Automated Undo Segments ix. Resource Management x. Job Scheduling (a) The Scheduler xi. Networking 3. Creating a Database a) The Database Configuration Assistant i. Current Trends b) Manual Database Creation i. Create the Directory Structure ii. Create the Database iii. Tablespace and Rollback Creation iv. The Catalog and the SPFILE c) Automated Storage Management Chapter 15. Tuning Oracle Database File Structures Potential removal for dictionary/locally managed tablespaces/manual rollback 1. Oracle Database Architecture and the Physical Layer a) The Oracle Instance i. Buffers ii. Processes b) The Oracle Database or File System Layer i. How Oracle Database Files Fit Together (a) Special Types of Datafiles ii. Tuning Datafiles iii. Control Files iv. Tuning Redo Logs and Archive Logs c) The Networking Layer 2. Tuning and the Logical Layer a) Tablespaces i. Dictionary Managed Tablespaces ii. Locally Managed Tablespaces (a) Auto Extend (b) Minimum Extent Sizes (c) Block Size (d) Logging (e) Extent Management (f) Segment Space Management (g) BIGFILE Tablespaces (h) Avoiding Datafile Header Contention iii. Temporary Sort Space (a) Tablespace Groups iv. Manual Rollback and Automatic Undo (a) Automated Undo (b) Manual Rollback Segments 3. Oracle Managed Files (OMF) 4. Automatic Storage Management a) Disk Groups b) Tablespace Groups c) Automated Tuning Rebalancing d) Using an ASM Database Chapter 16. Object Tuning Potential removal for dictionary/locally managed tablespaces/manual rollback 1. Tables a) Caching b) Logging c) Table Parallelism d) Storing LOBs Separately e) Dropping Columns f) Deallocating Unused Space 2. Indexes a) Monitoring b) Index Parallelism c) Fragmentation and Coalescing 3. Index Organized Tables and Clusters 4. Sequences (some updating) 5. Synonyms and Views (some updating) 6. The Recycle Bin Chapter 17. Low Level Physical Tuning Potential removal for dictionary/locally managed tablespaces/manual rollback 1. What is the High Water Mark? 2. Space Used in a Database 3. What are Row Chaining and Row Migration? 4. Different Types of Objects 5. How Much Block and Extent Tuning? 6. Choosing Database Block Size 7. Physical Block Structure a) What is in a Block? b) Block Space Management i. Assessing PCTFREE Settings c) Block Concurrency 8. Extent Level Storage Parameters a) Setting Extent Sizes b) Minimum and Maximum Extents c) Variable Extent Sizes d) Managing Concurrency e) Minimizing Rollback Resizing f) Different Cache Recently Used Lists Chapter 18. Hardware Resource Usage Tuning Potential removal for dictionary/locally managed tablespaces/manual rollback 1. Tuning Oracle CPU Usage a) Busy I/O and Intense CPU Activity i. Swapping and Paging b) Possible Oracle Database Causes of High CPU Activity i. Poorly Tuned SQL Code ii. Poor Index Usage iii. Rollback and Undo iv. Temporary Sort Space v. Row Locks and Latch Waits vi. High Network Activity 2. How Oracle Database Uses Memory a) The Database Buffer Cache b) The Shared Pool i. The Library Cache ii. The Metadata or Dictionary Cache iii. Pinning Objects in the Shared Pool c) Session Connection Cache i. Automated Memory Management (sga and pga automation) ii. Manual Memory Management d) The Large Pool i. Shared Servers and Virtual Circuits e) The Redo Log Buffer f) The Java Pool g) Getting Advice on Buffers Must refer at least refer to extensive advice capabilities in the Database Control i. Database Buffer Cache Advice ii. Shared Pool Advice iii. PGA Advice iv. Java Pool Advice 3. Tuning I/O Usage a) RAID Arrays b) Performance with ASM c) Performance with OMF Chapter 19. Tuning Network Usage 1. The Listener a) Listener Queue Size b) Switching Off Listener Logging and Tracing c) Multiple Listeners and Load Balancing d) Automatic Listener Configuration 2. Network Naming Methods a) Local Naming i. Dedicated Versus Shared Servers ii. The Session Data Unit Buffer (SDU) 3. Connection Profiles 4. Shared Servers a) Configuration Parameters b) Network Performance Views i. Shared Servers ii. Dispatchers iii. Circuits iv. Using Events Chapter 20. Oracle Partitioning and Parallelism 1. What is Oracle Partitioning? a) Why is Oracle Partitioning Beneficial? b) How are Tables and Indexes Partitioned? c) Oracle Partitioning Methods i. Partitioning by Range ii. Partitioning by List iii. Hash Partitions iv. Composite Partitions 2. Tricks with Partitions 3. Parallel Processing and Partitioning (reviewers wanted new sections or just expansion) 4. Hash Partitioned Global Indexing (reviewers wanted new section or just expansion) Chapter 21. Ratios: Possible Symptoms of Problems 1. Database Buffer Cache Hit Ratio a) Default, Keep and Recycle Pools 2. Table Access Ratios 3. Index Use Ratio 4. Dictionary Cache Hit Ratio 5. Library Cache Hit Ratios 6. Disk Sort Ratio 7. Chained Rows Ratio 8. Parse Ratios 9. Latch Hit Ratio Chapter 22. Wait Events Updated with new wait events for 10g. Possibly built-in or a New in 10g section 1. Idle Events 2. Significant Events a) Buffer Busy Waits i. Causes of Buffer Busy Waits ii. Increasing and Decreasing Buffer Busy Waits b) Datafile Scattered and Sequential Reads c) Direct Path Reads and Writes d) Free Buffer Waits e) Row Cache Lock Waits f) Library Cache Waits g) Redo Log Waits h) Rollback and Undo Waits i. Manual Rollback Waits ii. Automated Undo Waits i) Enqueue Waits j) Latch Free Waits Chapter 23. Latches Updated with new wait events for 10g. Possibly built-in or a New in 10g section 1. What is a Latch? a) Latch Misses, Spins and Sleeps b) Latch Performance Views c) Latches in Real Time 2. The Most Significant Latches a) The Database Buffer Cache b) The Shared Pool i. Library Cache Latches ii. Metadata Cache Latches c) The Redo Log Buffer d) Network and Database Connection Latches Chapter 24. Tools and Utilities 1. Oracle Enterprise Manager Much of this is out of date in 10g or shifted from the Console to the Database Control. Could include both 9i and 10g or just change for 10g (watching the page count) a) Diagnostics Pack i. Event Monitoring ii. Lock Monitoring iii. TopSessions iv. TopSQL v. Performance Manager b) Tuning Pack i. Tablespace Map and the Reorg Wizard 2. Spotlight 3. Operating System Tools a) Windows Performance Monitor b) Unix Utilities 4. Other Utilities and Tools a) Application End to End Tracing (expansion from previous chapters – if necc) b) Import, Export and SQL*Loader c) Resource Management and Profiling d) Recovery Manager (RMAN) e) STATSPACK Part IV. Tuning Everything at Once Chapter 25. Tuning with the Wait Event Interface 1. What is a Bottleneck? 2. Detecting Potential Bottlenecks 3. What is the Wait Event Interface? a) The System Aggregation Layer b) The Session Layer c) The Third Layer and Beyond 4. Oracle Enterprise Manager and the Wait Event Interface 5. Oracle Database Wait Event Interface Improvements 6. The Database Control and the Wait Event Interface Chapter 26. Tuning with the Database Control This chapter is separated because it encompasses all tuning types (part 2 and part 3). Also want to give an overall picture. Extends part of chapter 25 into 10g. This chapter is graphic rich! Also may briefly repeat sections covered already. Part IV is a little like a combination of a summary, recap and adding just a little more information, but focusing on the tools that make everything so much easier. Something like this (demonstrating use of DB control tools to solve real problems): 1. Automated Performance Diagnostics and Tuning 2. Top Activity 3. Top Consumers 4. Duplicate SQL 5. Blocking Sessions 6. Hang Analysis 7. Instance Locks 8. Instance Activity 9. Advisor Central 10. All Metrics 11. SQL History Alert History 12. Blackouts 13. Monitoring Configuration 14. Alert Log Content 15. Monitor in Memory Access Mode Chapter 27. Tuning With STATSPACK 1. Using STATSPACK a) An Example STATSPACK Report Appendices Appendix A. Sample Databases Appendix B. Sample Scripts Appendix C. Sources of Information Appendix D. SQL Tuning in Oracle Enterprise Manager

商品描述(中文翻譯)

**描述**

最近的企業事件揭示了系統安全實施不當和私人信息保護不足的頻率及其後果。在日益複雜的計算環境中,無數的合規法規以及安全漏洞的高昂成本,使得企業在實施有效的系統和數據安全措施方面變得經濟上至關重要。本書是理解安全風險、緩解措施和最佳實踐的綜合參考,這些內容適用於這些業務關鍵計算環境的各個組件。HP NonStop 伺服器被金融、醫療、製造等企業使用,這些企業不能有任何停機時間。《在開放系統世界中保護 HP NonStop 伺服器:OSS、TCP/IP 和 SQL》從廣角度探討了 NonStop 伺服器的使用。本書針對開放系統服務環境的保護、包括 TCP/IP 和標準 SQL 數據庫的網絡接口進行了討論。它列出了自我們的第一本書以來,HP 在 Safeguard 上所做的變更,詳細說明了實施每個新版本的優缺點。甚至連操作系統升級的安全管理方面也得到了關注。審計員、安全政策制定者、信息安全管理員和系統管理員將找到他們所需的實用信息,以便將安全原則付諸實踐,以滿足行業標準和合規法規。

**目錄**

目錄一覽
前言
介紹
第一部分 數據模型調整
第1章 關聯數據庫模型
第2章 調整關聯數據庫模型
第3章 不同形式的關聯數據庫模型
第4章 數據建模簡史
第二部分 SQL 代碼調整
第5章 SQL 是什麼?
第6章 高效 SQL 的基本概念
第7章 高效 SQL 的進階概念
第8章 常識索引
第9章 Oracle SQL 優化與統計
第10章 Oracle SQL 優化的工作原理
第11章 使用提示覆蓋優化器行為
第12章 如何找到問題查詢
第13章 自動化 SQL 調整
第三部分 物理和配置調整
第14章 安裝 Oracle 並創建數據庫
第15章 調整 Oracle 數據庫文件結構
第16章 對象調整
第17章 低級物理調整
第18章 硬體資源使用調整
第19章 調整網絡使用
第20章 Oracle 分區與並行處理
第21章 比率:問題的可能症狀
第22章 等待事件
第23章 鎖
第24章 工具和實用程序
第四部分 同時調整所有內容
第25章 等待事件介面
第26章 數據庫控制
第27章 使用 STATSPACK 調整
附錄
附錄 A. 示例數據庫
附錄 B. 示例腳本(腳本變更)
附錄 C. 信息來源(認證)
附錄 D. 在 Oracle 企業管理器中的 SQL 調整(根據我從第三部分刪除的內容,可能會刪除此項)
目錄
前言
介紹
1. 調整環境
調整 Oracle 數據庫需要什麼?
有哪些工具可用?
熟練的人員
階段(測試)環境
為有效調整複製生產數據庫
何時調整?
在生產中調整什麼?
何時停止在生產中的調整?
瓶頸
配置
物理空間使用
SQL 代碼調整
數據模型調整
2. 從開發到生產的調整
調整的步驟
數據模型調整
SQL 代碼調整
配置和物理調整
配置調整
物理調整
3. 本書的組織方式?
第一部分 數據模型調整
第二部分 SQL 代碼調整
第三部分 物理和配置調整
第四部分 同時調整所有內容
附錄
4. 一些最終要點
5. Oracle 數據庫 10g 是什麼?
6. Oracle 數據庫 10gR2 有什麼新內容?
第一部分 數據模型調整
第1章 關聯數據庫模型(更新和精煉)
1. 正規化的正式定義
a) 異常
b) 依賴性和確定性
c) 第一正規形式 (1NF)
d) 第二正規形式 (2NF)
e) 第三正規形式 (3NF)
f) Boyce-Codd 正規形式 (BCNF)
g) 第四正規形式 (4NF)
h) 第五正規形式 (5NF)
i) 域鍵正規形式 (DKNF)
2. 外行人對正規化的理解
a) 第一正規形式
b) 第二正規形式
c) 第三正規形式
d) 超越第三正規形式
i. 一對一 NULL 分離關係
ii. 在表中分離對象集合
iii. 多列複合鍵
iv. 總結外行人的正規化形式
3. 參考完整性
第2章 調整關聯數據庫模型(更新和精煉)
1. 正規化與調整
2. 參考完整性與調整
a) 使用參考完整性或不使用
b) 如何實施參考完整性
i. 使用約束(主鍵和外鍵)
(a) 高效鍵
(b) 索引外鍵和鎖定問題
(c) 為性能犧牲參考完整性
ii. 在數據庫中編碼業務規則
(a) 使用觸發器進行參考完整性
(b) 使用觸發器進行事件捕獲
(c) 使用存儲過程和函數
3. 使用替代索引進行優化
4. 撤銷正規化
a) 非正規化
i. 提醒我們正規化的意義
ii. 為什麼要非正規化?
iii. 什麼是非正規化的標誌?
(a) 可變和複雜的聯接
(i) 可變聯接以查找少數列
(b) 添加複合鍵
(c) 一對一關係
(d) 多對多聯接解析實體
(e) 應用功能與實體的區別
(f) 多個實體中的靜態數據
(g) 中介實體涵蓋摘要分組和計算
iv. 通過反轉正規形式進行非正規化
(a) 超越第三正規形式的非正規化
(i) 非正規化一對一 NULL 分離關係
(ii) 非正規化包含的對象集合
(iii) 非正規化多列複合鍵
(iv) 非正規化額外實體以處理公共列
(v) 非正規化正式的第三正規形式的遞移依賴
(vi) 非正規化計算列
(vii) 非正規化正式的 Boyce-Codd 正規形式
(b) 非正規化第三正規形式的多對多聯接解析實體
(c) 非正規化第二正規形式
b) 一些有用的技巧
i. 在實體之間複製列
ii. 將摘要列放入父實體中
iii. 分離活動和非活動數據
iv. 混合重度和輕度訪問的列
v. 專注於重度使用的功能
vi. 使用視圖
vii. 本地應用程序緩存
c) 使用特殊用途的 Oracle 數據庫對象
第3章 不同形式的關聯數據庫模型(更新和精煉)
1. 純粹主義者的關聯數據庫模型
2. 對象應用程序與關聯數據庫模型
a) 對象數據庫模型
b) 對象-關聯數據庫模型
c) 將對象覆蓋到關係上的好處
第4章 數據建模簡史(更新和精煉)
1. 數據建模的歷史
a) 不同類型的數據模型
2. 關聯數據庫的歷史
3. Oracle 數據庫的歷史
4. SQL 的根源
第二部分 SQL 代碼調整
第5章 SQL 是什麼?(在 10g 上重新測試)
1. DML 和 DDL
2. DML 語句語法
a) SELECT 語句
i. 邏輯運算符
ii. 比較條件
iii. SELECT 語句的類型
(a) 簡單查詢
(b) 使用 WHERE 子句過濾查詢
(c) 使用 ORDER BY 子句排序查詢
(d) 聯接表
(i) 聯接的類型
(e) 子查詢
(f) 表和視圖的創建
(g) 層次查詢
(h) 集合運算符和複合查詢
(i) 回溯
(i) 回溯版本查詢
(ii) 回溯數據庫
iv. 使用 DISTINCT
v. DUAL 表
vi. NULLs
vii. 偽列
viii. 使用函數
b) INSERT 語句
i. 多表 INSERT 語句
c) UPDATE 語句
d) DELETE 和 TRUNCATE 語句
e) MERGE 語句
3. 事務控制
a) COMMIT 與 ROLLBACK
b) 多會話之間的事務控制
4. 並行查詢
第6章 高效 SQL 的基本概念(在 10g 上重新測試)
1. SELECT 語句
a) 帳戶模式中的行計數
b) 使用 WHERE 子句過濾
c) 使用 ORDER BY 子句排序
i. 使用 ORDER BY 覆蓋 WHERE
d) 分組結果集
i. 使用 GROUP BY 子句排序
ii. 使用 DISTINCT
iii. HAVING 子句
(a) MODEL 子句
iv. ROLLUP、CUBE 和 GROUPING SETS
e) FOR UPDATE 子句
2. 使用函數
a) COUNT 函數
b) DECODE 函數
c) 數據類型轉換
d) 在查詢中使用函數
i. 在 SELECT 語句中使用函數
ii. 在 WHERE 子句中使用函數
iii. 在 ORDER BY 子句中使用函數
iv. 在 GROUP BY 子句中使用函數
3. 偽列
a) 序列
b) ROWID 指針
c) ROWNUM
4. 比較條件
a) 相等、反相和範圍
b) LIKE 模式匹配
c) 集合成員
d) 群組
第7章 高效 SQL 的進階概念(在 10g 上重新測試)
1. 聯接
a) 聯接格式
b) 高效聯接
i. 交集
ii. 自我聯接
iii. 相等聯接和範圍聯接
c) 低效聯接
i. 笛卡爾積
ii. 外部聯接
iii. 反聯接
iv. 可變和複雜的聯接
d) 如何調整聯接
2. 使用子查詢提高效率
a) 相關與非相關子查詢
b) IN 與 EXISTS
c) 嵌套子查詢
d) 用子查詢替代聯接
i. 使用 EXISTS 刪除沒有返回列的表
ii. FROM 子句的子查詢嵌套
3. 使用同義詞
4. 使用視圖
5. 臨時表
6. 訴諸 PL/SQL
a) 在 PL/SQL 中調整 DML
i. RETURNING INTO 子句
b) 何時訴諸 PL/SQL 和游標
c) Java 或 PL/SQL
7. 對象與關聯的衝突
a) 關聯數據庫中的大型二進制對象
b) 對象-關聯集合
8. 用 TRUNCATE 替代 DELETE
第8章 常識索引(在 10g 上重新測試)
1. 什麼和如何索引
a) 何時不使用索引
b) 利用參考完整性索引
i. 替代和次要索引
2. 索引的類型
3. Oracle 數據庫中的索引類型
a) Oracle 數據庫索引的語法
b) Oracle 數據庫 BTree 索引
c) 只讀索引
i. 位圖索引
(a) 位圖索引是否比 BTree 索引快?
(b) 位圖索引鎖定
(c) 使用複合位圖索引
(d) 位圖索引是否會溢出?
(e) 位圖聯接索引
ii. 集群
(a) 哈希集群
(i) 排序哈希集群
(b) 索引組織表
4. 調整 BTree 索引
a) 溢出和重建
i. 丟失的索引空間
b) 反向鍵索引
c) 壓縮複合索引
i. 壓縮索引和 DML 活動
d) 基於函數的索引
e) NULLs 和索引
5. 總結索引
第9章 Oracle SQL 優化與統計(在 10g 上重新測試)
本章對於基於規則/成本的優化有很多變更
1. 解析器是什麼?
2. 優化器的目的何在?
a) 優化器的作用是什麼?
b) 什麼是統計數據?
c) 查詢計劃訪問路徑
3. 基於規則與基於成本的優化
a) 設置優化模式
b) 基於規則的優化是什麼?
i. 大綱提示和基於成本的優化
c) 什麼是...