Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: database integrity

Re: database integrity

From: Kenneth Downs <knode.wants.this_at_see.sigblock>
Date: Thu, 19 May 2005 10:58:52 -0400
Message-Id: <t9mul2-gpp.ln1@pluto.downsfam.net>


mountain man wrote:

> Q1: What is database integrity?
>
> A1: A measure of the self-referential consistency of all
> the relations existent between the physical data elements
> defined in the schema of a database.
>
> Any disagreements, improvements, comments?
>

Two big areas:

  1. Free from corruption
  2. It is valid, or more verbosely, adheres to validity rules

Item 1 is pretty simple, it means only that the disk drive didn't fail, or the magtape didn't get folded, or the punched card didn't get bent. Corruption is one way that data can become invalid.

That leaves Item 2, which we expand by determining the allowable kinds of validity rules. The basics are domain integrity, entity integrity and referential integrity. Practically speaking I have found it necessary to add only comparative constraints between a columns.

One question on my mind is the change in rules over time. Do we say:

  1. Data is valid if it adheres to all existing biz rules, OR:
  2. Data is valid if it adheres to rules that were in force when it was inserted or updated.
-- 
Kenneth Downs
Secure Data Software, Inc.
(Ken)nneth@(Sec)ure(Dat)a(.com)
Received on Thu May 19 2005 - 09:58:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US