19.06.2013 Views

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Composition - Extender and Publishing<br />

30<br />

25<br />

20<br />

15<br />

10<br />

5<br />

0<br />

Figure 7-20 XML extender vs. SQL publishing functions<br />

The XML publishing functions outper<strong>for</strong>m the XML composition by a factor 20 and more<br />

mostly due to the fact that the XML publishing functions are built into the <strong>DB2</strong> engine. The<br />

measurement was done <strong>for</strong> documents up to 5.8 MB as the limit of 10240 rows was reached.<br />

The XML Extender cannot insert more than 10240 rows into any table when composing an<br />

XML document.<br />

In Figure 7-21 the results <strong>for</strong> document composition <strong>for</strong> CLOBs up to 6 MB are presented.<br />

sec.<br />

0.8<br />

0.7<br />

0.6<br />

0.5<br />

0.4<br />

0.3<br />

0.2<br />

0.1<br />

0<br />

1M doc 2M doc 3M doc 4M doc 5.8M<br />

doc<br />

COMP Elapsed SQL/XML Elapsed<br />

Composition by XML Publishing<br />

1M 2M 3M 4M 6M<br />

Figure 7-21 Composition by XML publishing functions<br />

Elapsed<br />

CPU<br />

The elapsed and CPU time used by the XML publishing functions to compose XML<br />

documents scales nearly linear.<br />

Chapter 7. Networking and e-business 311

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!