Buying Options
Refactoring SQL Applications
Print $44.99
Add to Cart
Print+Ebook $49.49
Add to Cart
Ebook $35.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £34.50
Add to Cart
What is this?
Description
What can you do when database performance doesn't meet expectations? This book offers methods for refactoring (or changing) SQL code to improve performance without altering a database application's purpose -- and helps you do it on a shoestring budget. This isn't a rehash of theory, but a tested set of options for making code modifications to dramatically improve the way your applications function.
Full Description
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

View Full Table of Contents
Product Details
Title:
Refactoring SQL Applications
By:
Stephane Faroult, Pascal L'Hermite
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
August 2008
Ebook Release:
February 2009
Pages:
304
Print ISBN:
978-0-596-51497-6
| ISBN 10:
0-596-51497-2
Ebook ISBN:
978-0-596-10300-2
| ISBN 10:
0-596-10300-X
Customer Reviews
About the Authors
  1. Stephane Faroult

    Stephane Faroult first discovered relational databases and the SQL language back in 1983. He joined Oracle France in their early days (after a brief spell with IBM and a bout of teaching at the University of Ottawa) and soon developed an interest in performance and tuning topics. After leaving Oracle in 1988, he briefly tried to reform and did a bit of operational research, but after one year, he succumbed again to relational databases. He has been continuously performing database consultancy since then, and founded RoughSea Ltd in 1998.

    View Stephane Faroult's full profile page.

  2. Pascal L'Hermite

    Pascal L'Hermite has been working with relational databases in OLTP, production and development environments on Oracle Databases for the past 12 years and on Microsoft SQL Server for the past 5 years.

    View Pascal L'Hermite's full profile page.

  • Book cover of Refactoring SQL Applications