| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: It don't mean a thing ...
In article <40c80c24$0$48933$e4fe514c_at_news.xs4all.nl>, mAsterdam wrote:
> Chris Hoess wrote:
> > I'll try to get this barrier sharp: > Under a closed world assumption any value of type LENGTH > may sometimes be in abstract units without denoting > the actual units - however, to interpret these values > *outside* the closed world we *need* an associated unit. > > The predicate (as used in the 3rd manifesto) serves > as the README for a relational variable. > > >Thoughts? Am I making sense here? > > I think so. > Are we talking about the same things here? > I think so. (At least: I hope so :-)
Yes, I also think so. This also ties in to the discussion here about "human-readable" language. What is the advantage of this, after all? Verbose languages are a disadvantage to the programmer-more typing to express himself. The reason we are interested is because of this "invisible" semantic layer. Because these are concepts, ideas in people's heads that can't be directly copied and passed around, the programmer may not have gotten them quite right--so we want a language where the "digital" portion of the constraints (values and which columns they apply to, etc.) can easily be coupled to the "semantics" and checked for real-world correctness not by the programmer, but by someone with "domain knowledge". This is also why pushing constraints into the application is dangerous--each application programmer has to decompose the real-world constraints into the "semantic" and "digital" portions, and it's easy to make a mistake with the semantics. Better to do it once and do it right.
(For that matter, it's a bit of a strawman to make the distinction between constraints "stored" in the application and in the database. If the DBMS has a good system catalog, the application should be able to query the DBMS for the relevant constraints and apply them as it initializes itself, so centralized storage of constraints doesn't mean that they can only be checked at the database level.)
Looking back, most of this post seems to be stating the obvious, but then again, nothing is really obvious in c.d.t...
-- Chris HoessReceived on Thu Jun 17 2004 - 21:32:37 CDT
![]() |
![]() |