Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SQL Server vs. Azure DocumentDB – Ein Battle zwischen XML und JSON

5,387 views

Published on

Seit dem SQL Server 2000 hielt Stück für Stück die XML-Unterstützung Einzug in die Microsoft RDBMS Welt.
Mit der Azure DocumentDB kam die zweite, hauseigene NoSQL-Datenbank in der Microsoft Cloud hinzu, welche die Daten im JSON-Format verarbeitet.
In dieser Session werden wir anhand eines Praxisbeispiels step-by-step, d.h. von den vorbereitenden Schritten, über das Schreiben bis hin zum Lesen der Daten, diese beiden Technologien gegenüberstellen.
Dabei arbeiten wir die Vor- und Nachteile der einzelnen Ansätze heraus und zeigen Best Practices auf.

Published in: Technology
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE Format, ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yxufevpm } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yxufevpm } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yxufevpm } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yxufevpm } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yxufevpm } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yxufevpm } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL eBOOK INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF eBook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB eBook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. doc eBook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. PDF eBook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB eBook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. doc eBook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookeBOOK Crime, eeBOOK Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

SQL Server vs. Azure DocumentDB – Ein Battle zwischen XML und JSON

  1. 1. <xml> vs. {JSON} SQL Server vs. Azure DocumentDB ein battle zwischen <xml> und {JSON} SQL saturday #409
  2. 2. Organizer SQLSaturday Rheinland 201513.06.2015
  3. 3. Bronze Sponsor SQLSaturday Rheinland 201513.06.2015
  4. 4. Silver Sponsor SQLSaturday Rheinland 201513.06.2015
  5. 5. Gold Sponsor SQLSaturday Rheinland 201513.06.2015
  6. 6. You rock! SQLSaturday Rheinland 201513.06.2015
  7. 7. About me 13.06.2015 SQLSaturday Rheinland 2015 ... and „2012er“ SQL MCSE SQL  +  BI  Consultant   Alexander Karl
  8. 8. About me 13.06.2015 SQLSaturday Rheinland 2015 Twitter: @SaschaDittmann Blog: http://www.sascha-dittmann.de Sr.  So2ware  Developer   Sr.  Solu8ons  Architect   Sascha Dittmann
  9. 9. Agenda §  Setup §  Tooling §  Consistency §  CRUD §  Indexing §  Schema validation <xml> only §  Server side code §  Complex queries and transformation <xml> only 13.06.2015 SQLSaturday Rheinland 2015
  10. 10. Setup 13.06.2015 SQLSaturday Rheinland 2015 §  SQL Server Setup erfolgt mittels Wizard oder via cmd-Line §  native xml Unterstützung „out of the Box“
  11. 11. Setup 13.06.2015 SQLSaturday Rheinland 2015
  12. 12. Tooling 13.06.2015 SQLSaturday Rheinland 2015 §  SQL Server Management Studio >> für queries >> für „xml-results“
  13. 13. Tooling 13.06.2015 SQLSaturday Rheinland 2015
  14. 14. Tooling 13.06.2015 SQLSaturday Rheinland 2015
  15. 15. Tooling 13.06.2015 SQLSaturday Rheinland 2015
  16. 16. Consistency (ACID) 13.06.2015 SQLSaturday Rheinland 2015 A tomicity C onsistency I solation D urabilty
  17. 17. Consistency (BASE) 13.06.2015 SQLSaturday Rheinland 2015 B asically A vailable S oft state E ventual consistency
  18. 18. Select & Ins/Upd/Del 13.06.2015 SQLSaturday Rheinland 2015 §  T-SQL conformer Ins/Upd/Del §  T-SQL XQuery §  <column>.query ( return xml ) §  <column>.value ( return sql-Type ) §  <column>.exist ( return bit ) §  <column>.nodes
  19. 19. Select & Ins/Upd/Del 13.06.2015 SQLSaturday Rheinland 2015 §  T-SQL Xquery Navigation im <xml> §  child §  descendant §  parent §  Attribut §  self §  descendant-or-self §  .node() §  .text()
  20. 20. CRUD Samples 13.06.2015 SQLSaturday Rheinland 2015
  21. 21. Select & Ins/Upd/Del 13.06.2015 SQLSaturday Rheinland 2015 §  LINQ, SQL §  REST API over HTTPS §  .NET §  Node.js §  JavaScript §  Python §  …
  22. 22. CRUD Samples 13.06.2015 SQLSaturday Rheinland 2015
  23. 23. Indexing 13.06.2015 SQLSaturday Rheinland 2015 §  PRIMARY XML INDEX IX_primaryXml §  CREATE XML INDEX IX_name ON sch.table ( xmlCol ) USING XML INDEX IX_primaryXml -  FOR PATH; -  FOR VALUE; -  FOR PROPERTY;
  24. 24. Indexing 13.06.2015 SQLSaturday Rheinland 2015
  25. 25. Indexing 13.06.2015 SQLSaturday Rheinland 2015
  26. 26. Indexing Policies 13.06.2015 SQLSaturday Rheinland 2015
  27. 27. Schema Validation 13.06.2015 SQLSaturday Rheinland 2015 §  XML SCHEMA COLLECTION schemaName §  (table) xmlColumn xml ( DOCUMENT schemaName )
  28. 28. Schema Validation 13.06.2015 SQLSaturday Rheinland 2015
  29. 29. Schema Validation 13.06.2015 SQLSaturday Rheinland 2015
  30. 30. Schema Validation 13.06.2015 SQLSaturday Rheinland 2015 §  Triggers §  Client-Side Code
  31. 31. server side code 13.06.2015 SQLSaturday Rheinland 2015
  32. 32. compl. queries & transformation 13.06.2015 SQLSaturday Rheinland 2015 §  XML „FLWOR“ for let where order return §  Aggregat functions ü  {count($j)} ü  {sum($j)} ü  {avg($j)}
  33. 33. compl. queries & transformation 13.06.2015 SQLSaturday Rheinland 2015
  34. 34. compl. queries 13.06.2015 SQLSaturday Rheinland 2015
  35. 35. Questions 13.06.2015 SQLSaturday Rheinland 2015 ???
  36. 36. 13.06.2015 SQLSaturday Rheinland 2015 DEMO Demo
  37. 37. Save the date! 13.06.2015 SQLSaturday Rheinland 2015

×