<pedrocorreia.net ⁄>
 

<Dictionary Based Database Upgrades ⁄ >




clicks: 292 292 2009-01-06 2009-01-06 goto programacao myNews programacao  Bookmark This Bookmark This


The number one search term that brings people to this blog is "data dictionary." So this week I will begin a series on how to use the data dictionary to improve your own productivity and reduce errors.

Building And Upgrading

This week we are going to see how to use a data dictionary to eliminate upgrade scripts (mostly) and make for more efficient upgrades. The approach described here also works for installing a system from scratch, so an install and an upgrade become the same process.

The major problems with upgrade scripts are these:

* They are the least-tested code in any system, and are the most likely to break. If a script breaks and anybody but the original programmer is running the upgrade, this leads to aborted upgrades and upset customers.

* They are horribly inefficient when a customer upgrades after a long time: the same table may be rebuilt many times as script after script adds a column or two.

By contrast, a dictionary-based upgrade can take any customer from any version of your software and in the fewest steps possible bring them completely current, with no possibility of broken scripts.



este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:

http://database-programmer.blogspot.com/2009/01/dictionary-based-datab...




Subscribe News RSS  Subscribe News Updates by E-mail





myNews <myNews show="rand" cat="programacao" ⁄>

Zen Coding: A Speedy Way To Write HTML/CSS Code

How much time do you spend writing HTML code: all of those tags, attributes, quo (...)

clicks: 303 303 2009-11-23 2009-11-23 goto url (new window) smashingmagazin... goto myNews programacao


The Java serialization algorithm revealed

Serialization is the process of saving an object's state to a sequence of bytes; (...)

clicks: 350 350 2009-05-08 2009-05-08 goto url (new window) javaworld.com/c... goto myNews programacao


Real World Haskell

Haskell is most likely quite different from any language you've ever used before (...)

clicks: 484 484 2008-05-14 2008-05-14 goto url (new window) book.realworldh... goto myNews programacao


Parsing JSON in Haskell

Here is the JSON parser I referred to in the previous post. It's not heavily doc (...)

clicks: 579 579 2007-05-06 2007-05-06 goto url (new window) notes-on-haskel... goto myNews programacao


Understanding Ternary Trees

Name-value pairs occur all over the place in software. If you have a large set o (...)

clicks: 248 248 2009-06-21 2009-06-21 goto url (new window) pcplus.co.uk/no... goto myNews programacao


C# 3.0 partial methods - What, why and how?

In this post I want to talk about a new C# 3.0 feature, called partial methods, (...)

clicks: 551 551 2007-09-30 2007-09-30 goto url (new window) community.bartd... goto myNews programacao


The Easiest Way to Build your First iPhone App

Mobile websites have come a long way, but if you want to take full advantage of (...)

clicks: 77 77 2010-01-30 2010-01-30 goto url (new window) net.tutsplus.co... goto myNews programacao


jsSO - Flash Shared Objects in Javascript

Lately I was discussing about programming a flash-based multiuser game using sha (...)

clicks: 296 296 2009-10-11 2009-10-11 goto url (new window) pro-web.at/proj... goto myNews programacao