What can you do when database performance doesn't meet expectations? Before you turn to expensive hardware upgrades to solve the problem, reach for this book. "Refactoring SQL Applications" provides a set of tested options for making code modifications to dramatically improve the way your database applications function. Backed by real-world examples, you'll find quick fixes for simple problems, in-depth answers for more complex situations, and complete solutions for applications with extensive problems.In this work, learn to: determine if and where you can expect performance gains; apply quick fixes, such as limiting calls to the database in stored functions and procedures; refactor tasks, such as replacing application code by a stored procedure, or replacing iterative, procedural statements with sweeping SQL statements; refactor flow by increasing parallelism and switching business-inducted processing from synchronous to asynchronous; refactor design using schema extensions, regular views, materialized views, partitioning, and more; and, compare before and after versions of a program to ensure you get the same results once you make modifications.
"Refactoring SQL Applications" teaches you to recognize and assess code that needs refactoring, and to understand the crucial link between refactoring and performance. If and when your application bogs down, this book will help you get it back up to speed.
- ISBN10 0596514972
- ISBN13 9780596514976
- Publish Date 30 September 2008 (first published 22 August 2008)
- Publish Status Active
- Out of Print 1 October 2024
- Publish Country US
- Imprint O'Reilly Media
- Format Paperback
- Pages 277
- Language English