Refactoring Legacy T-SQL for Improved Performance
Apress (Verlag)
978-1-4842-5580-3 (ISBN)
Legacy code isn’t just found in queries and external applications. It’s also found in the definitions of underlying database objects such as views and tables. This book helps you quickly find problematic code throughout the database and points out where and how modern solutions can replace older code, thereby making your legacy applications run faster and extending their lifetimes. Author Lisa Bohm explains the logic behind each anti-pattern, helping you understand why each pattern is a problem and showing how it can be avoided. Good coding habits are discussed, including guidance on topics such as readability and maintainability.
What You Will Learn
Find specific areas in code to target for performance gains
Identify pain points quickly and understand why they are problematic
Rewrite legacy T-SQL to reduce or eliminate hidden performance issues
Write modern code with an awareness of readability and maintainability
Recognize and correlate T-SQL anti-patterns with techniques for better solutions
Make a positive impact on application user experience in your organization
Who This Book Is For
Database administrators or developers who maintain older code, those frustrated with complaints about slow codewhen there is so much of it to fix, and those who want a head start in making a positive impact on application user experience in their organization
Lisa Bohm leads a team of database administrators for a software development company. Her history with legacy database code began early in her career with a summer project to rewrite the chemical inventory database for the research division of a local VA hospital. From there, she went on to building front-end web applications. When the web calls timed out, Lisa dug in to learn what databases can do. She has since transitioned into database administration, inheriting and improving legacy applications along the way. Her personal focus remains on solid database architecture and writing well-performing T-SQL.
Part I. Everything Is Slow.-1. T-SQL Triage.-2. Documentation.-.-Part II. Database Structure.-3. Database Tables.-4. Database Views.-.-Part III. CRUD Objects.-5. Triggers.-6. Stored Procedures.-7. Functions.-.-Part IV. The Bad and The Ugly.-8. Agent Jobs.-9. External Influences.
Erscheinungsdatum | 17.01.2020 |
---|---|
Zusatzinfo | 11 Illustrations, black and white; XXI, 236 p. 11 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 178 x 254 mm |
Themenwelt | Informatik ► Datenbanken ► SQL Server |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Schlagworte | indexes • Legacy Code • OVER Clause • Performance • Query Tuning • Stored Functions • Stored Procedures • subqueries • Table Variables • Temporary Tables • Temp Tables • Transact-SQL • Triggers • T-SQL • Views • Window functions |
ISBN-10 | 1-4842-5580-1 / 1484255801 |
ISBN-13 | 978-1-4842-5580-3 / 9781484255803 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich