Refactoring SQL Applications
By
Stephane Faroult,
Pascal L'Hermite
August 2008
Pages: 296
| Table of Contents
Table of Contents
-
Chapter 1 Assessment
-
A Simple Example
-
Assessing Possible Gains
-
Chapter 2 Sanity Checks
-
Statistics and Data Skewness
-
Indexing Review
-
Parsing and Bind Variables
-
Bulk Operations
-
Transaction Management
-
Chapter 3 User Functions and Views
-
User-Defined Functions
-
Views
-
Chapter 4 Testing Framework
-
Generating Test Data
-
Comparing Alternative Versions
-
Chapter 5 Statement Refactoring
-
Execution Plans and Optimizer Directives
-
Analyzing a Slow Query
-
Refactoring the Query Core
-
Rebuilding the Initial Query
-
Chapter 6 Task Refactoring
-
The SQL Mindset
-
Restructuring the Code
-
Chapter 7 Refactoring Flows and Databases
-
Reorganizing Processing
-
Shaking Foundations
-
Chapter 8 How It Works: Refactoring in Practice
-
Can You Look at the Database?
-
Queries of Death
-
All These Fast Queries
-
No Obvious Very Wrong Query
-
Time to Conclude
-
Appendix Scripts and Sample Programs
-
Chapter 1
-
Chapter 2
-
Chapter 3
-
Chapter 4
-
Chapter 5
-
Chapter 6
-
Chapter 7 (MySQL)
-
Appendix Tools
-
mklipsum and lipsum
-
Roughbench
Return to Refactoring SQL Applications