Re: In an RDBMS, what does "Data" mean?

From: Gene Wirchenko <genew_at_mail.ocis.net>
Date: Mon, 12 Jul 2004 18:02:10 -0700
Message-ID: <f6c6f052f1df8u4vpfmf2n2fbh9vet3qlc_at_4ax.com>


"Anthony W. Youngman" <wol_at_thewolery.demon.co.uk> wrote:

>In message <40dd54f7$0$48920$e4fe514c_at_news.xs4all.nl>, mAsterdam
><mAsterdam_at_vrijdag.org> writes
>>Ok, so we have some order preserved in M, even if there is no
>>explicit field on which to sort (or explicit next/prior field).
>>This does not come free of charge:
>>When inserting some new piece into an ordered thing, we must
>>take care to put it in the right spot in the order. We must
>>be aware of the order of earlier, existing things.
>>When processing large amounts of data, we have to take care to
>>preserve the order: it might be relevant.
>>It might not, but we have no way of telling because it is implicit.
>>What to do when merging things?
>
>Let's be practical, not theoretical ... :-)

     Let us do both.

>Under what circumstances would a *database* muck about with the data
>(any data) and do things like altering the order or value of things?

     Why would a database (a collection of data) do anything? "DBMS" would fit the context better.

>It only ever changes data when under the control of an application or
>something like that. And the app knows whether or not to preserve order.

     Which app? There could be several programs hitting the data. Should the rules change, do you want the job of tracking down all of the places where the rules are enforced?

>And anyway, let's contrast it with a relational database. The rdbms will
>have an attribute called "sort order" or similar, and it won't have a
>clue what to do with it. It's up to the app to update that attribute, so

     Use it to sort.

>whether you have an MV or an R dbms, it's up to the app to control what
>happens when the data is changed. It's just that "order" is metadata to
>an MVdbms, but data to an Rdbms.
>
>So the cost is identical, whichever dbms model you are using. But MV
>scores because it understands and can take advantage of order, if it's
>appropriate.

     So can a relational system.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:

     I have preferences.
     You have biases.
     He/She has prejudices.
Received on Tue Jul 13 2004 - 03:02:10 CEST

Original text of this message