Re: Proving an Upgrade is Possible
Date: Sat, 04 Jun 2005 22:41:20 GMT
Message-ID: <k6qoe.110941$iH7.6600770_at_phobos.telenet-ops.be>
Kenneth Downs wrote:
> If you have a data dictionary containing the meta data that describes the
> database, an upgrade = a change to the data dicitonary. So just as a user
> transaction changes the state of a database, an upgrade changes the meta
> data, or the meta state.
Ok. So you are talking about updates to the database schema.
> My goal is to always know completely whether all structure changes to a db
> are valid.
> Here is a case of where you can prove an upgrade will fail, or at least you
> cannot prove it will succeed. If the WIDGETS table currently has a unique
> constraint on COL_A, COL_B, and COL_C, we know that an upgrade (or any
> change to the database) can fail if the new version has the unique
> constraint only on COL_A and COL_B. While it may succeed in some cases, it
> will fail in others.
- Jan Hidders