Die relationale Datenbank hat Konkurrenz! Einführung in Oracle NoSQL als Standalone Cluster. Daniel Nelle Wir kümmern uns! Senior Database Administrator merlin.zwo InfoDesign GmbH & Co. KG 76228 Karlsruhe
Das Hammer-Prinzip Wer nur einen Hammer hat, für den sieht alles wie einem Nagel aus.
Das Hammer-Prinzip
Spitzenleistung heißt, sich auf seine Stärken zu konzentrieren. merlin.zwo Wir machen Oracle - nur Oracle. Aus gutem Grund. Daniel Nelle Datenbank- und www.merlin-zwo.de Security-Spezialist Wir kümmern uns!
Agenda Was ist Oracle NoSQL? Architektur und HA Administration
Agenda Was ist Oracle NoSQL? Architektur und HA Administration
Was ist Oracle NoSQL CKey Value Store Java
Was ist Oracle NoSQL Key Value Store C Java
Was ist Oracle NoSQL Advanced Key Value Store Key -> Value JSON Tabellen Hochverfügbar Skalierbar
Was ist Oracle NoSQL Key -> Value JSON Tabellen Advanced Key Value Store Hochverfügbar Skalierbar
Was ist Oracle NoSQL Key -> Value JSON Tabellen Advanced Key Value Store Hochverfügbar Skalierbar
Was ist Oracle NoSQL Key -> Value JSON Tabellen Advanced Key Value Store Hochverfügbar Skalierbar
Was ist Oracle NoSQL Positionierung im Oracle Stack Oracle Big Data Appliance Oracle NoSQL Oracle Exadata Oracle RDBMS Oracle Exalogic
Agenda Was ist Oracle NoSQL? Architektur und HA Administration
Agenda Was ist Oracle NoSQL? Architektur und HA Administration
Architektur KEY VALUE Major Minor
Architektur KV-Beispiel MitarbeiterID Abteilung Kontakt Taetigkeit DBA Anschrift merlin.zwo... email Daniel.Nelle@ merlin-zwo.de
Architektur Partitionen KEY KEY KEY KEY KEY KEY Hash Buckets oder Partitionen
Architektur Shards Shard Shard Shard
Architektur Replication Nodes Shard Shard Shard M M M R R R R R R
Architektur Storage Nodes Storage Node 1 Storage Node 2 Storage Node 3 Storage Node 4 Storage Node 5 Storage Node 6 Storage Node 7 Storage Node 8 Shard M R R capacity=2 M Shard R R M Shard R R
Topologie Zonen Zone: Karlsruhe (eigenes RZ) Storage Node 1 Storage Node 2 Storage Node 3
Topologie Hochverfügbarkeit und Zonen Zone: Karlsruhe (eigenes RZ) Storage Node 1 Storage Node 2 Storage Node 3 (M) + (R) (M) + (R) (M) + (R) Zone: FFM (z.b. Oracle Cloud) Storage Node 4 Storage Node 5 (R) (R)
Architektur - ACID ACK von Memory ACK von Filesystem Buffer ACK von Disk
Architektur ACID NoSQL Cluster NONE RN (M) MAJORITY RN RN ALL
Agenda Was ist Oracle NoSQL? Architektur und HA Administration
Architektur Partitionen KEY KEY KEY KEY KEY KEY Hash Buckets oder Partitionen
Architektur Shards Shard Shard Shard
Architektur Replication Nodes Shard Shard Shard M M M R R R R R R
Architektur Storage Nodes Storage Node 1 Storage Node 2 Storage Node 3 Storage Node 4 Storage Node 5 Storage Node 6 Storage Node 7 Storage Node 8 Shard M R R capacity=2 M Shard R R M Shard R R
Topologie Zonen Zone: Karlsruhe (eigenes RZ) Storage Node 1 Storage Node 2 Storage Node 3
Agenda Was ist Oracle NoSQL? Architektur und HA Administration
Agenda Was ist Oracle NoSQL? Architektur und HA Administration
Administration Installation Create Config UnZip Download
Administration Installation Create Config java -jar $KVHOME/lib/kvstore.jar makebootconfig \ -root /u01/kvroot \ -store-security none \ -capacity 1 \ -harange 6000,6050 \ -port 5000 \ -memory_mb 512 \ -host ora-nosql001 \ -storagedir /u01/data01 \
Administration Installation Create Config java -jar $KVHOME/lib/kvstore.jar makebootconfig \ -root /u01/kvroot \ -store-security none \ -capacity 2 \ -harange 6000,6050 \ -port 5000 \ -memory_mb 512 \ -host ora-nosql001 \ -storagedir /u01/data01 \ -storagedir /u01/data02 \
Administration Installation Start Storage Node Agent Create Config UnZip Download
Administration Installation Start Storage Node Agent java -jar $KVHOME/lib/kvstore.jar start -root /u01/kvroot &
Administration Installation Add Node + + + Start Storage Node Agent Create Config UnZip Download
Administration Installation Start Storage Node Agent java -jar $KVHOME/lib/kvstore.jar runadmin -port 5000 -host ora-nosql001 > configure -name merlinzwo > plan deploy-zone -name "Karlsruhe" -rf 3 -wait > plan deploy-sn -znname "Karlsruhe" -port 5000 -wait -host ora-nosql001 > plan deploy-admin -sn sn1 -wait
Administration Installation Create / Deploy Topology Add Node + + + Start Storage Node Agent Create Config UnZip Download
Administration Installation Topology java -jar $KVHOME/lib/kvstore.jar runadmin -port 5000 -host ora-nosql001 > topology create -name prodha -pool AllStorageNodes -partitions 120 > topology preview -name prodha > plan deploy-topology -name prodha -wait
Administration Installation Create / Deploy Topology Add Node + + + Start Storage Node Agent Create Config UnZip Download
Administration Einfach einfach Replace Node: 7 Befehle Backup mit Snapshot: 1 Befehl Replace offline Node: 3 Befehle Viele weiter einfache Einfachheiten Backups? Wozu? Abfragen, Einfügen, Verändern mit SQL und JSON
Administration Stolpersteine DNS Eintrag Kein Anzahl Zugriff RDBMS- Partitionen über IP Datenmodelle sind fix funktionieren nicht!
Administration Stolpersteine DNS Eintrag Kein Zugriff über IP Anzahl RDBMS- Partitionen Datenmodelle sind fix funktionieren nicht!
Administration Stolpersteine DNS Eintrag Kein Zugriff über IP Anzahl Partitionen sind fix RDBMS- Datenmodelle funktionieren nicht!
Administration Stolpersteine DNS Eintrag Kein Zugriff über IP Anzahl Partitionen sind fix RDBMS- Datenmodelle funktionieren nicht!
Nützliche Links Oracle NoSQL auf OTN http://www.oracle.com/technetwork/database/database-technologies/nosqldb/overview/index.html Beispiel-Scripte (sehr hilfreich!) https://github.com/oracle/nosql-examples Oracle NoSQL Dokumentation https://docs.oracle.com/cd/nosql/index.html Schnittstellen und Treiber: http://www.oracle.com/technetwork/database/database-technologies/nosqldb/downloads/index.html
Warum Oracle NoSQL?
Warum Oracle NoSQL?
merlin.zwo InfoDesign GmbH & Co. KG Daniel Nelle
Kontakt merlin.zwo Wir kümmern uns! merlin.zwo InfoDesign GmbH & Co. KG Daniel Nelle Elsa-Brändström-Straße 14 76228 Karlsruhe Tel. 0721-132 096 0 Daniel.Nelle@merlin-zwo.de http://www.merlin-zwo.de Wir kümmern uns!