SlideShare a Scribd company logo
1 of 31
Content Delivery Decisions
        for Technology Strategists
                 Thursday, November 29, 2012
                        11:40 – 12:40

Joseph Bachana
  President/Founder, DPCI
Leonor Ciarlone
  Principal, LMC Communications
Peter O'Kelly
  Principal Analyst, O'Kelly Associates
Overall Session Agenda
• Not Dead Yet: The Significant and Sustainable
  Synergy of XML and SQL
• Convergence of Content Technologies in the
  Open Source World
• Q&A




                                                  2
Agenda: Not Dead Yet
• Synopsis
• Complementary concerns
  – Resources
  – Relations
  – Apps
  – Admin/ops
• Perspectives and reality checks
• Recommendations
                                    3
Synopsis: Not Dead Yet
• XML and SQL are, respectively, the global
  standards for working with document- and Web-
  oriented information and traditional database
  management systems (DBMSs)
• However, both are also at least ostensibly under
  siege, with, e.g.,
  – Some application developers shifting their focus to
    JavaScript (and JSON, the JavaScript Object Notation)
  – Many software product marketing people and
    investors touting the professed power of "NoSQL"
    (and “NewSQL”) systems


                                                            4
Synopsis: Not Dead Yet
• The stakes are strategic, with ever-expanding
  compliance and competitive considerations, and
  with compelling new opportunities based on
  –   Big data
  –   Cloud services
  –   HTML5 clients
  –   Mobile devices
• [Spoiler alert: neither XML nor SQL is going away]


                                                       5
Agenda: Not Dead Yet
•   Synopsis
•   Complementary concerns
•   Perspectives and reality checks
•   Recommendations




                                      6
Resources and Relations
• A digital information item dichotomy
  – Resources (~unstructured information): “content”
     • Digital artifacts optimized to convey stories
         – Organized in terms of narrative, hierarchy, and sequence
     • Examples: books, magazines, documents (e.g., PDF, Word),
       Web pages, XBRL documents, video, hypertext…
  – Relations (~structured information): “data”
     • Application-independent descriptions of real-world things
       and relationships
     • Examples: business domain databases (e.g., customer, sales,
       HR…), data.com, wikidata.org…

                                                                      7
A Big-Picture Framework


 Resource    Relation




                          8
Separation of Concerns
• Back to basics
   – XML (with namespaces, XSD, XPath, XQuery, XSLT, …) for
     resources
       • Presentation
       • Structure
       • Behavior
   – SQL for relations
       • Application/data independence
       • Logical/physical data independence
• Related services for both information domains: identity,
  authentication, authorization, logging, transactions,
  indexing, dynamic storage optimization…
   – Ideally handled by underlying information management systems
     rather than applications

                                                                9
Complementary Concerns

              Apps




 Resource               Relation




            Admin/Ops

                                   10
Agenda: Not Dead Yet
•   Synopsis
•   Complementary concerns
•   Perspectives and reality checks
•   Recommendations




                                      11
Resource Perspectives

            Resource       Apps
                                     Relation

                         Admin/Ops




•   Every useful thing is a resource (document/page)
•   SQL is for uncreative and obsessive data nerds
•   Apps are interactive/compound resources
•   Admin/ops: somebody else’s problem
                                                   12
Relation Perspectives

                          Apps
                                 Relation
             Resource

                        Admin/Ops




•   Relations can describe all useful things
•   Resource: XML compound data type instance
•   Apps are interfaces for relation interaction
•   Admin/ops: somebody else’s problem
                                                   13
Application Perspectives
                        Apps

             Resource                Relation

                         Admin/Ops



•   Anything that’s not an app is just for archival
•   Resource => XML => verbose/unwieldy
•   Relation => SQL => impedance mismatch
•   Admin/ops: somebody else’s problem
                                                      14
Admin/Ops Perspectives
                          Apps

             Resource               Relation




                        Admin/
                         Ops
•   Robust/scalable admin/ops or we all go to jail
•   Resource => XML => eXtra Mondo Large files
•   Relation => SQL => a DBMS trying to be an OS
•   Apps: most likely to break infrastructure
                                                     15
Vendor Marketing Perspectives
• Resources: a Web-centric
  approach fixes everything
• Relations: NoSQL fixes
  everything
• Apps: JSON fixes everything
• Admin/ops: the cloud fixes
  everything


                                  16
A Reality Check


“Everything should be made
as simple as possible, but
no simpler.”




                              17
Modeling Abstractions
                        Resources                                 Relations

Conceptual    Documents and links; documents         Entities, attributes, relationships, and
               focused primarily on narrative,                       identifiers
                  hierarchy, and sequence

Logical              Model: hypertext                      Model: extended relational
                Language: XQuery (ideally…)                     Language: SQL


Physical       Indexing (e.g., scalar data types, XML, and full-text), locking and isolation
             levels (for transactions), federation, replication/synchronization, in-memory
                     databases, columnar storage, table spaces, caching, and more



                                                                                       18
A Resource Reality Check
• XML has some idiosyncrasies, but it’s beyond
  good-enough for its primary target domain, and
  it’s here to stay
  – Indeed, XML is, in some respects, just getting started
     • XQuery, in particular, is exceptionally powerful
• But XML should be made invisible to information
  architects, application developers, and admin/ops
  – They should work with tools that support their
    respective levels of abstraction, but that still leverage
    XML when appropriate



                                                                19
“A DBMS is good for my XML?”




                               20
A Relation Reality Check
• SQL has some idiosyncrasies, but it’s beyond
  good-enough for its primary target domain, and
  it’s here to stay
  – Being anti-SQL, ultimately, is being anti-set theory
     • Not a good bet when you’re describing sets of things
• But SQL should be made invisible to information
  architects, application developers, and admin/ops
  – They should work with tools that support their
    respective levels of abstraction, but that still leverage
    SQL when appropriate



                                                                21
XML and SQL
• XML and SQL are sustainably
  complementary
  – When used appropriately
• XQuery was designed – by a
  team including one of SQL’s
  creators – to complement SQL
• The market-leading RDBMSs
  can automatically ingest and
  generate XML
• Some leading XML servers are
  adding SQL support
                                 22
An App Perspective Reality Check
• The dreaded “impedance mismatch” is mostly a
  consequence of inadequate programming
  languages and tools
• Reverting to a programs-have-files perspective
  means ignoring decades of software engineering
  evolution
• Using JavaScript doesn’t have to preclude the
  effective use of XML and SQL
  – But tools that don’t entail major compromises are
    only now starting to appear

                                                        23
An Admin/Ops Reality Check
• DBMS evolution isn’t done yet
  – Multi-model DBMSs are now the enterprise norm
     • Including subsystems for XML, file steaming, spatial
       data, and more
  – Automatic “sharding”
     • New extensions to logical/physical database
       independence and database optimization
  – A leading indicator: watch what Google does with
    SQL (or “SQL-like” approaches) in BigQuery and
    Spanner

                                                              24
Agenda: Not Dead Yet
•   Synopsis
•   Complementary concerns
•   Perspectives and reality checks
•   Recommendations




                                      25
Recommendations
• Build consensus and establish clear criteria for
  what to use when (and how)
  – Otherwise people will often default to the tools
    and technologies with which they’re most familiar
     • And/or the most fun or résumé-enhancing
  – Best practices start with effective modeling and
    query formulation skills
     • Reminder: XML and SQL should be invisible to most of
       the people who benefit from using them


                                                              26
Recommendations
• Only invest in tools that don’t dumb-down
  XML or SQL DBMS usage patterns
  – RDBMS and XDBMS are exceptionally powerful
     • But not when they’re demoted to serve as basic file
       systems
  – Many advocates of “NoSQL/NewSQL” systems
    have large collections of simplifying assumptions
     • Sometimes going beyond “… as simple as possible”
        – With major compromises and trade-offs that are sometimes
          not fully understood until far into a project lifecycle

                                                                     27
Recommendations
• Start preparing now to fully leverage advances
  such as
  – Pervasive beyond-the-basics hypertext
  – Multi-model DBMSs that apply XML/SQL synergy
     • Especially high-performance XQuery/SQL integration
  – Don’t discount the possibility that the DBMS
    “usual suspects” (commercial and open source)
    will eventually provide the most effective XML +
    SQL products/services

                                                            28
Recap: Not Dead Yet
• XML and SQL are – and will continue to be –
  respectively, the global standards for working with
  document- and Web-oriented information and
  traditional DBMSs
   – Although they will ideally be invisible to most people
• Many of the alleged successors to XML- and SQL-
  related technologies are more complementary than
  competitive
   – JavaScript tools can productively coexist with XQuery and
     SQL, for example
   – Most “NoSQL” and “NewSQL” developments are primarily
     focused on the physical database layer, and aren’t in
     conflict with evolving XML and SQL DBMSs

                                                                 29
Recap: Not Dead Yet
• The stakes are strategic, with ever-expanding
  compliance and competitive considerations,
  and with compelling new opportunities
  – Which are likely to accelerate rather than derail
    XML and SQL market momentum
• This is an opportune time to build consensus
  on and skills in related techniques and tools


                                                        30
Q&A




      31

More Related Content

What's hot

Oracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout DesignOracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout DesignChris Muir
 
IbrahimUpdated_resume
IbrahimUpdated_resumeIbrahimUpdated_resume
IbrahimUpdated_resumeZigin
 
Oracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service ArchitecturesOracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service ArchitecturesChris Muir
 
Slides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
Slides: NoSQL Data Modeling Using JSON Documents – A Practical ApproachSlides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
Slides: NoSQL Data Modeling Using JSON Documents – A Practical ApproachDATAVERSITY
 
Diplomado Técnico SQL Server 2012 - Sesión 5/8
Diplomado Técnico SQL Server 2012 - Sesión 5/8Diplomado Técnico SQL Server 2012 - Sesión 5/8
Diplomado Técnico SQL Server 2012 - Sesión 5/8John Bulla
 
Sandy Shin SQL-CV
Sandy Shin SQL-CVSandy Shin SQL-CV
Sandy Shin SQL-CVSandyShin
 

What's hot (9)

Oracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout DesignOracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout Design
 
IbrahimUpdated_resume
IbrahimUpdated_resumeIbrahimUpdated_resume
IbrahimUpdated_resume
 
Oracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service ArchitecturesOracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service Architectures
 
Resume_of_sayeed
Resume_of_sayeedResume_of_sayeed
Resume_of_sayeed
 
Slides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
Slides: NoSQL Data Modeling Using JSON Documents – A Practical ApproachSlides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
Slides: NoSQL Data Modeling Using JSON Documents – A Practical Approach
 
Diplomado Técnico SQL Server 2012 - Sesión 5/8
Diplomado Técnico SQL Server 2012 - Sesión 5/8Diplomado Técnico SQL Server 2012 - Sesión 5/8
Diplomado Técnico SQL Server 2012 - Sesión 5/8
 
ForrestHouletteRevised
ForrestHouletteRevisedForrestHouletteRevised
ForrestHouletteRevised
 
Sandy Shin SQL-CV
Sandy Shin SQL-CVSandy Shin SQL-CV
Sandy Shin SQL-CV
 
SQL_DBA USA_M&T Bank
SQL_DBA USA_M&T BankSQL_DBA USA_M&T Bank
SQL_DBA USA_M&T Bank
 

Viewers also liked

Gilbane Boston 2012 Big Data 101
Gilbane Boston 2012 Big Data 101Gilbane Boston 2012 Big Data 101
Gilbane Boston 2012 Big Data 101Peter O'Kelly
 
T3 marketing automation and big data
T3 marketing automation and big dataT3 marketing automation and big data
T3 marketing automation and big dataPeter O'Kelly
 
Gilbane Boston 2011 big data
Gilbane Boston 2011 big dataGilbane Boston 2011 big data
Gilbane Boston 2011 big dataPeter O'Kelly
 
MLUC 2011 XQuery Enigma
MLUC 2011 XQuery EnigmaMLUC 2011 XQuery Enigma
MLUC 2011 XQuery EnigmaPeter O'Kelly
 
201407 MIT CDO IQ conceptual data modeling, big data, and information quality
201407 MIT CDO IQ conceptual data modeling, big data, and information quality201407 MIT CDO IQ conceptual data modeling, big data, and information quality
201407 MIT CDO IQ conceptual data modeling, big data, and information qualityPeter O'Kelly
 
Glibane 2016: How Consumer Cloud Conquered Corporate Control of Communication...
Glibane 2016: How Consumer Cloud Conquered Corporate Control of Communication...Glibane 2016: How Consumer Cloud Conquered Corporate Control of Communication...
Glibane 2016: How Consumer Cloud Conquered Corporate Control of Communication...Peter O'Kelly
 

Viewers also liked (6)

Gilbane Boston 2012 Big Data 101
Gilbane Boston 2012 Big Data 101Gilbane Boston 2012 Big Data 101
Gilbane Boston 2012 Big Data 101
 
T3 marketing automation and big data
T3 marketing automation and big dataT3 marketing automation and big data
T3 marketing automation and big data
 
Gilbane Boston 2011 big data
Gilbane Boston 2011 big dataGilbane Boston 2011 big data
Gilbane Boston 2011 big data
 
MLUC 2011 XQuery Enigma
MLUC 2011 XQuery EnigmaMLUC 2011 XQuery Enigma
MLUC 2011 XQuery Enigma
 
201407 MIT CDO IQ conceptual data modeling, big data, and information quality
201407 MIT CDO IQ conceptual data modeling, big data, and information quality201407 MIT CDO IQ conceptual data modeling, big data, and information quality
201407 MIT CDO IQ conceptual data modeling, big data, and information quality
 
Glibane 2016: How Consumer Cloud Conquered Corporate Control of Communication...
Glibane 2016: How Consumer Cloud Conquered Corporate Control of Communication...Glibane 2016: How Consumer Cloud Conquered Corporate Control of Communication...
Glibane 2016: How Consumer Cloud Conquered Corporate Control of Communication...
 

Similar to Gilbane Boston 2012: XML and SQL: Not Dead Yet

A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...Qian Lin
 
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...MySQL JSON Document Store - A Document Store with all the benefits of a Trans...
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...Olivier DASINI
 
Data Production Pipelines: Legacy, practices, and innovation
Data Production Pipelines: Legacy, practices, and innovationData Production Pipelines: Legacy, practices, and innovation
Data Production Pipelines: Legacy, practices, and innovationNatalino Busa
 
Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013EDB
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sqlAnuja Gunale
 
Choosing the Right Big Data Tools for the Job - A Polyglot Approach
Choosing the Right Big Data Tools for the Job - A Polyglot ApproachChoosing the Right Big Data Tools for the Job - A Polyglot Approach
Choosing the Right Big Data Tools for the Job - A Polyglot ApproachDATAVERSITY
 
NoSQL Now! NoSQL Architecture Patterns
NoSQL Now! NoSQL Architecture PatternsNoSQL Now! NoSQL Architecture Patterns
NoSQL Now! NoSQL Architecture PatternsDATAVERSITY
 
NoSQL Simplified: Schema vs. Schema-less
NoSQL Simplified: Schema vs. Schema-lessNoSQL Simplified: Schema vs. Schema-less
NoSQL Simplified: Schema vs. Schema-lessInfiniteGraph
 
Relational and non relational database 7
Relational and non relational database 7Relational and non relational database 7
Relational and non relational database 7abdulrahmanhelan
 
SemTechBiz 2012 Panel on Linking Enterprise Data
SemTechBiz 2012 Panel on Linking Enterprise DataSemTechBiz 2012 Panel on Linking Enterprise Data
SemTechBiz 2012 Panel on Linking Enterprise Data3 Round Stones
 
SQL, NoSQL, BigData in Data Architecture
SQL, NoSQL, BigData in Data ArchitectureSQL, NoSQL, BigData in Data Architecture
SQL, NoSQL, BigData in Data ArchitectureVenu Anuganti
 
Hadoop meets Agile! - An Agile Big Data Model
Hadoop meets Agile! - An Agile Big Data ModelHadoop meets Agile! - An Agile Big Data Model
Hadoop meets Agile! - An Agile Big Data ModelUwe Printz
 
Oracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data ArchitectureOracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data ArchitectureArthur Gimpel
 
Three Tools for "Human-in-the-loop" Data Science
Three Tools for "Human-in-the-loop" Data ScienceThree Tools for "Human-in-the-loop" Data Science
Three Tools for "Human-in-the-loop" Data ScienceAditya Parameswaran
 
Simple, Modular and Extensible Big Data Platform Concept
Simple, Modular and Extensible Big Data Platform ConceptSimple, Modular and Extensible Big Data Platform Concept
Simple, Modular and Extensible Big Data Platform ConceptSatish Mohan
 
How to use Big Data and Data Lake concept in business using Hadoop and Spark...
 How to use Big Data and Data Lake concept in business using Hadoop and Spark... How to use Big Data and Data Lake concept in business using Hadoop and Spark...
How to use Big Data and Data Lake concept in business using Hadoop and Spark...Institute of Contemporary Sciences
 
DRM Webinar Series, PART 2: Concerned You're Not Getting the Most Out of Orac...
DRM Webinar Series, PART 2: Concerned You're Not Getting the Most Out of Orac...DRM Webinar Series, PART 2: Concerned You're Not Getting the Most Out of Orac...
DRM Webinar Series, PART 2: Concerned You're Not Getting the Most Out of Orac...US-Analytics
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabasesAdi Challa
 

Similar to Gilbane Boston 2012: XML and SQL: Not Dead Yet (20)

A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
 
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...MySQL JSON Document Store - A Document Store with all the benefits of a Trans...
MySQL JSON Document Store - A Document Store with all the benefits of a Trans...
 
Data Production Pipelines: Legacy, practices, and innovation
Data Production Pipelines: Legacy, practices, and innovationData Production Pipelines: Legacy, practices, and innovation
Data Production Pipelines: Legacy, practices, and innovation
 
Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013Avoiding.the.pitfallsof.oracle.migration.2013
Avoiding.the.pitfallsof.oracle.migration.2013
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sql
 
Choosing the Right Big Data Tools for the Job - A Polyglot Approach
Choosing the Right Big Data Tools for the Job - A Polyglot ApproachChoosing the Right Big Data Tools for the Job - A Polyglot Approach
Choosing the Right Big Data Tools for the Job - A Polyglot Approach
 
NoSQL Now! NoSQL Architecture Patterns
NoSQL Now! NoSQL Architecture PatternsNoSQL Now! NoSQL Architecture Patterns
NoSQL Now! NoSQL Architecture Patterns
 
NoSQL Simplified: Schema vs. Schema-less
NoSQL Simplified: Schema vs. Schema-lessNoSQL Simplified: Schema vs. Schema-less
NoSQL Simplified: Schema vs. Schema-less
 
Relational and non relational database 7
Relational and non relational database 7Relational and non relational database 7
Relational and non relational database 7
 
Database
DatabaseDatabase
Database
 
SemTechBiz 2012 Panel on Linking Enterprise Data
SemTechBiz 2012 Panel on Linking Enterprise DataSemTechBiz 2012 Panel on Linking Enterprise Data
SemTechBiz 2012 Panel on Linking Enterprise Data
 
SQL, NoSQL, BigData in Data Architecture
SQL, NoSQL, BigData in Data ArchitectureSQL, NoSQL, BigData in Data Architecture
SQL, NoSQL, BigData in Data Architecture
 
Destroying Data Silos
Destroying Data SilosDestroying Data Silos
Destroying Data Silos
 
Hadoop meets Agile! - An Agile Big Data Model
Hadoop meets Agile! - An Agile Big Data ModelHadoop meets Agile! - An Agile Big Data Model
Hadoop meets Agile! - An Agile Big Data Model
 
Oracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data ArchitectureOracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data Architecture
 
Three Tools for "Human-in-the-loop" Data Science
Three Tools for "Human-in-the-loop" Data ScienceThree Tools for "Human-in-the-loop" Data Science
Three Tools for "Human-in-the-loop" Data Science
 
Simple, Modular and Extensible Big Data Platform Concept
Simple, Modular and Extensible Big Data Platform ConceptSimple, Modular and Extensible Big Data Platform Concept
Simple, Modular and Extensible Big Data Platform Concept
 
How to use Big Data and Data Lake concept in business using Hadoop and Spark...
 How to use Big Data and Data Lake concept in business using Hadoop and Spark... How to use Big Data and Data Lake concept in business using Hadoop and Spark...
How to use Big Data and Data Lake concept in business using Hadoop and Spark...
 
DRM Webinar Series, PART 2: Concerned You're Not Getting the Most Out of Orac...
DRM Webinar Series, PART 2: Concerned You're Not Getting the Most Out of Orac...DRM Webinar Series, PART 2: Concerned You're Not Getting the Most Out of Orac...
DRM Webinar Series, PART 2: Concerned You're Not Getting the Most Out of Orac...
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
 

Gilbane Boston 2012: XML and SQL: Not Dead Yet

  • 1. Content Delivery Decisions for Technology Strategists Thursday, November 29, 2012 11:40 – 12:40 Joseph Bachana President/Founder, DPCI Leonor Ciarlone Principal, LMC Communications Peter O'Kelly Principal Analyst, O'Kelly Associates
  • 2. Overall Session Agenda • Not Dead Yet: The Significant and Sustainable Synergy of XML and SQL • Convergence of Content Technologies in the Open Source World • Q&A 2
  • 3. Agenda: Not Dead Yet • Synopsis • Complementary concerns – Resources – Relations – Apps – Admin/ops • Perspectives and reality checks • Recommendations 3
  • 4. Synopsis: Not Dead Yet • XML and SQL are, respectively, the global standards for working with document- and Web- oriented information and traditional database management systems (DBMSs) • However, both are also at least ostensibly under siege, with, e.g., – Some application developers shifting their focus to JavaScript (and JSON, the JavaScript Object Notation) – Many software product marketing people and investors touting the professed power of "NoSQL" (and “NewSQL”) systems 4
  • 5. Synopsis: Not Dead Yet • The stakes are strategic, with ever-expanding compliance and competitive considerations, and with compelling new opportunities based on – Big data – Cloud services – HTML5 clients – Mobile devices • [Spoiler alert: neither XML nor SQL is going away] 5
  • 6. Agenda: Not Dead Yet • Synopsis • Complementary concerns • Perspectives and reality checks • Recommendations 6
  • 7. Resources and Relations • A digital information item dichotomy – Resources (~unstructured information): “content” • Digital artifacts optimized to convey stories – Organized in terms of narrative, hierarchy, and sequence • Examples: books, magazines, documents (e.g., PDF, Word), Web pages, XBRL documents, video, hypertext… – Relations (~structured information): “data” • Application-independent descriptions of real-world things and relationships • Examples: business domain databases (e.g., customer, sales, HR…), data.com, wikidata.org… 7
  • 8. A Big-Picture Framework Resource Relation 8
  • 9. Separation of Concerns • Back to basics – XML (with namespaces, XSD, XPath, XQuery, XSLT, …) for resources • Presentation • Structure • Behavior – SQL for relations • Application/data independence • Logical/physical data independence • Related services for both information domains: identity, authentication, authorization, logging, transactions, indexing, dynamic storage optimization… – Ideally handled by underlying information management systems rather than applications 9
  • 10. Complementary Concerns Apps Resource Relation Admin/Ops 10
  • 11. Agenda: Not Dead Yet • Synopsis • Complementary concerns • Perspectives and reality checks • Recommendations 11
  • 12. Resource Perspectives Resource Apps Relation Admin/Ops • Every useful thing is a resource (document/page) • SQL is for uncreative and obsessive data nerds • Apps are interactive/compound resources • Admin/ops: somebody else’s problem 12
  • 13. Relation Perspectives Apps Relation Resource Admin/Ops • Relations can describe all useful things • Resource: XML compound data type instance • Apps are interfaces for relation interaction • Admin/ops: somebody else’s problem 13
  • 14. Application Perspectives Apps Resource Relation Admin/Ops • Anything that’s not an app is just for archival • Resource => XML => verbose/unwieldy • Relation => SQL => impedance mismatch • Admin/ops: somebody else’s problem 14
  • 15. Admin/Ops Perspectives Apps Resource Relation Admin/ Ops • Robust/scalable admin/ops or we all go to jail • Resource => XML => eXtra Mondo Large files • Relation => SQL => a DBMS trying to be an OS • Apps: most likely to break infrastructure 15
  • 16. Vendor Marketing Perspectives • Resources: a Web-centric approach fixes everything • Relations: NoSQL fixes everything • Apps: JSON fixes everything • Admin/ops: the cloud fixes everything 16
  • 17. A Reality Check “Everything should be made as simple as possible, but no simpler.” 17
  • 18. Modeling Abstractions Resources Relations Conceptual Documents and links; documents Entities, attributes, relationships, and focused primarily on narrative, identifiers hierarchy, and sequence Logical Model: hypertext Model: extended relational Language: XQuery (ideally…) Language: SQL Physical Indexing (e.g., scalar data types, XML, and full-text), locking and isolation levels (for transactions), federation, replication/synchronization, in-memory databases, columnar storage, table spaces, caching, and more 18
  • 19. A Resource Reality Check • XML has some idiosyncrasies, but it’s beyond good-enough for its primary target domain, and it’s here to stay – Indeed, XML is, in some respects, just getting started • XQuery, in particular, is exceptionally powerful • But XML should be made invisible to information architects, application developers, and admin/ops – They should work with tools that support their respective levels of abstraction, but that still leverage XML when appropriate 19
  • 20. “A DBMS is good for my XML?” 20
  • 21. A Relation Reality Check • SQL has some idiosyncrasies, but it’s beyond good-enough for its primary target domain, and it’s here to stay – Being anti-SQL, ultimately, is being anti-set theory • Not a good bet when you’re describing sets of things • But SQL should be made invisible to information architects, application developers, and admin/ops – They should work with tools that support their respective levels of abstraction, but that still leverage SQL when appropriate 21
  • 22. XML and SQL • XML and SQL are sustainably complementary – When used appropriately • XQuery was designed – by a team including one of SQL’s creators – to complement SQL • The market-leading RDBMSs can automatically ingest and generate XML • Some leading XML servers are adding SQL support 22
  • 23. An App Perspective Reality Check • The dreaded “impedance mismatch” is mostly a consequence of inadequate programming languages and tools • Reverting to a programs-have-files perspective means ignoring decades of software engineering evolution • Using JavaScript doesn’t have to preclude the effective use of XML and SQL – But tools that don’t entail major compromises are only now starting to appear 23
  • 24. An Admin/Ops Reality Check • DBMS evolution isn’t done yet – Multi-model DBMSs are now the enterprise norm • Including subsystems for XML, file steaming, spatial data, and more – Automatic “sharding” • New extensions to logical/physical database independence and database optimization – A leading indicator: watch what Google does with SQL (or “SQL-like” approaches) in BigQuery and Spanner 24
  • 25. Agenda: Not Dead Yet • Synopsis • Complementary concerns • Perspectives and reality checks • Recommendations 25
  • 26. Recommendations • Build consensus and establish clear criteria for what to use when (and how) – Otherwise people will often default to the tools and technologies with which they’re most familiar • And/or the most fun or résumé-enhancing – Best practices start with effective modeling and query formulation skills • Reminder: XML and SQL should be invisible to most of the people who benefit from using them 26
  • 27. Recommendations • Only invest in tools that don’t dumb-down XML or SQL DBMS usage patterns – RDBMS and XDBMS are exceptionally powerful • But not when they’re demoted to serve as basic file systems – Many advocates of “NoSQL/NewSQL” systems have large collections of simplifying assumptions • Sometimes going beyond “… as simple as possible” – With major compromises and trade-offs that are sometimes not fully understood until far into a project lifecycle 27
  • 28. Recommendations • Start preparing now to fully leverage advances such as – Pervasive beyond-the-basics hypertext – Multi-model DBMSs that apply XML/SQL synergy • Especially high-performance XQuery/SQL integration – Don’t discount the possibility that the DBMS “usual suspects” (commercial and open source) will eventually provide the most effective XML + SQL products/services 28
  • 29. Recap: Not Dead Yet • XML and SQL are – and will continue to be – respectively, the global standards for working with document- and Web-oriented information and traditional DBMSs – Although they will ideally be invisible to most people • Many of the alleged successors to XML- and SQL- related technologies are more complementary than competitive – JavaScript tools can productively coexist with XQuery and SQL, for example – Most “NoSQL” and “NewSQL” developments are primarily focused on the physical database layer, and aren’t in conflict with evolving XML and SQL DBMSs 29
  • 30. Recap: Not Dead Yet • The stakes are strategic, with ever-expanding compliance and competitive considerations, and with compelling new opportunities – Which are likely to accelerate rather than derail XML and SQL market momentum • This is an opportune time to build consensus on and skills in related techniques and tools 30
  • 31. Q&A 31

Editor's Notes

  1. Not exclusive – e.g., XML is also widely used for data interchange between applications
  2. This is a high-level dichotomy – and not meant to be precise or mutually-exclusive (i.e., some info items have both resource and relation attributes)
  3. This is meant to be illustrative – neither precise nor exhaustive
  4. Not drawn to scale… This and the next 3 slides are intended to be semi facetious, but probably align well with vocational/parochial perspectives within many enterprises
  5. http://en.wikiquote.org/wiki/Albert_EinsteinBelieved to be a paraphrasing – a simplification – of “It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience.”
  6. Point of having a merged cell for physical: it’s all coming together – it’s increasingly difficult to distinguish the underlying physical model services…Hypertext is not 1:1 with HTML – it’s beyond-the-basics hypertext as manifested, e.g., in Web publishing and collaboration-oriented systems/serversXQuery is not mainstream today, but it is exceptionally powerful and was co-developed in conjunction with XPath 2.0, and with a sustained focus on SQL synergy
  7. “You’re soaking in it…” E.g., Oracle XML DB is automatically installed as part of Oracle Database 12c
  8. Re JavaScript: see, e.g., JSONiq