Books & Videos

Table of Contents

  1. Chapter 1 Assessment

    1. A Simple Example

    2. Assessing Possible Gains

  2. Chapter 2 Sanity Checks

    1. Statistics and Data Skewness

    2. Indexing Review

    3. Parsing and Bind Variables

    4. Bulk Operations

    5. Transaction Management

  3. Chapter 3 User Functions and Views

    1. User-Defined Functions

    2. Views

  4. Chapter 4 Testing Framework

    1. Generating Test Data

    2. Comparing Alternative Versions

  5. Chapter 5 Statement Refactoring

    1. Execution Plans and Optimizer Directives

    2. Analyzing a Slow Query

    3. Refactoring the Query Core

    4. Rebuilding the Initial Query

  6. Chapter 6 Task Refactoring

    1. The SQL Mindset

    2. Restructuring the Code

  7. Chapter 7 Refactoring Flows and Databases

    1. Reorganizing Processing

    2. Shaking Foundations

  8. Chapter 8 How It Works: Refactoring in Practice

    1. Can You Look at the Database?

    2. Queries of Death

    3. All These Fast Queries

    4. No Obvious Very Wrong Query

    5. Time to Conclude

  1. Appendix Scripts and Sample Programs

    1. Chapter 1

    2. Chapter 2

    3. Chapter 3

    4. Chapter 4

    5. Chapter 5

    6. Chapter 6

    7. Chapter 7 (MySQL)

  2. Appendix Tools

    1. mklipsum and lipsum

    2. Roughbench