When To Store Data As XML ?: Philip Nelson Lloyds Banking Group PLC
When To Store Data As XML ?: Philip Nelson Lloyds Banking Group PLC
Philip Nelson
Lloyds Banking Group PLC
Agenda
NO
Focus Of Education
Application development : SQL
Database design targets relational structures
Traditional (DB) World View
The World Is Not All Tabular
Much is unstructured
More is semi-structured
Some is hierarchical
When to Use XML
Sparse Attributes
Information Interchange
Volatile Data Structures
Examples
Organisational structures
Bill of Materials
Unnecessary processing
Information interchange
Became seen as a means of representing data in
transit
Many industry-specific dialects / schemas
produced to enable B2B processes
Web standards
Basis of, among other things, web services
Storing XML
Shredded to 80 tables
Faster storage
Direct reads
Direct updates
Easier shredding (XMLTABLE)
Easier XML construction
PureXML : Faster Storage
In conclusion
Native XML storage is now an option to be
considered (we have the technology)
Not for everything : many data storage
requirements are better suitable to relational
Learn to know the signs of when XML is better
Other technologies (e.g. Big Data) will introduce
yet other data storage formats
The great thing is you can mix and match
Philip Nelson
([email protected])