10 Reasons why DBAs Should Use Native XML Conor O’Mahony [email_address]
Intro <ul><li>Native XML storage is often the best option </li></ul><ul><li>However, sometimes shredding or LOB storage ar...
1 Learn Valuable New  XML Skills <ul><li>XML is rapidly gaining adoption </li></ul><ul><li>XML ubiquity for certain inform...
<ul><li>Reduce Server Load for Queries Against XML Data </li></ul>2 www.ibm.com/developerworks/db2/ library/techarticle/dm...
3 www.ibm.com/developerworks/db2/ library/techarticle/dm-0612nicola/ <ul><li>For shredding, the server must do more work w...
4 <ul><li>Native XML storage format is typically optimized for XML. </li></ul><ul><li>Shredding often requires you to stor...
5 Eliminate Relational Mapping for XML Data <ul><li>If shredding, mapping to relational is cumbersome </li></ul><ul><li>Ma...
6 Easier Interactions with Development <ul><li>Provide them with simpler data insert commands, when compared with shreddin...
7 Provide Better Interface for Querying XML Data <ul><li>Use query languages specially designed for working with XML data:...
8 Optimize Schema Usage <ul><li>Use the best schema </li></ul><ul><li>XML schemas for XML data  </li></ul><ul><li>Relation...
9 Easier Updates for  XML Data <ul><li>Quick and easy updates </li></ul><ul><li>Avoid costly LOB scenario of retrieving, p...
10 XML for Data with Frequent Schema Changes <ul><li>XML is ideal for data whose format frequently changes </li></ul><ul><...
Upcoming SlideShare
Loading in...5
×

10 Reasons why DBAs Should Use Native XML - Conor O'Mahony

950

Published on

Here are 10 reasons why relational database administrators should consider using native XML storage.

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
950
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "10 Reasons why DBAs Should Use Native XML - Conor O'Mahony"

  1. 1. 10 Reasons why DBAs Should Use Native XML Conor O’Mahony [email_address]
  2. 2. Intro <ul><li>Native XML storage is often the best option </li></ul><ul><li>However, sometimes shredding or LOB storage are better </li></ul><ul><li>Here are some reasons to use native XML storage </li></ul><ul><li>Some of them may apply to you </li></ul>
  3. 3. 1 Learn Valuable New XML Skills <ul><li>XML is rapidly gaining adoption </li></ul><ul><li>XML ubiquity for certain information is inevitable </li></ul><ul><li>Knowing the optimal ways to store XML is a valuable skill </li></ul>
  4. 4. <ul><li>Reduce Server Load for Queries Against XML Data </li></ul>2 www.ibm.com/developerworks/db2/ library/techarticle/dm-0612nicola/ <ul><li>For XML data, queries are often faster when XML is stored in native form </li></ul><ul><li>For details, see: </li></ul>
  5. 5. 3 www.ibm.com/developerworks/db2/ library/techarticle/dm-0612nicola/ <ul><li>For shredding, the server must do more work when inserting XML data. </li></ul><ul><li>For more information, see: </li></ul>Reduce Server Load During Insert of XML Data
  6. 6. 4 <ul><li>Native XML storage format is typically optimized for XML. </li></ul><ul><li>Shredding often requires you to store additional copy of XML in CLOB to meet compliance needs </li></ul>More Efficient Storage
  7. 7. 5 Eliminate Relational Mapping for XML Data <ul><li>If shredding, mapping to relational is cumbersome </li></ul><ul><li>Maintaining the extra relational fields is cumbersome </li></ul><ul><li>If updating schemas, need to update the mappings. Ugh! </li></ul>
  8. 8. 6 Easier Interactions with Development <ul><li>Provide them with simpler data insert commands, when compared with shredding </li></ul><ul><li>Provide them with simpler query commands </li></ul>
  9. 9. 7 Provide Better Interface for Querying XML Data <ul><li>Use query languages specially designed for working with XML data: SQL/XML or XQuery </li></ul><ul><li>More expressive, powerful, and efficient </li></ul>
  10. 10. 8 Optimize Schema Usage <ul><li>Use the best schema </li></ul><ul><li>XML schemas for XML data </li></ul><ul><li>Relational schemas for relational data </li></ul>
  11. 11. 9 Easier Updates for XML Data <ul><li>Quick and easy updates </li></ul><ul><li>Avoid costly LOB scenario of retrieving, parsing, updating, and storing </li></ul>
  12. 12. 10 XML for Data with Frequent Schema Changes <ul><li>XML is ideal for data whose format frequently changes </li></ul><ul><li>XML schemas are more flexible </li></ul><ul><li>XML data is more flexible </li></ul>

×