Subject | Re: [Firebird-Architect] Re: [IB-Architect] Rebuilding foreign keys system indexes |
---|---|
Author | Martijn Tonies |
Post date | 2003-04-22T08:02:54Z |
Hi Claudio,
instead of each row... Also quite a nice addition :)
used a lot? ( I can image this for database wide constraints instead of
table wide)
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
See you at the First European Firebird Conference in May in Fulda, Germany
http://www.firebird-conference.com
> > What do DEFERRED constraints actually mean? When DO they startmore
> > checking? And when don't they?
>
> The current constraint implementation is fired when a record is inserted,
> updated or deleted. There are some relationships that may need data in
> than one table to be valid. Currently, these cases can't be validated orin
> they would be rejected. Triggers aren't a reliable solution for this task
> multi-user environments.Which reminds me - Oracle also has triggers that fire after each statement
instead of each row... Also quite a nice addition :)
> AFAIK, Sybase allows deferred constraints. One changed table as seen aloneinvolved
> may be inconsistent at the time the operations over it are being done, but
> if the change to all tables is analyzed after several operations, we can
> find that we got the equivalent of an OODBMS' state change for all
> objects, where the configuration as a whole went from one consistent stateAny idea if this would be possible, easily? Are DEFERRED constraints
> through another consistent state, even if there were intermediate steps of
> inconsistency. For a relational engine, this means all the DEFERRED
> constraints must be checked at commit time. David's first example can be
> assimilated to the second, if you commmit after a single statement that
> produces multiple changes in a table.
used a lot? ( I can image this for database wide constraints instead of
table wide)
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
See you at the First European Firebird Conference in May in Fulda, Germany
http://www.firebird-conference.com