SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Oracle NoSQL 
O que o Oracle NoSQL tem para oferecer? 
Bruno Borges 
Principal Product Manager 
Oracle Latin America 
Agosto, 2014 
Oracle Confidential – Internal/Restricted/Highly Restricted
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
•Bruno Borges 
–Principal Product Manager, Java Evangelist 
–Oracle Latin America 
–@brunoborges 
–bruno.borges@oracle.com 
Speaker
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Embedded 
+Light weight 
Web Scale-out & Real-time events 
+Schema-less 
+Relaxed consistency 
+Built-in availability 
Web & Departmental 
+SQL and NoSQL 
+Basic security 
Mission Critical OLTP and Data Warehousing 
+SQL, Transactions 
+High Availability and Security 
+Multitenant architecture 
Oracle Enterprise Manager 
Oracle Enterprise Manager 
Providing the right database technology for the job 
Oracle Databases
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Oracle NoSQL Database 
•Key Features 
–Flexible Key-Value Data Model 
–ACID transactions 
–Horizontally Scalable 
–Highly Available 
–Elastic Configuration 
–Simple administration 
–Intelligent Driver 
–Commercial grade software and support 
Scalable, Highly Available, Key-Value Database 
Application 
Storage Nodes Datacenter B 
Storage Nodes Datacenter A 
Application 
NoSQL DB Driver 
Application 
NoSQL DB Driver 
Application
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Key-Value Database, Escalável, Distribuido 
Oracle NoSQL Database 
•Topologia Inteligente 
–Reliability process placement 
–Integrated load balancing 
–Data center awareness 
–Multi-master, wide partitioning 
•Elastic Expansion 
–Auto rebalance & compaction 
•Base and ACID 
–Rollback on failures 
Application 
Smart Topology Driver
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Oracle NoSQL Database by the Numbers 
•Predictable performance over time 
–No planned outages required 
•Smart resource management 
–Scale JUST when needed 
•Upgrade releases with no outage 
Performance, Scale and Manageability Testing
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Performance Previsível 
•Qual a importância? 
–360 clientes utilizados 
–Geração de dados contínua 
–Cluster expandido em 50% 
–Baixa latência 
–Alto throughput 
–Sistema sempre online 
–Pronto para mais clientes 
Expansão de Cluster Online 
0 
1 
2 
3 
4 
5 
6 
7 
8 
0 
10.000 
20.000 
30.000 
40.000 
50.000 
60.000 
70.000 
144 (48x3) 
20% 
40% 
60% 
80% 
216 (72x3) 
Average Latency (ms) 
Throughput (ops/sec) 
95/5 Read/Update Throughput 
Throughput (ops/sec) 
Read Latency (ms) 
Update Latency (ms)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Gestão Inteligente de Recursos 
•Qual a importância? 
–Prepare-se para o Natal 
•Aumento em número de clientes para 540 
•Escala linear de throughput 
•Latência permanece a mesma: 6ms 
•Sistema sempre online 
Oracle Confidential – Internal/Restricted/Highly Restricted 
9 
Escale somente quando necessário 
0 
10.000 
20.000 
30.000 
40.000 
50.000 
60.000 
70.000 
80.000 
90.000 
144 (48x3) 
216* (72x3) 
Throughput (ops/sec) 
12->18 Machines, 144->216 Nodes 
95/5 Read/Update Throughput
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Exemplos e Demos 
Oracle Confidential – Internal/Restricted/Highly Restricted 
10
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Conecanto ao Oracle NoSQL 
String storeName = "kvstore"; 
String hostName = "localhost:5000"; 
KVStoreConfig kvConfig = new KVStoreConfig(storeName, hostName); 
try (KVStore store = KVStoreFactory.getStore(kvConfig)) { 
// ... Manipula a store 
} 
Oracle Confidential – Internal/Restricted/Highly Restricted 
11
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Exemplo de CRUD 
// Coloca nova chave/valor se ainda não existe 
Key key = Key.createKey("Katana"); 
String valString = "sword"; 
store.putIfAbsent(key, Value.createValue(valString.getBytes())); 
// Deleta esta chave (e valor) do banco de dados 
store.delete(key); 
Oracle Confidential – Internal/Restricted/Highly Restricted 
12
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Exemplo de CRUD 
// Leitura de dados do banco 
ValueVersion retValue = store.get(key); 
// Atualiza este item somente se a versão for a mesma que a lida 
String newvalString = "Really nice sword"; 
Value newval = Value.createValue(newvalString.getBytes()); 
store.putIfVersion(key, newval, retValue.getVersion()); 
Oracle Confidential – Internal/Restricted/Highly Restricted 
13
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Apache Avron – Definição de Schemas 
•Framework para serialização de dados 
•Features 
–Estruturas de dados ricas 
–Compacta, rápida, formato de dados binário 
–Container file para persistir dados 
–Suporte a RPC 
–Integrado ao Oracle NoSQL 
Oracle Confidential – Internal/Restricted/Highly Restricted 
14 
JSON format
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Schema Definition em JSON 
{ 
"type": "record", 
"namespace": "schema.namespace", 
"name": "schema.name", 
"fields": [ 
{ "name": "field1", "type": "string" }, 
{ "name": "field2", "type": "int" } 
] 
} 
Oracle Confidential – Internal/Restricted/Highly Restricted 
15 
Com Apache Avron 
$> java -jar lib/kvstore.jar runadmin -host localhost -port 5000 
kv-> ddl add-schema -file sample-schema.avsc
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Incluindo JSON dentro do Oracle NoSQL 
ObjectNode name = JsonNodeFactory.instance.objectNode(); name.put("first", "Percival"); name.put("last", "Lowell"); JsonRecord record = new JsonRecord(member, memberInfoSchema); store.put(key, binding.toValue(record)); 
Oracle Confidential – Internal/Restricted/Highly Restricted 
16
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Bonus: Acesso via REST 
•fka Oracle APEX Listener 
•Futura versão 3.0 do Oracle REST Data Services – Roadmap 
–Oracle NoSQL 
–Oracle Database 
–JSON format 
–Automatic linkage master-detail 
–PL/SQL API to generate REST services 
–Test environment on Oracle SQL Developer 
Oracle Confidential – Internal/Restricted/Highly Restricted 
17
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Oracle NoSQL Database 
Fully integrated for the Enterprise 
Real Time Access 
External Tables 
MapReduce, OLH, ODC, ODI 
NoSQL DB Driver 
Application 
GRAPH
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
oracle.com/goto/nosql 
Para saber mais, visite o site.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Safe Harbor Statement 
The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 
Oracle Confidential – Internal/Restricted/Highly Restricted 
20
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Oracle Confidential – Internal/Restricted/Highly Restricted 
21

Contenu connexe

Tendances

Using Oracle Real Application Clusters (RAC) in Database as a Service
Using Oracle Real Application Clusters (RAC) in Database as a ServiceUsing Oracle Real Application Clusters (RAC) in Database as a Service
Using Oracle Real Application Clusters (RAC) in Database as a Service
Jean-Philippe PINTE
 

Tendances (20)

JavaCro'15 - Java Cloud - Marin Tadić
JavaCro'15 - Java Cloud - Marin TadićJavaCro'15 - Java Cloud - Marin Tadić
JavaCro'15 - Java Cloud - Marin Tadić
 
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLNetherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
 
Lightweight Java in the Cloud
Lightweight Java in the CloudLightweight Java in the Cloud
Lightweight Java in the Cloud
 
[2015 Oracle Cloud Summit] 5. Java Cloud Service _Java의 모든 개발, 테스트 환경을 클라우드에서 구현
[2015 Oracle Cloud Summit] 5. Java Cloud Service _Java의 모든 개발, 테스트 환경을 클라우드에서 구현[2015 Oracle Cloud Summit] 5. Java Cloud Service _Java의 모든 개발, 테스트 환경을 클라우드에서 구현
[2015 Oracle Cloud Summit] 5. Java Cloud Service _Java의 모든 개발, 테스트 환경을 클라우드에서 구현
 
Oracle Management Cloud - IT Analytics - Resource Analytics
Oracle Management Cloud - IT Analytics - Resource AnalyticsOracle Management Cloud - IT Analytics - Resource Analytics
Oracle Management Cloud - IT Analytics - Resource Analytics
 
Oracle cmg15
Oracle cmg15Oracle cmg15
Oracle cmg15
 
Oracle Public Cloud : Provisioning with Chef
Oracle Public Cloud : Provisioning with ChefOracle Public Cloud : Provisioning with Chef
Oracle Public Cloud : Provisioning with Chef
 
Using Oracle Real Application Clusters (RAC) in Database as a Service
Using Oracle Real Application Clusters (RAC) in Database as a ServiceUsing Oracle Real Application Clusters (RAC) in Database as a Service
Using Oracle Real Application Clusters (RAC) in Database as a Service
 
Omaha rug customer 2 cloud customer facing hcm ppt aug 2014
Omaha rug customer 2 cloud customer facing hcm ppt aug 2014Omaha rug customer 2 cloud customer facing hcm ppt aug 2014
Omaha rug customer 2 cloud customer facing hcm ppt aug 2014
 
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
 
Developing Applications with MySQL and Java
Developing Applications with MySQL and JavaDeveloping Applications with MySQL and Java
Developing Applications with MySQL and Java
 
AWR and ASH in an EM12c World
AWR and ASH in an EM12c WorldAWR and ASH in an EM12c World
AWR and ASH in an EM12c World
 
Building beacon-enabled apps with Oracle MCS
Building beacon-enabled apps with Oracle MCSBuilding beacon-enabled apps with Oracle MCS
Building beacon-enabled apps with Oracle MCS
 
OOW16 - Oracle E-Business Suite in Oracle Cloud: Technical Insight [CON6723]
OOW16 - Oracle E-Business Suite in Oracle Cloud: Technical Insight [CON6723]OOW16 - Oracle E-Business Suite in Oracle Cloud: Technical Insight [CON6723]
OOW16 - Oracle E-Business Suite in Oracle Cloud: Technical Insight [CON6723]
 
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybridOracle cloud, private, public and hybrid
Oracle cloud, private, public and hybrid
 
Oracle Solaris Overview
Oracle Solaris OverviewOracle Solaris Overview
Oracle Solaris Overview
 
Oracle Solaris Cloud Management and Deployment with OpenStack
Oracle Solaris Cloud Management and Deployment with OpenStackOracle Solaris Cloud Management and Deployment with OpenStack
Oracle Solaris Cloud Management and Deployment with OpenStack
 
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
 
Oracle Cloud Storage Service & Oracle Database Backup Cloud Service
Oracle Cloud Storage Service & Oracle Database Backup Cloud ServiceOracle Cloud Storage Service & Oracle Database Backup Cloud Service
Oracle Cloud Storage Service & Oracle Database Backup Cloud Service
 
Oracle super cluster for oracle e business suite
Oracle super cluster for oracle e business suiteOracle super cluster for oracle e business suite
Oracle super cluster for oracle e business suite
 

Similaire à Introdução ao Oracle NoSQL

Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
Arush Jain
 

Similaire à Introdução ao Oracle NoSQL (20)

MySQL Document Store
MySQL Document StoreMySQL Document Store
MySQL Document Store
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster
 
MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)
 
A practical introduction to Oracle NoSQL Database - OOW2014
A practical introduction to Oracle NoSQL Database - OOW2014A practical introduction to Oracle NoSQL Database - OOW2014
A practical introduction to Oracle NoSQL Database - OOW2014
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right
 
NoSQL and SQL - Why Choose? Enjoy the best of both worlds with MySQL
NoSQL and SQL - Why Choose? Enjoy the best of both worlds with MySQLNoSQL and SQL - Why Choose? Enjoy the best of both worlds with MySQL
NoSQL and SQL - Why Choose? Enjoy the best of both worlds with MySQL
 
MySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of Choice
 
제3회난공불락 오픈소스 인프라세미나 - MySQL
제3회난공불락 오픈소스 인프라세미나 - MySQL제3회난공불락 오픈소스 인프라세미나 - MySQL
제3회난공불락 오픈소스 인프라세미나 - MySQL
 
MySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsMySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA options
 
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance ImprovementUsing MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance Improvement
 
MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store - A Document Store with all the benefts of a Transactona...MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store - A Document Store with all the benefts of a Transactona...
 
RMOUG MySQL 5.7 New Features
RMOUG MySQL 5.7 New FeaturesRMOUG MySQL 5.7 New Features
RMOUG MySQL 5.7 New Features
 
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document StoreConnector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
 
Oracle database 12c_and_DevOps
Oracle database 12c_and_DevOpsOracle database 12c_and_DevOps
Oracle database 12c_and_DevOps
 
Turning Relational Database Tables into Hadoop Datasources by Kuassi Mensah
Turning Relational Database Tables into Hadoop Datasources by Kuassi MensahTurning Relational Database Tables into Hadoop Datasources by Kuassi Mensah
Turning Relational Database Tables into Hadoop Datasources by Kuassi Mensah
 
Oracle NoSQL
Oracle NoSQLOracle NoSQL
Oracle NoSQL
 
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
 
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCTWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RC
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
 
Ipc mysql php
Ipc mysql php Ipc mysql php
Ipc mysql php
 

Plus de Bruno Borges

Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na NuvemTecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Bruno Borges
 
Build and Monitor Cloud PaaS with JVM’s Nashorn JavaScripts [CON1859]
Build and Monitor Cloud PaaS with JVM’s Nashorn JavaScripts [CON1859]Build and Monitor Cloud PaaS with JVM’s Nashorn JavaScripts [CON1859]
Build and Monitor Cloud PaaS with JVM’s Nashorn JavaScripts [CON1859]
Bruno Borges
 
Cloud Services for Developers: What’s Inside Oracle Cloud for You? [CON1861]
Cloud Services for Developers: What’s Inside Oracle Cloud for You? [CON1861]Cloud Services for Developers: What’s Inside Oracle Cloud for You? [CON1861]
Cloud Services for Developers: What’s Inside Oracle Cloud for You? [CON1861]
Bruno Borges
 
Java EE Application Servers: Containerized or Multitenant? Both! [CON7506]
Java EE Application Servers: Containerized or Multitenant? Both! [CON7506]Java EE Application Servers: Containerized or Multitenant? Both! [CON7506]
Java EE Application Servers: Containerized or Multitenant? Both! [CON7506]
Bruno Borges
 
Migrando de Applets para JavaFX, e Modelos de Distribuição de Apps
Migrando de Applets para JavaFX, e Modelos de Distribuição de AppsMigrando de Applets para JavaFX, e Modelos de Distribuição de Apps
Migrando de Applets para JavaFX, e Modelos de Distribuição de Apps
Bruno Borges
 

Plus de Bruno Borges (20)

Secrets of Performance Tuning Java on Kubernetes
Secrets of Performance Tuning Java on KubernetesSecrets of Performance Tuning Java on Kubernetes
Secrets of Performance Tuning Java on Kubernetes
 
[Outdated] Secrets of Performance Tuning Java on Kubernetes
[Outdated] Secrets of Performance Tuning Java on Kubernetes[Outdated] Secrets of Performance Tuning Java on Kubernetes
[Outdated] Secrets of Performance Tuning Java on Kubernetes
 
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX Apps
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX AppsFrom GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX Apps
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX Apps
 
Making Sense of Serverless Computing
Making Sense of Serverless ComputingMaking Sense of Serverless Computing
Making Sense of Serverless Computing
 
Visual Studio Code for Java and Spring Developers
Visual Studio Code for Java and Spring DevelopersVisual Studio Code for Java and Spring Developers
Visual Studio Code for Java and Spring Developers
 
Taking Spring Apps for a Spin on Microsoft Azure Cloud
Taking Spring Apps for a Spin on Microsoft Azure CloudTaking Spring Apps for a Spin on Microsoft Azure Cloud
Taking Spring Apps for a Spin on Microsoft Azure Cloud
 
A Look Back at Enterprise Integration Patterns and Their Use into Today's Ser...
A Look Back at Enterprise Integration Patterns and Their Use into Today's Ser...A Look Back at Enterprise Integration Patterns and Their Use into Today's Ser...
A Look Back at Enterprise Integration Patterns and Their Use into Today's Ser...
 
Melhore o Desenvolvimento do Time com DevOps na Nuvem
Melhore o Desenvolvimento do Time com DevOps na NuvemMelhore o Desenvolvimento do Time com DevOps na Nuvem
Melhore o Desenvolvimento do Time com DevOps na Nuvem
 
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na NuvemTecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
 
Java EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The CloudJava EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The Cloud
 
Migrating From Applets to Java Desktop Apps in JavaFX
Migrating From Applets to Java Desktop Apps in JavaFXMigrating From Applets to Java Desktop Apps in JavaFX
Migrating From Applets to Java Desktop Apps in JavaFX
 
Servidores de Aplicação: Por quê ainda precisamos deles?
Servidores de Aplicação: Por quê ainda precisamos deles?Servidores de Aplicação: Por quê ainda precisamos deles?
Servidores de Aplicação: Por quê ainda precisamos deles?
 
Build and Monitor Cloud PaaS with JVM’s Nashorn JavaScripts [CON1859]
Build and Monitor Cloud PaaS with JVM’s Nashorn JavaScripts [CON1859]Build and Monitor Cloud PaaS with JVM’s Nashorn JavaScripts [CON1859]
Build and Monitor Cloud PaaS with JVM’s Nashorn JavaScripts [CON1859]
 
Cloud Services for Developers: What’s Inside Oracle Cloud for You? [CON1861]
Cloud Services for Developers: What’s Inside Oracle Cloud for You? [CON1861]Cloud Services for Developers: What’s Inside Oracle Cloud for You? [CON1861]
Cloud Services for Developers: What’s Inside Oracle Cloud for You? [CON1861]
 
Booting Up Spring Apps on Lightweight Cloud Services [CON10258]
Booting Up Spring Apps on Lightweight Cloud Services [CON10258]Booting Up Spring Apps on Lightweight Cloud Services [CON10258]
Booting Up Spring Apps on Lightweight Cloud Services [CON10258]
 
Java EE Application Servers: Containerized or Multitenant? Both! [CON7506]
Java EE Application Servers: Containerized or Multitenant? Both! [CON7506]Java EE Application Servers: Containerized or Multitenant? Both! [CON7506]
Java EE Application Servers: Containerized or Multitenant? Both! [CON7506]
 
Running Oracle WebLogic on Docker Containers [BOF7537]
Running Oracle WebLogic on Docker Containers [BOF7537]Running Oracle WebLogic on Docker Containers [BOF7537]
Running Oracle WebLogic on Docker Containers [BOF7537]
 
The Developers Conference 2014 - Oracle Keynote
The Developers Conference 2014 - Oracle KeynoteThe Developers Conference 2014 - Oracle Keynote
The Developers Conference 2014 - Oracle Keynote
 
Crie Aplicações Mobile Híbridas Escritas em Java, para iOS e Android
Crie Aplicações Mobile Híbridas Escritas em Java, para iOS e AndroidCrie Aplicações Mobile Híbridas Escritas em Java, para iOS e Android
Crie Aplicações Mobile Híbridas Escritas em Java, para iOS e Android
 
Migrando de Applets para JavaFX, e Modelos de Distribuição de Apps
Migrando de Applets para JavaFX, e Modelos de Distribuição de AppsMigrando de Applets para JavaFX, e Modelos de Distribuição de Apps
Migrando de Applets para JavaFX, e Modelos de Distribuição de Apps
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Introdução ao Oracle NoSQL

  • 1. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle NoSQL O que o Oracle NoSQL tem para oferecer? Bruno Borges Principal Product Manager Oracle Latin America Agosto, 2014 Oracle Confidential – Internal/Restricted/Highly Restricted
  • 2. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | •Bruno Borges –Principal Product Manager, Java Evangelist –Oracle Latin America –@brunoborges –bruno.borges@oracle.com Speaker
  • 3. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Embedded +Light weight Web Scale-out & Real-time events +Schema-less +Relaxed consistency +Built-in availability Web & Departmental +SQL and NoSQL +Basic security Mission Critical OLTP and Data Warehousing +SQL, Transactions +High Availability and Security +Multitenant architecture Oracle Enterprise Manager Oracle Enterprise Manager Providing the right database technology for the job Oracle Databases
  • 4. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle NoSQL Database •Key Features –Flexible Key-Value Data Model –ACID transactions –Horizontally Scalable –Highly Available –Elastic Configuration –Simple administration –Intelligent Driver –Commercial grade software and support Scalable, Highly Available, Key-Value Database Application Storage Nodes Datacenter B Storage Nodes Datacenter A Application NoSQL DB Driver Application NoSQL DB Driver Application
  • 5. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Key-Value Database, Escalável, Distribuido Oracle NoSQL Database •Topologia Inteligente –Reliability process placement –Integrated load balancing –Data center awareness –Multi-master, wide partitioning •Elastic Expansion –Auto rebalance & compaction •Base and ACID –Rollback on failures Application Smart Topology Driver
  • 6. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle NoSQL Database by the Numbers •Predictable performance over time –No planned outages required •Smart resource management –Scale JUST when needed •Upgrade releases with no outage Performance, Scale and Manageability Testing
  • 7. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Performance Previsível •Qual a importância? –360 clientes utilizados –Geração de dados contínua –Cluster expandido em 50% –Baixa latência –Alto throughput –Sistema sempre online –Pronto para mais clientes Expansão de Cluster Online 0 1 2 3 4 5 6 7 8 0 10.000 20.000 30.000 40.000 50.000 60.000 70.000 144 (48x3) 20% 40% 60% 80% 216 (72x3) Average Latency (ms) Throughput (ops/sec) 95/5 Read/Update Throughput Throughput (ops/sec) Read Latency (ms) Update Latency (ms)
  • 8. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Gestão Inteligente de Recursos •Qual a importância? –Prepare-se para o Natal •Aumento em número de clientes para 540 •Escala linear de throughput •Latência permanece a mesma: 6ms •Sistema sempre online Oracle Confidential – Internal/Restricted/Highly Restricted 9 Escale somente quando necessário 0 10.000 20.000 30.000 40.000 50.000 60.000 70.000 80.000 90.000 144 (48x3) 216* (72x3) Throughput (ops/sec) 12->18 Machines, 144->216 Nodes 95/5 Read/Update Throughput
  • 9. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Exemplos e Demos Oracle Confidential – Internal/Restricted/Highly Restricted 10
  • 10. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Conecanto ao Oracle NoSQL String storeName = "kvstore"; String hostName = "localhost:5000"; KVStoreConfig kvConfig = new KVStoreConfig(storeName, hostName); try (KVStore store = KVStoreFactory.getStore(kvConfig)) { // ... Manipula a store } Oracle Confidential – Internal/Restricted/Highly Restricted 11
  • 11. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Exemplo de CRUD // Coloca nova chave/valor se ainda não existe Key key = Key.createKey("Katana"); String valString = "sword"; store.putIfAbsent(key, Value.createValue(valString.getBytes())); // Deleta esta chave (e valor) do banco de dados store.delete(key); Oracle Confidential – Internal/Restricted/Highly Restricted 12
  • 12. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Exemplo de CRUD // Leitura de dados do banco ValueVersion retValue = store.get(key); // Atualiza este item somente se a versão for a mesma que a lida String newvalString = "Really nice sword"; Value newval = Value.createValue(newvalString.getBytes()); store.putIfVersion(key, newval, retValue.getVersion()); Oracle Confidential – Internal/Restricted/Highly Restricted 13
  • 13. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Apache Avron – Definição de Schemas •Framework para serialização de dados •Features –Estruturas de dados ricas –Compacta, rápida, formato de dados binário –Container file para persistir dados –Suporte a RPC –Integrado ao Oracle NoSQL Oracle Confidential – Internal/Restricted/Highly Restricted 14 JSON format
  • 14. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Schema Definition em JSON { "type": "record", "namespace": "schema.namespace", "name": "schema.name", "fields": [ { "name": "field1", "type": "string" }, { "name": "field2", "type": "int" } ] } Oracle Confidential – Internal/Restricted/Highly Restricted 15 Com Apache Avron $> java -jar lib/kvstore.jar runadmin -host localhost -port 5000 kv-> ddl add-schema -file sample-schema.avsc
  • 15. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Incluindo JSON dentro do Oracle NoSQL ObjectNode name = JsonNodeFactory.instance.objectNode(); name.put("first", "Percival"); name.put("last", "Lowell"); JsonRecord record = new JsonRecord(member, memberInfoSchema); store.put(key, binding.toValue(record)); Oracle Confidential – Internal/Restricted/Highly Restricted 16
  • 16. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Bonus: Acesso via REST •fka Oracle APEX Listener •Futura versão 3.0 do Oracle REST Data Services – Roadmap –Oracle NoSQL –Oracle Database –JSON format –Automatic linkage master-detail –PL/SQL API to generate REST services –Test environment on Oracle SQL Developer Oracle Confidential – Internal/Restricted/Highly Restricted 17
  • 17. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle NoSQL Database Fully integrated for the Enterprise Real Time Access External Tables MapReduce, OLH, ODC, ODI NoSQL DB Driver Application GRAPH
  • 18. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | oracle.com/goto/nosql Para saber mais, visite o site.
  • 19. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Oracle Confidential – Internal/Restricted/Highly Restricted 20
  • 20. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 21