Book description
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. 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
- 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.
Table of contents
- Refactoring SQL Applications
- A Note Regarding Supplemental Files
- Preface
- 1. Assessment
- 2. Sanity Checks
- 3. User Functions and Views
- 4. Testing Framework
- 5. Statement Refactoring
- 6. Task Refactoring
- 7. Refactoring Flows and Databases
- 8. How It Works: Refactoring in Practice
- A. Scripts and Sample Programs
- B. Tools
- Index
- About the Authors
- Copyright
Product information
- Title: Refactoring SQL Applications
- Author(s):
- Release date: August 2008
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596551773
You might also like
book
Building Microservices, 2nd Edition
As organizations shift from monolithic applications to smaller, self-contained microservices, distributed systems have become more fine-grained. …
book
SQL for Data Analysis
With the explosion of data, computing power, and cloud data warehouses, SQL has become an even …
book
Designing Machine Learning Systems
Machine learning systems are both complex and unique. Complex because they consist of many different components …
book
Fundamentals of Data Observability
Quickly detect, troubleshoot, and prevent a wide range of data issues through data observability, a set …