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
-
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
-
Product Details
- Title:
- Refactoring SQL Applications
- By:
- Stephane Faroult, Pascal L'Hermite
- Publisher:
- O'Reilly Media
- Formats:
-
- 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
