Refactoring databases evolutionary database design = 数据库重构 /

副标题:无

作   者:Scott W.Ambler, Pramod J.Sadalage.

分类号:

ISBN:9787115155702

微信扫一扫,移动浏览光盘

简介

  重构技术已经在领域广泛的开发项目中证明了自身的价值——帮助软件   专业人士改善系统的设计、可维护性、可扩展性和性能。本书首次披露了为   数据库系统专门设计的强大重构技术。      本书展示了如何在不改变语义的情况下,对表结构、数据、存储过程及   触发器等略作改动,就可以给数据库设计带来实质上的飞跃。      这是一本内容全面的参考、指南书,全面介绍了数据库重构涉及的每个   基本观念,运用完整的实例,带领读者学习从重构简单的孤立数据库应用程   序到重构复杂的多应用程序环境的全过程,并讲述了数据库重整的五大主要   类别。读者将学会如何运用重构改善数据库结构、数据质量和参照完整性,   如何同时对结构和方法进行重整。本书提供了用Oracle和Java建立的多种实   例,并可以方便地转换成C#、C++、VB.NET等其他语言或DB2、SQL Server、   MySQL、Sybase等其他数据库。      运用本书的技术和实例,读者可以减少浪费和重复工作,降低风险和成   本,建立能够顺利发展以适应未来需求的数据库系统。

目录

Chapter 1:Evolutionary Database Development 
 1.1 Database Refactoring 
 1.2 Evolutionary Data Modeling 
 1.3 Database Regression Testing 
 1.4 Configuration Management of Database Artifacts 
 1.5 Developer Sandboxes 
 1.6 Impediments to Evolutionary Database Development Techniques 
 1.7 What You Have Learned 
Chapter 2:Database Refactoring 
 2.1 Code Refactoring 
 2.2 Database Refactoring 
 2.3 Categories of Database Refactorings 
 2.4 Database Smells 
 2.5 How Database Refactoring Fits In 
 2.6 Making It Easier to Refactor Your Database Schema 
 2.7 What You Have Learned 
Chapter 3:The Process of Database Refactoring 
 3.1 Verify That a Database Refactoring Is Appropriate 
 3.2 Choose the Most Appropriate Database Refactoring 
 3.3 Deprecate the Original Database Schema 
 3.4 Test Before, During, and After 
 3.5 Modify the Database Schema 
 3.6 Migrate the Source Data 
 3.7 Refactor External Access Program(s) 
 3.8 Run Your Regression Tests 
 3.9 Version Control Your Work 
 3.10 Announce the Refactoring 
 3.11 What You Have Learned 
Chapter 4:Deploying into Production 
 4.1 Effectively Deploying Between Sandboxes 
 4.2 Applying Bundles of Database Refactorings 
 4.3 Scheduling Deployment Windows 
 4.4 Deploying Your System
 4.5 Removing Deprecated Schema 
 4.6 What You Have Learned 
Chapter 5:Database Refactoring Strategies 
 5.1 Smaller Changes Are Easier to Apply 
 5.2 Uniquely Identify Individual Refactorings 
 5.3 Implement a Large Change by Many Small Ones 
 5.4 Have a Database Configuration Table 
 5.5 Prefer Triggers over Views or Batch Synchronization 
 5.6 Choose a Sufficient Transition Period 
 5.7 Simplify Your Database Change Control Board (CCB) Strategy 
 5.8 Simplify Negotiations with Other Teams 
 5.9 Encapsulate Database Access 
 5.10 Be Able to Easily Set Up a Database Environment 
 5.11 Do Not Duplicate SQL 
 5.12 Put Database Assets Under Change Control 
 5.13 Beware of Politics 
 5.14 What You Have Learned 68 Online Resources 
Chapter 6:Structural Refactorings 
 Common Issues When Implementing Structural Refactorings 
 Drop Column 
 Drop Table 
 Drop View 
 Introduce Calculated Column 
 Introduce Surrogate Key 
 Merge Columns 
 Merge Tables 
 Move Column 
 Rename Column 
 Rename Table 
 Rename View 
 Replace LOB With Table 
 Replace Column 
 Replace One-To-Many With Associative Table 
 Replace Surrogate Key With Natural Key 
 Split Column 
 Split Table 
Chapter 7:Data Quality Refactorings 
 Common Issues When Implementing Data Quality Refactorings 
 Add Lookup Table 
 Apply Standard Codes 
 Apply Standard Type 
 Consolidate Key Strategy 
 Drop Column Constraint 
 Drop Default Value 
 Drop Non-Nullable 
 Introduce Column Constraint 
 Introduce Common Format 
 Introduce Default Value 
 Make Column Non-Nullable 
 Move Data 
 Replace Type Code With Property Flags 
Chapter 8:Referential Integrity Refactorings 
 Add Foreign Key Constraint 
 Add Trigger For Calculated Column 
 Drop Foreign Key Constraint 
 Introduce Cascading Delete 
 Introduce Hard Delete 
 Introduce Soft Delete 
 Introduce Trigger For History 
Chapter 9:Architectural Refactorings 
 Add CRUD Methods 
 Add Mirror Table 
 Add Read Method 
 Encapsulate Table With View 
 Introduce Calculation Method 
 Introduce Index 
 Introduce Read-Only Table 
 Migrate Method From Database 
 Migrate Method To Database 
 Replace Method(s) With View 
 Replace View With Method(s) 
 Use Official Data Source 
Chapter 10:Method Refactorings 
 10.1 Interface Changing Refactorings
 10.2 Internal Refactorings 
Chapter 11:Transformations 
 Insert Data 
 Introduce New Column 
 Introduce New Table 
 Introduce View 
 Update Data 
Appendix:The UML Data Modeling Notation 
Glossary 
References and Recommended Reading 
Index

已确认勘误

次印刷

页码 勘误内容 提交人 修订印次

Refactoring databases evolutionary database design = 数据库重构 /
    • 名称
    • 类型
    • 大小

    光盘服务联系方式: 020-38250260    客服QQ:4006604884

    意见反馈

    14:15

    关闭

    云图客服:

    尊敬的用户,您好!您有任何提议或者建议都可以在此提出来,我们会谦虚地接受任何意见。

    或者您是想咨询:

    用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问

    Video Player
    ×
    Audio Player
    ×
    pdf Player
    ×
    Current View

    看过该图书的还喜欢

    some pictures

    解忧杂货店

    东野圭吾 (作者), 李盈春 (译者)

    loading icon