D
David Blickstein
In my XML Schema I'm dealing with, I can assume that key(x,y) and key(x,y,z)
always returns the same result set. That is, y is unique in key x
throughout the entire
document.
Does anyone know offhand if the performance of one form is likely to be
better than the other?
I would intuit that the 3-parameter form of key might actually be LESS
efficient in that the constraint can't be used in the key lookup but is an
additional filtering process that has to be done.
Unfortunately, I can't use IDs because I can't be guaranteed its declared in
a DTD.
always returns the same result set. That is, y is unique in key x
throughout the entire
document.
Does anyone know offhand if the performance of one form is likely to be
better than the other?
I would intuit that the 3-parameter form of key might actually be LESS
efficient in that the constraint can't be used in the key lookup but is an
additional filtering process that has to be done.
Unfortunately, I can't use IDs because I can't be guaranteed its declared in
a DTD.