www.informatik-aktuell.de Warum NoSQL? Mario Briana – Solution Architect © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. SLIDE: 2 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Relationale Datenbanken … SLIDE: 3 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Relationale Datenbanken Schema beim Schreiben & Lesen Normalisierung um Redundanzen zu vermindern – Objekt-relationale Unverträglichkeit – SLIDE: 4 1:1, 1:Many, Many:Many Daten Objekte Neue Daten => neues Modell Skalierbarkeit © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Dokumentenmodell – hierarchische Baumstruktur Profile Name Contact Info Experience Job Email Recommendation Company Position Name State SLIDE: 6 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. In welchem Staat wohnt Grady Booch? ID ORG_SHORT_NM ORG_FULL_NM ORG_TYPE ORG_STATE 115 Sun Sun Microsystems corporation 09 442 IBM CE Lab International Business M… corporation 22 934 Stanford Stanford University Educational 09 ID MEMBER_NAME AGE ORG_ID 12 Grady Booch 59 442 133 Neeraj Gupta 23 934 348 Jose Cordova 37 115 SLIDE: 7 ID ST_ABBR ST_NAME 09 CA California 22 HI Hawaii 33 TX Texas © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Heterogene Daten sind eine echte Herausforderung SLIDE: 8 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. NoSQL Datenbanktypen Key-Value – Amazon Dynamo, Riak Dokumentenorientierte – MarkLogic, CouchDB, MongoDB Graphen – Neo4j, OrientDB Spaltenorientierte – Cassandra, BigTable, SimpleDB SLIDE: 9 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Dokumente sind “human readable” (xml) <profile> <name>Grady Booch</name> <contact-info> <email>[email protected]</email> <email>[email protected]</email> </contact-info> In welchem Staat wohnt <experience> <job current=“true”> <company> <name>IBM CE Lab</line1> <state>HI</zip> </company> <position>IBM Fellow</position> <recommendation>Grady is awesome</recommendation> </job> </experience> </profile> Grady Booch? Dokumente sind “human readable” (json) { "profile": { "name": "Grady Booch", "contactInfo": { "emails": ["[email protected]", "[email protected]"] }, "jobs": [{ "current": true, In welchem "company": { "name": "IBM CE Lab", "state": "HI" } "position": "IBM Fellow", "recommendation": "Grady is awesome" }] } } Staat wohnt Grady Booch? The Beauty of NoSQL Flexibles Datenmodell SLIDE: 12 Einlesen der Daten (Ingest “as is”) Suchen und Abfragen © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Iterativer Prozess Ingest “as is” Suchen & Abfragen MarkLogic ist “Schema flexibel” Anwendung SLIDE: 13 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. The Only Enterprise NoSQL Database ACID Transaktionen Hochverfügbarkeit und Disaster Recovery DATABASE SEARCH Horizontale Skalierbarkeit und Elastizität Sicherheit Skalierberakeit und Elastitzität Semantische Daten Cloud Verfügbarkeit SLIDE: 14 APPLICATION SERVICES © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. SLIDE: 15 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Situation “vor MarkLogic” PDF SLIDE: 16 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Situation “Mit MarkLogic” PDF SLIDE: 17 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. MarkLogic Architecture SLIDE: 18 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Semantics SLIDE: 19 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Semantics: A New Way to Organize Data Data is stored in Triples, expressed as: Subject : Predicate : Object John Smith : livesIn : London London : England : isIn Query with SPARQL, gives us simple lookup .. and more Find people who live in (a place that's in) England "John Smith" "London" "England" livesIn isIn SLIDE: 20 livesIn © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Context from the World at Large Linked Open Data – Facts that are freely available – In a form that’s easily consumed DBpedia (wikipedia as structured information) – Einstein was born in Germany – Ireland’s currency is the Euro GeoNames – Doha is the capital of Qatar – Doha has these lat/long coordinates “Linking Open Data cloud diagram, by Richard Cyganiak and Anja Jentzsch. http://lod-cloud.net/” SLIDE: 21 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. SCALE OUT ARCHITECTURE SLIDE: 22 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. MarkLogic Architecture Node.js Java REST XCC ODBC Interfaces Evaluator JavaScript | XQuery | XSLT | XPath | SQL | SPARQL Cache Expanded Tree Cache | Module Cache Evaluation Layer Broadcaster / Aggregator Transaction Controller Multiversion Concurrency Control Cache Transaction Journal Compressed Tree Cache | List Cache Indexes Data Layer Values | Structure | Text | Scalar | Metadata | Security | Geospatial | Reverse | Triple Compressed Storage JSON | XML | Binary | Text SLIDE: 23 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Cluster Topologies RDBMS XA SLIDE: 24 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Tiered Storage With Tiered Storage, you can… Define data tiers based on a range index Have content balanced into forests by tier Move an entire tier to different storage Attach a tier to a different database Query one database on one tier… …or the other database on the other tier… …or both at once All with no downtime, and 100% consistency SLIDE: 25 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. SLIDE: 26 © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. Wichtige links Partner Tool Kit http://www.marklogic.com/partners/partner-toolkit Überblick, Datenblätter, case studies, White papers, Produktinformationen etc. Kostenloser Download für Entwickler http://developer.marklogic.com/ Referenzen http://de.marklogic.com/customer-type/testimonials/ Consulting & Services http://de.marklogic.com/services/consulting-services/ Videos zu NoSQL: https://www.youtube.com/watch?v=npWXpnSmqNc https://www.youtube.com/watch?v=YJs0RUNtOu0 SLIDE: 27 (15 Min.) (5 Min.) Social Network https://www.xing.com/companies/marklogic https://www.linkedin.com/company/21238?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A21238%2Cidx %3A2-1-2%2CtarId%3A1440496966926%2Ctas%3AMarkLogic © COPYRIGHT 2015 MARKLOGIC CORPORATION. ALL RIGHTS RESERVED. MarkLogic / Enterprise NoSQL Database Platform POWERFUL AGILE TRUSTED Native JSON Store Native XML Store Scalable and Elastic Cloud Ready (AWS) Performance at scale LDAP and Kerberos Security Native RDF Triple Store Geospatial Support Hadoop and HDFS REST API Security Certifications Monitoring and Management Full-text Search Flexible Indexes SQL Support Multi-OS Support Configuration Management 24/7 Engineering Support Bitemporal Real-time Alerting Schema Agnostic Samplestack ACID Transactions Flexible Replication Semantic Inference Tiered Storage MarkLogic Content Pump XA Transactions Customizable Backup Server-side JavaScript Fully Transactional Ad-hoc Queries Index Across Data Types Point-in-time Recovery Customizable Failover Atomic Forests WHAT WILL YOU REIMAGINE?