Thursday, April 2, 2009

DB2 pureXML and stringIDs

You may have heard that DB2 pureXML uses so-called stringIDs instead of strings for internal processing. I plan to discuss them in an upcoming post. Until then, please guess which answer is correct:

A) DB2 replaces all strings with stringIDs.

B) DB2 replaces structural information such as element names, attribute names, namespace information, etc. with stringIDs.

C) DB2 replaces all attribute values with stringIDs for data compression (deep compression).

Which is correct (and why)? Feel free to comment.