Book description
Tuning your database for optimal performance means more than following a few short steps in a vendor-specific guide. For maximum improvement, you need a broad and deep knowledge of basic tuning principles, the ability to gather data in a systematic way, and the skill to make your system run faster. This is an art as well as a science, and Database Tuning: Principles, Experiments, and Troubleshooting Techniques will help you develop portable skills that will allow you to tune a wide variety of database systems on a multitude of hardware and operating systems. Further, these skills, combined with the scripts provided for validating results, are exactly what you need to evaluate competing database products and to choose the right one.
- Forward by Jim Gray, with invited chapters by Joe Celko and Alberto Lerner
- Includes industrial contributions by Bill McKenna (RedBrick/Informix), Hany Saleeb (Oracle), Tim Shetler (TimesTen), Judy Smith (Deutsche Bank), and Ron Yorita (IBM)
- Covers the entire system environment: hardware, operating system, transactions, indexes, queries, table design, and application analysis
- Contains experiments (scripts available on the author's site) to help you verify a system's effectiveness in your own environment
- Presents special topics, including data warehousing, Web support, main memory databases, specialized databases, and financial time series
- Describes performance-monitoring techniques that will help you recognize and troubleshoot problems
Table of contents
- Front Cover
- Database Tuning: Principles, Experiments, and Troubleshooting Techniques
- Copyright Page
- Foreword
- Contents (1/2)
- Contents (2/2)
- Preface (1/2)
- Preface (2/2)
- CHAPTER 1. BASIC PRINCIPLES
-
CHAPTER 2. TUNING THE GUTS
- 2.1 Goal of Chapter
- 2.2 Locking and Concurrency Control
- 2.3 Logging and the Recovery Subsystem (1/3)
- 2.3 Logging and the Recovery Subsystem (2/3)
- 2.3 Logging and the Recovery Subsystem (3/3)
- 2.4 Operating System Considerations (1/2)
- 2.4 Operating System Considerations (2/2)
- 2.5 Hardware Tuning (1/3)
- 2.5 Hardware Tuning (2/3)
- 2.5 Hardware Tuning (3/3)
- Bibliography
- Exercises
-
CHAPTER 3. INDEX TUNING
- 3.1 Goal of Chapter
- 3.2 Types of Queries
- 3.3 Key Types
- 3.4 Data Structures
- 3.5 Sparse Versus Dense Indexes
- 3.6 To Cluster or Not to Cluster (1/3)
- 3.6 To Cluster or Not to Cluster (2/3)
- 3.6 To Cluster or Not to Cluster (3/3)
- 3.7 Joins, Foreign Key Constraints, and Indexes
- 3.8 Avoid Indexes on Small Tables
- 3.9 Summary: Table Organization and Index Selection
- 3.10 Distributing the Indexes of a Hot Table
- 3.11 General Care and Feeding of Indexes
- Bibliography
- Exercises (1/2)
- Exercises (2/2)
-
CHAPTER 4. TUNING RELATIONAL SYSTEMS
- 4.1 Goal of Chapter
- 4.2 Table Schema and Normalization (1/3)
- 4.2 Table Schema and Normalization (2/3)
- 4.2 Table Schema and Normalization (3/3)
- 4.3 Clustering Two Tables
- 4.4 Aggregate Maintenance
- 4.5 Record Layout
- 4.6 Query Tuning (1/3)
- 4.6 Query Tuning (2/3)
- 4.6 Query Tuning (3/3)
- 4.7 Triggers
- Bibliography
- Exercises
- CHAPTER 5. COMMUNICATING WITH THE OUTSIDE
-
CHAPTER 6. CASE STUDIES FROM WALL STREET
- 6.1 Techniques for Circumventing Superlinearity
- 6.2 Perform Data Integrity Checks at Input Time
- 6.3 Distribution and Heterogeneity
- 6.4 Trading Space for Time in History-Dependent Queries
- 6.5 Chopping to Facilitate Global Trades
- 6.6 Clustering Index Woes
- 6.7 Beware the Optimization
- 6.8 Disaster Planning and Performance
- 6.9 Keeping Nearly Fixed Data Up to Date
- 6.10 Deletions and Foreign Keys
- 6.11 Partitioning Woes: The Hazards of Meaningful Keys
- 6.12 The Problem of Time
- Bibliography
- Exercises
- CHAPTER 7. TROUBLESHOOTING
- CHAPTER 8. TUNING E-COMMERCE APPLICATIONS
- CHAPTER 9. CELKO ON DATA WAREHOUSES: TECHNIQUES, SUCCESSES, AND MISTAKES
- CHAPTER 10. DATA WAREHOUSE TUNING
- APPENDIX A. REAL-TIME DATABASES
- APPENDIX B. TRANSACTION CHOPPING
- APPENDIX C. TIME SERIES, ESPECIALLY FOR FINANCE
- APPENDIX D. UNDERSTANDING ACCESS PLANS
- APPENDIX E. CONFIGURATION PARAMETERS
- Glossary (1/6)
- Glossary (2/6)
- Glossary (3/6)
- Glossary (4/6)
- Glossary (5/6)
- Glossary (6/6)
- Index (1/6)
- Index (2/6)
- Index (3/6)
- Index (4/6)
- Index (5/6)
- Index (6/6)
- Author Biographies
Product information
- Title: Database Tuning
- Author(s):
- Release date: June 2002
- Publisher(s): Morgan Kaufmann
- ISBN: 9780080503783
You might also like
book
SQL Performance Tuning
is a handbook of practical solutions for busy database professionals charged with managing an organization's critically …
book
SQL Tuning
A poorly performing database application not only costs users time, but also has an impact on …
book
PostgreSQL 10 High Performance
Leverage the power of PostgreSQL 10 to design, administer and maintain a high-performance database solution About …
book
PostgreSQL for Data Architects
Discover how to design, develop, and maintain your database application effectively with PostgreSQL In Detail PostgreSQL …