| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Concurrency in an RDB
Marshall wrote:
> On Dec 23, 5:08 pm, "David" <davi..._at_iinet.net.au> wrote:
>
>>Marshall wrote:
[snip]
>>>>I have the impression (please correct me if I'm wrong) that your >>>>assumption that a DB should always be in a valid state is coloured by >>>>the (relational) problems that you have expertise in. >> >>>Certainly this is always true for everyone. However I am having >>>a hard time seeing the value of your approach given how much >>>less it lets us count on the dbms. >> >>Is it really a problem? A workflow can easily force a user to run the >>verification as part of the process of using the DB within a system. >> >>As an example, good software companies have a release engineering >>workflow that ensures that the release has passed various unit tests, >>regression tests etc before it can be released. It goes without saying >>that it must compile successfully.
But we can easily have both with the RM. Nothing prevents the RM from expressing predicates of the form: "The code is compilable or the status is not 'compilable'." Similarly, nothing prevents the RM from having two relations where one relation contains only compilable code and the other contains any version of the code.
> In my experience, constraints hold if and only if they are
> centrally enforced. Those constraints that everyone knows
> of and which are supposed to be enforced in application
> code are a distant memory, victims of broken windows
> syndrome.
>
>
>
>>>I'm also unclear on how much >>>I have to give up in the way of integrity enforcement. I'm having >>>a hard time building a mental model for that. Your intent only to >>>speak at a high level somewhat exacerbates this difficulty. >> >>>Hmm, I just had an interesting idea. Perhaps the issues your >>>idea raises could be dealt with as a "quality of service" issue. >>>Where one needs strict durability, one could so specify externally >>>to the application. >> >>>This is a bit tricky because of the question of guarantees of >>>desirable properties. One area I'm interested in is >>>static analysis, and that's entirely dependent on building >>>theorems from known properties of a system. Weakening >>>those properties might render some analysis techniques >>>unsound. >> >>Examples of that would be relevant to this discussion.
Hear! Hear! Received on Sat Dec 23 2006 - 21:43:46 CST
![]() |
![]() |