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: Newbie question

Re: Newbie question

From: Paul <paul_at_test.com>
Date: Fri, 24 Jun 2005 01:05:14 +0100
Message-ID: <42bb4e3a$0$41937$ed2619ec@ptn-nntp-reader03.plus.net>


David Cressey wrote:
> There is value in avoiding round trips to the server.
>
> With regard to keeping the client and the database in synch with regard to
> data constraints (database constraints?),
> there is another alternative. Allow both the client and the database to
> inherit the constraints from a common source.

The constraints can in theory change at any time though, so how does the client keep up-to-date with these changes? To be totally safe it would have to check with the central constraint repository before everything it does that could be affected, which would be a massive overhead.

It could just check occasionally and hope that no relevant changes have been made in the meantime, but this doesn't seem totally satisfactory.

The other option is that changes to the constraints are pushed to the clients in a kind of replication scheme, which could be made transaction-safe. In effect the clients become mini-DBMSs partially replicating from the central DBMS.

It does sound like a good idea to have clients share the database constraints but the devil is in the details.

Paul. Received on Thu Jun 23 2005 - 19:05:14 CDT

Original text of this message

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