Database Change Management Tool

本文介绍了一种用于敏捷开发环境中的数据库变更管理工具——DBMaintain。该工具通过Checksum标记跟踪已部署的更新,确保增量更新的准确性和效率。适用于解决脚本重复执行、变更追踪等问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

数据库的变更管理

 

工具地址: 

http://dbdeploy.com/documentation/taking-control-of-your-database-development-white-paper/ 

http://dbmaintain.sourceforge.net/overview.html  

 

 在敏捷开发的时候,功能不断变化,有时候需要变更数据库的Table,View或者Stored Procedure或者修改数据等等

在功能开发完成后,需要deploy到QA,UAT环境中,如果没有自动化的数据库Deploy工具,那么手动一个个去执行这些数据库脚本是非常费时费力的,而且有时候有些数据库脚本已经执行过了。还有一种比较复杂的情况,比如脚本002_Create_Table..., 这个脚本后来发现有错误,所以修改了这个脚本到数据库中,而从QA环境的数据库检查来看,已经执行了这个脚本,所以就会犹豫到底要不要执行这个脚本呢?  

 

DBMaintain:You no longer have to keep track of which database updates have been deployed on which database - DbMaintain does this for you. The database itself keeps track of the scripts that have been applied. A checksum is stored for each script that to ensure nothing has changed to the scripts that were already applied 
 

使用CheckSum标记,上面都问题就迎刃而解。

Updates are performed incrementally: Only what has been changed since the last deployment is applied. Features such as repeatable scripts, postprocessing scripts, multi-database / database user support and support for patches turn DbMaintain into a complete solution for the enterpris 

 

不过理论上看来没有什么,但是也是需要具体问题具体实践。 

 

 

转载于:https://www.cnblogs.com/zengyongjoy/archive/2012/07/22/2604149.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值