Refactoring Databases: Evolutionary Database Design (Hardcover)

Scott W. Ambler, Pramodkumar J. Sadalage

  • 出版商: Addison Wesley
  • 出版日期: 2006-03-13
  • 定價: $2,275
  • 售價: 9.5$2,161
  • 語言: 英文
  • 頁數: 384
  • 裝訂: Hardcover
  • ISBN: 0321293533
  • ISBN-13: 9780321293534
  • 相關分類: 資料庫Refactoring
  • 立即出貨




Refactoring has proven its value in a wide range of development projects–helping software professionals improve system designs, maintainability, extensibility, and performance. Now, for the first time, leading agile methodologist Scott Ambler and renowned consultant Pramodkumar Sadalage introduce powerful refactoring techniques specifically designed for database systems.

Ambler and Sadalage demonstrate how small changes to table structures, data, stored procedures, and triggers can significantly enhance virtually any database design–without changing semantics. You’ll learn how to evolve database schemas in step with source code–and become far more effective in projects relying on iterative, agile methodologies.

This comprehensive guide and reference helps you overcome the practical obstacles to refactoring real-world databases by covering every fundamental concept underlying database refactoring. Using start-to-finish examples, the authors walk you through refactoring simple standalone database applications as well as sophisticated multi-application scenarios. You’ll master every task involved in refactoring database schemas, and discover best practices for deploying refactorings in even the most complex production environments.

The second half of this book systematically covers five major categories of database refactorings. You’ll learn how to use refactoring to enhance database structure, data quality, and referential integrity; and how to refactor both architectures and methods. This book provides an extensive set of examples built with Oracle and Java and easily adaptable for other languages, such as C#, C++, or VB.NET, and other databases, such as DB2, SQL Server, MySQL, and Sybase.

Using this book’s techniques and examples, you can reduce waste, rework, risk, and cost–and build database systems capable of evolving smoothly, far into the future.


Table of Contents

About the Authors    xv

Forewords    xvii

Preface    xxi

Acknowledgments    xxvii

Chapter 1: Evolutionary Database Development    1

Chapter 2: Database Refactoring    13

Chapter 3: The Process of Database Refactoring    29

Chapter 4: Deploying into Production    49

Chapter 5: Database Refactoring Strategies    59

Chapter 6: Structural Refactorings    69

Chapter 7: Data Quality Refactorings    151

Chapter 8: Referential Integrity Refactorings    203

Chapter 9: Architectural Refactorings    231

Chapter 10: Method Refactorings    277

Chapter 11: Transformations    295

Appendix: The UML Data Modeling Notation    315

Glossary    321

References and Recommended Reading    327

Index    331



重構在各種開發專案中已經證明了其價值-幫助軟體專業人員改進系統設計、可維護性、可擴展性和性能。現在,領先的敏捷方法論家Scott Ambler和知名顧問Pramodkumar Sadalage首次介紹了專為資料庫系統設計的強大重構技術。



本書的後半部分系統地介紹了五個主要類別的資料庫重構。您將學習如何使用重構來增強資料庫結構、數據質量和參照完整性,以及如何重構架構和方法。本書提供了一套使用Oracle和Java構建的廣泛示例,並且可以輕鬆適應其他語言(如C#、C ++或VB.NET)和其他資料庫(如DB2、SQL Server、MySQL和Sybase)。