Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: is there any formal commercial identity constraint cases

From: noah_mendelsohn@--.---.---
To: "Michael Kay" <mike@--------.--->
Date: 5/15/2007 11:10:00 AM
Michael Kay writes:

> As far as I can see you are conjecturing performance 
> difficulties here with no real evidence. I don't think there is
> any reason to believe that the cost of validating identity 
> constraints is likely to be a significant obstacle to real applications.

My intuition matches Michael's, with a couple of minor caveats:

1) Just because one can build efficient id-constraint implementations 
doesn't mean that any particular one you try to benchmark is built to be 
efficient.  Finding a slow implementation doesn't settle the question of 
whether the feature is inherently hard to optimize.  Finding a fast 
implementation at least shows what's possible.

2) I think it's clear that there are pathological uses of identity 
constraints that are likely to be slow.  For example, you could arrange in 
some schema and instance so that the keys would contain a significant 
fraction of the information in a document (a document that has mainly 
attributes, all of which are used in keys);  if the document were 
gigabytes long, then you could get gigabytes of key data.  I expect that 
many implementations will at least sometimes build key tables, and in a 
distorted example like this, those could get large and slow.  My intuition 
matches what I take to be Michael's position:  if you use id constraints 
in the obvious and intended ways, then the implementation overhead should 
be modest or negligible, for some definition of modest and negligible :-)

Noah

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------





From tmrfcm@g... Wed May 16 20:38:15 2007
Received: from wiggum.w3.org ([128.30.52.23])


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent