SlideShare a Scribd company logo
1 of 26
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle NoSQL Database
Release 3.4 – What’s new
Anand Chandak
Principal Product Manager
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following 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 3
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
NoSQL Background
Release 3.4 Highlights
Querying Oracle NoSQL Database
4
1
2
3
Agenda
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 5
101100101001001
001101010101011
100101010100100
101
ReliableFlexibleFastSimple
advanced Key-Value database designed as cost effective, high performance solution for simple operations on
collections of data with built in high availability and elastic scale-out.
less is more
What is Oracle NoSQL Database
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle NoSQL Database
Enterprise NoSQL Characteristics
• Simple Data Model
• Distributed, Replicated data
• Transparent load balancing
• Elastic configuration
• Simple administration
• Enterprise-ready Integration
• Commercial grade software and
support
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. |
Oracle NoSQL Database
Features
Application
Storage Nodes
Datacenter B
Storage Nodes
Datacenter A
Application
NoSQL DB Driver
Application
NoSQL DB Driver
Application
• Key-value, JSON & RDF data
• Large Object API
• BASE & ACID Transactions
• Primary and Secondary Data Centers
• Online Rolling Upgrade
• Online Cluster Management
• Table data model
• Secondary Indices
• Security
• Business Continuity and Disaster Recovery
• Off Heap Cache
• Bulk Get
• Complex Types for Hive Storage Handler
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
1 NoSQL Background
Release 3.4 Highlights
Querying Oracle NoSQL Database
8
2
3
Agenda
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 9
Ease of Adoption
Improved Performance
Business Continuity
Oracle NoSQL DB Release 3.4
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Release 3.4 Feature Summary
• Data Centers –Failover and Switchover Operations
– Continue business operations in event of zone failure that results in loss of quorum
– Perform Maintenance and planned shutdown
• Complex data type support for Apache Hive and Oracle Big Data SQL
– Map Hive Types with Oracle NoSQL Database Types.
• Bulk Get
– Ability to search using multiple primary keys in a single operation
– Get results from multiple rows across the shards in parallel
• Off Heap Cache
– Use memory outside of the object heap to support large datasets
– Improve performance – avoid Java GC problems
– Leverage the growing memory sizes per machine to be cost effective.
10
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Data Center Failover and Switchover
• Failover is unplanned change to one or more primary zones
– In-flight, non-replicated updates may be lost
– Adds the ability to redefine primary VS secondary zones to maintain write quorum
– Failed zones part of topology but made offline. Can be brought back once the fault is recovered
• Switchover is a planned configuration change to take one or more zones on- or offline,
or change their type
– Zero data loss
– Switchover waits until in-flight updates have been replicated
• New Admin CLI commands to handle these operations
• Requires intervention by cluster administrator
11
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
12
Store
M R
R
R R
Application
NoSQL Driver
M
R
R
M
Zone 1 Primary RF =2 Zone 2 Primary RF =1
Shard 1
Shard 2
Shard 3
 Zone1 hosts two copies; Zone2
hosts 1 copy
 Application accesses all nodes
 Zone 2 goes down. Still read and
write can be done.
 Admin CLI can only be used when
a quorum of admin nodes is
available
Data Center A Data Center B
Failover and Switchover
2 Zones. RF=2
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
13
Store
M R
R
R R
Application
NoSQL Driver
M
R
R
M
Zone 1 Primary RF =2 Zone 2 Primary RF =1
Shard 1
Shard 2
Shard 3
 Zone 1 goes down. Quorum Lost.
Read Only
 Admin available on zone2 only
 Diagnostic to zone1 unavailable
 Cannot perform Failover- Admin
quorum needed.
Data Center A Data Center B
X
Failover and Switchover
Zone1 Down
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
14
Store
M R
R
R R
Application
NoSQL Driver
M
R
R
M
Zone 1 Primary RF =2 Zone 2 Primary RF =1
Shard 1
Shard 2
Shard 3
 repair-admin-quorum -zn zn2
 Modify admin quorum to 1
Data Center A Data Center B
X
Failover and SwitchOver
Failover Repair Admin Quorum
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
15
Store
M R
R
R R
Application
NoSQL Driver
M
M
M
M
Zone 1 secondary and status
offline
Zone 2 Primary RF =1
Shard 1
Shard 2
Shard 3
 Plan failover –zn zn1 –type offline
secondary -wait
 Changes the zonetype of failed
zone to secondary
 Zone is offline.
Data Center A Data Center B
Failover and SwitchOver
Failover - Zone1 Secondary and Offline
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
16
Store
M R
R
R R
Application
NoSQL Driver
M
R
R
M
Zone 1 secondary Zone 2 Primary RF =1
Shard 1
Shard 2
Shard 3
 New flag disable-services added to
the start and stop command for
kvstore
 Avoids Hard Rollback
 Storage Nodes starts without
starting their hosted service.
Data Center A Data Center B
Failover and SwitchOver
Switchover –Restore Zone1 as primary
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
17
Store
M R
R
R R
Application
NoSQL Driver
M
R
R
M
Zone 1 primary RF =2 Status
Reachable
Zone 2 Primary RF =1
Shard 1
Shard 2
Shard 3
 plan repair-topology –wait
 Repair the topology to update the
topology of newly restarted Storage
Nodes with changes made by the
failover.
 topology change-zone-type -name
original-topo -zn zn1 -type primary
 plan deploy-topology -name
original-topo -wait
Data Center A Data Center B
Failover and Switchover
Switchover – repair and change topology
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Integration with Apache Hive and Oracle Big Data SQL
• Oracle Big Data SQL
– Common SQL access layer to data stored in Hadoop HDFS,
Hive and Oracle NoSQL Database
– Defines new external table access driver types.
ORACLE_HIVE for accessing data stored in or referenced by
Hive Tables
– Query Oracle NoSQL Data from Hive or Oracle Database
– Runs Map Reduce Jobs against data stored in Oracle NoSQL
Database
• Support for primitive and complex data types
• Common data definition between Oracle NoSQL
DB, Hive and Oracle Database
18
BIG DATA SQL
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Hive External Table Type Mapping
19
Oracle NoSQL Hive Type
FieldDef.Type.ENUM
STRING
TIMESTAMP
DATE
FieldDef.Type.MAP MAP<STRING, data_type>
FieldDef.Type.RECORD
STRUCT<col_name : data_type, ...>
UNIONTYPE<data_type, data_type, ...>
19
Hive> SELECT SSN FROM rmvTable WHERE ADDRESS.CITY SELECT COUNT(SSN) … GROUP BY GENDER
hive> CREATE EXTERNAL TABLE IF NOT EXISTS
rmvTable (ZIPCODE STRING, LASTNAME STRING, FIRSTNAME STRING,
SSN BIGINT,
GENDER STRING,
LICENSE BINARY,
PHONEINFO MAP<STRING, STRING>,
ADDRESS STRUCT<NUMBER:INT,
STREET:STRING,
UNIT:INT,
CITY:STRING,
STATE:STRING,
ZIP:INT>,
VEHICLEINFO ARRAY<STRUCT<TYPE:STRING, MAKE:STRING, MODEL:STRING, CLASS:STRING,
COLOR:STRING, VALUE:FLOAT, TAX:DOUBLE, PAID:BOOLEAN>>)
COMMENT 'Hive table rmvTable <---> KVStore table rmvTable'
STORED BY 'oracle.kv.hadoop.hive.table.TableStorageHandler'
TBLPROPERTIES ("oracle.kv.kvstore" = "example-store",
"oracle.kv.hosts" = "kv-host-1:5000",
"oracle.kv.tableName" = "rmvTable",
"oracle.kv.hadoop.hosts" = "dn-host-1,dn-host-2,dn-host-3");
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Performant API to retrieve records matching
multiple primary keys in a single API call.
– Takes a list of keys as input
– Similar to IN clause in SQL
– Outputs an iterator with the matching results
• Parallel scan across the shards
• Supports Key/Value and Table Interfaces
• All the primary keys should belongs the same
table
• The primary key must contain all of the fields
defined for the table‘s shard key
20
Bulk Get()
Getting 30M rows goes from 420ms to 149ms.
2-3X+ performance improvement.
get bulk-9 bulk-18 bulk-72
Time(ms) 438,487 219,842 171,081 143,937
0
50,000
100,000
150,000
200,000
250,000
300,000
350,000
400,000
450,000
500,000
KV3*3, client:1, thread:90, read
OPs:30,000,000, fields:10*10
Time(ms)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Read rows matching the condition that “country
is US or IND or CN or UK and userId in [0,100]”
from table User and its child tables User.
Address and Users. Email .
Tables definition:
User (country string,
userid integer,
name string,
…
primary key(shard(country), id))
User.Address (addrId integer,
…,
primary key(addrId))
User.Email (emailAddress string,
…
primary key(emailAddress))
Bulk Get Example
final String[] countries = {"US", "IND", "CN”, “UK”};
final List<PrimaryKey> keys = new ArrayList<PrimaryKey>(countries .length);
for (String country : countries) {
final PrimaryKey pk = userTable.createPrimaryKey();
pk.put("Country", "US");
keys.add(pk);
}
/* Initialize multiRowOption: userId in [0, 100]. child tables email, address */
final FieldRange range = userTable.createFieldRange("userid");
range.setStart(0, true).setEnd(100, true);
final MultiRowOptions mro =
new MultiRowOptions(range, null /* ancestor */,
Arrays.asList(emailTable, addressTable));
/* Initialize TableIteratorOptions */
final int batchResultsSize = 200;
final int parallalism = 9;
final TableIteratorOptions tio =
new TableIteratorOptions(null /* Direction */,
null /* Consistency */,
0 /* RequestTimeOut */,
null /*TimeUnit*/,
parallalism,
batchResultsSize);
TableIterator<Row> itr = null;
try {
itr = tableAPI.tableIterator(keys.iterator(), mro, tio);
while (itr.hasNext()) {
final Row user = itr.next();
/* ... */
}
} catch (StoreIteratorException sie) {
/* Handle exception.. */
} finally {
itr.close();
}
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Useful for Replication Nodes with 64GB+ of available memory
• Allocate memory outside of limits of Java Heap
– Avoid long GC pauses
– Mitigate Java “compressed OOPs” overhead
• Native platform memory allocator
– Oracle and IBM JDK
• Contains records evicted from main cache (LRU)
• Configurable
– Based on available memory
– Optional Performance tuning
• change-policy -params systemPercent=10
– Setting 100 will turn OFF off-heap cache
• change-policy -params rnHeapMaxMB=8192
22
Performance: Off-heap Cache
File System Cache
Newly Written log files, Sequentially read log files,
Log file fragments.
NoSQL DB Objects
Off Heap Cache
Java Heap (min (32G, 85% of memory))
System Use (10%)
(100 – rnHeapPercent – systemPercent)
Managed by
GC
Not
Managed by
GC
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Thank You
23
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Join NoSQL Database Community
Twitter
https://twitter.com/#!/OracleNoSQL
LinkedIn
http://www.linkedin.com/groups?gid=4147754
Oracle’s NoSQL DB blog
https://blogs.oracle.com/nosql
Oracle Technology Network
http://bit.ly/1f0d8wU
Developer Webcast Series
http://bit.ly/1doV2jl
Oracle.com/BigData
24
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle no sql release 3 4 overview

More Related Content

What's hot

IDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OSIDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OSCuneyt Goksu
 
Properly Use Parallel DML for ETL
Properly Use Parallel DML for ETLProperly Use Parallel DML for ETL
Properly Use Parallel DML for ETLAndrej Pashchenko
 
Best Practices for Oracle Exadata and the Oracle Optimizer
Best Practices for Oracle Exadata and the Oracle OptimizerBest Practices for Oracle Exadata and the Oracle Optimizer
Best Practices for Oracle Exadata and the Oracle OptimizerEdgar Alejandro Villegas
 
Open world exadata_top_10_lessons_learned
Open world exadata_top_10_lessons_learnedOpen world exadata_top_10_lessons_learned
Open world exadata_top_10_lessons_learnedchet justice
 
Online Statistics Gathering for ETL
Online Statistics Gathering for ETLOnline Statistics Gathering for ETL
Online Statistics Gathering for ETLAndrej Pashchenko
 
All on Adaptive and Extended Cursor Sharing
All on Adaptive and Extended Cursor SharingAll on Adaptive and Extended Cursor Sharing
All on Adaptive and Extended Cursor SharingMohamed Houri
 
Using Release(deallocate) and Painful Lessons to be learned on DB2 locking
Using Release(deallocate) and Painful Lessons to be learned on DB2 lockingUsing Release(deallocate) and Painful Lessons to be learned on DB2 locking
Using Release(deallocate) and Painful Lessons to be learned on DB2 lockingJohn Campbell
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes dilip kumar
 
Exadata Performance Optimization
Exadata Performance OptimizationExadata Performance Optimization
Exadata Performance OptimizationEnkitec
 
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS by Namik Hrle ...
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS  by  Namik Hrle ...Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS  by  Namik Hrle ...
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS by Namik Hrle ...Surekha Parekh
 
DB2 for z/OS Real Storage Monitoring, Control and Planning
DB2 for z/OS Real Storage Monitoring, Control and PlanningDB2 for z/OS Real Storage Monitoring, Control and Planning
DB2 for z/OS Real Storage Monitoring, Control and PlanningJohn Campbell
 
DB2 11 for z/OS Migration Planning and Early Customer Experiences
DB2 11 for z/OS Migration Planning and Early Customer ExperiencesDB2 11 for z/OS Migration Planning and Early Customer Experiences
DB2 11 for z/OS Migration Planning and Early Customer ExperiencesJohn Campbell
 
12 processor structure and function
12 processor structure and function12 processor structure and function
12 processor structure and functiondilip kumar
 
Db2 recovery IDUG EMEA 2013
Db2 recovery IDUG EMEA 2013Db2 recovery IDUG EMEA 2013
Db2 recovery IDUG EMEA 2013Dale McInnis
 
Adaptive Query Optimization
Adaptive Query OptimizationAdaptive Query Optimization
Adaptive Query OptimizationAnju Garg
 
Best Practices – Extreme Performance with Data Warehousing on Oracle Database
Best Practices – Extreme Performance with Data Warehousing on Oracle DatabaseBest Practices – Extreme Performance with Data Warehousing on Oracle Database
Best Practices – Extreme Performance with Data Warehousing on Oracle DatabaseEdgar Alejandro Villegas
 
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...John Campbell
 
Oracle Data Redaction - EOUC
Oracle Data Redaction - EOUCOracle Data Redaction - EOUC
Oracle Data Redaction - EOUCAlex Zaballa
 
RPL - Routing Protocol for Low Power and Lossy Networks
RPL - Routing Protocol for Low Power and Lossy NetworksRPL - Routing Protocol for Low Power and Lossy Networks
RPL - Routing Protocol for Low Power and Lossy NetworksPradeep Kumar TS
 

What's hot (20)

IDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OSIDUG NA 2014 / 11 tips for DB2 11 for z/OS
IDUG NA 2014 / 11 tips for DB2 11 for z/OS
 
Properly Use Parallel DML for ETL
Properly Use Parallel DML for ETLProperly Use Parallel DML for ETL
Properly Use Parallel DML for ETL
 
Best Practices for Oracle Exadata and the Oracle Optimizer
Best Practices for Oracle Exadata and the Oracle OptimizerBest Practices for Oracle Exadata and the Oracle Optimizer
Best Practices for Oracle Exadata and the Oracle Optimizer
 
Open world exadata_top_10_lessons_learned
Open world exadata_top_10_lessons_learnedOpen world exadata_top_10_lessons_learned
Open world exadata_top_10_lessons_learned
 
Online Statistics Gathering for ETL
Online Statistics Gathering for ETLOnline Statistics Gathering for ETL
Online Statistics Gathering for ETL
 
All on Adaptive and Extended Cursor Sharing
All on Adaptive and Extended Cursor SharingAll on Adaptive and Extended Cursor Sharing
All on Adaptive and Extended Cursor Sharing
 
15 ia64
15 ia6415 ia64
15 ia64
 
Using Release(deallocate) and Painful Lessons to be learned on DB2 locking
Using Release(deallocate) and Painful Lessons to be learned on DB2 lockingUsing Release(deallocate) and Painful Lessons to be learned on DB2 locking
Using Release(deallocate) and Painful Lessons to be learned on DB2 locking
 
11 instruction sets addressing modes
11  instruction sets addressing modes 11  instruction sets addressing modes
11 instruction sets addressing modes
 
Exadata Performance Optimization
Exadata Performance OptimizationExadata Performance Optimization
Exadata Performance Optimization
 
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS by Namik Hrle ...
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS  by  Namik Hrle ...Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS  by  Namik Hrle ...
Efficient Monitoring & Tuning of Dynamic SQL in DB2 for z/OS by Namik Hrle ...
 
DB2 for z/OS Real Storage Monitoring, Control and Planning
DB2 for z/OS Real Storage Monitoring, Control and PlanningDB2 for z/OS Real Storage Monitoring, Control and Planning
DB2 for z/OS Real Storage Monitoring, Control and Planning
 
DB2 11 for z/OS Migration Planning and Early Customer Experiences
DB2 11 for z/OS Migration Planning and Early Customer ExperiencesDB2 11 for z/OS Migration Planning and Early Customer Experiences
DB2 11 for z/OS Migration Planning and Early Customer Experiences
 
12 processor structure and function
12 processor structure and function12 processor structure and function
12 processor structure and function
 
Db2 recovery IDUG EMEA 2013
Db2 recovery IDUG EMEA 2013Db2 recovery IDUG EMEA 2013
Db2 recovery IDUG EMEA 2013
 
Adaptive Query Optimization
Adaptive Query OptimizationAdaptive Query Optimization
Adaptive Query Optimization
 
Best Practices – Extreme Performance with Data Warehousing on Oracle Database
Best Practices – Extreme Performance with Data Warehousing on Oracle DatabaseBest Practices – Extreme Performance with Data Warehousing on Oracle Database
Best Practices – Extreme Performance with Data Warehousing on Oracle Database
 
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...
DB2 for z/OS Bufferpool Tuning win by Divide and Conquer or Lose by Multiply ...
 
Oracle Data Redaction - EOUC
Oracle Data Redaction - EOUCOracle Data Redaction - EOUC
Oracle Data Redaction - EOUC
 
RPL - Routing Protocol for Low Power and Lossy Networks
RPL - Routing Protocol for Low Power and Lossy NetworksRPL - Routing Protocol for Low Power and Lossy Networks
RPL - Routing Protocol for Low Power and Lossy Networks
 

Similar to Oracle no sql release 3 4 overview

20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptxIvan Ma
 
6° Sessione Oracle - CRUI: Oracle Database Appliance: Il potere dell’ingegner...
6° Sessione Oracle - CRUI: Oracle Database Appliance:Il potere dell’ingegner...6° Sessione Oracle - CRUI: Oracle Database Appliance:Il potere dell’ingegner...
6° Sessione Oracle - CRUI: Oracle Database Appliance: Il potere dell’ingegner...Jürgen Ambrosi
 
2_MySQL_Cluster_Introduction.pdf
2_MySQL_Cluster_Introduction.pdf2_MySQL_Cluster_Introduction.pdf
2_MySQL_Cluster_Introduction.pdfHaiping Li
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Fran Navarro
 
My sql fabric webinar v1.1
My sql fabric webinar v1.1My sql fabric webinar v1.1
My sql fabric webinar v1.1Ricky Setyawan
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Connor McDonald
 
MySQL 5.7: Core Server Changes
MySQL 5.7: Core Server ChangesMySQL 5.7: Core Server Changes
MySQL 5.7: Core Server ChangesMorgan Tocker
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
Introduction to MySQL Cluster
Introduction to MySQL ClusterIntroduction to MySQL Cluster
Introduction to MySQL ClusterAbel Flórez
 
MySQL Cluster overview + development slides (2014)
MySQL Cluster overview + development slides (2014) MySQL Cluster overview + development slides (2014)
MySQL Cluster overview + development slides (2014) Frazer Clement
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoMarkus Michalewicz
 
MySQL Performance Metrics that Matter
MySQL Performance Metrics that MatterMySQL Performance Metrics that Matter
MySQL Performance Metrics that MatterMorgan Tocker
 
Přehled portfolia Oracle Database Appliance a praktických případů v regionu EMEA
Přehled portfolia Oracle Database Appliance a praktických případů v regionu EMEAPřehled portfolia Oracle Database Appliance a praktických případů v regionu EMEA
Přehled portfolia Oracle Database Appliance a praktických případů v regionu EMEAMarketingArrowECS_CZ
 
Sparc SuperCluster
Sparc SuperClusterSparc SuperCluster
Sparc SuperClusterFran Navarro
 
Lessons learned from Isbank - A Story of a DB2 for z/OS Initiative
Lessons learned from Isbank - A Story of a DB2 for z/OS InitiativeLessons learned from Isbank - A Story of a DB2 for z/OS Initiative
Lessons learned from Isbank - A Story of a DB2 for z/OS InitiativeCuneyt Goksu
 
Oracle Maximum Availability Architecture
Oracle Maximum Availability ArchitectureOracle Maximum Availability Architecture
Oracle Maximum Availability ArchitectureMarketingArrowECS_CZ
 

Similar to Oracle no sql release 3 4 overview (20)

20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx
 
6° Sessione Oracle - CRUI: Oracle Database Appliance: Il potere dell’ingegner...
6° Sessione Oracle - CRUI: Oracle Database Appliance:Il potere dell’ingegner...6° Sessione Oracle - CRUI: Oracle Database Appliance:Il potere dell’ingegner...
6° Sessione Oracle - CRUI: Oracle Database Appliance: Il potere dell’ingegner...
 
2_MySQL_Cluster_Introduction.pdf
2_MySQL_Cluster_Introduction.pdf2_MySQL_Cluster_Introduction.pdf
2_MySQL_Cluster_Introduction.pdf
 
MySQL Replication
MySQL ReplicationMySQL Replication
MySQL Replication
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster
 
My sql fabric webinar v1.1
My sql fabric webinar v1.1My sql fabric webinar v1.1
My sql fabric webinar v1.1
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2
 
MySQL 5.7: Core Server Changes
MySQL 5.7: Core Server ChangesMySQL 5.7: Core Server Changes
MySQL 5.7: Core Server Changes
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Introduction to MySQL Cluster
Introduction to MySQL ClusterIntroduction to MySQL Cluster
Introduction to MySQL Cluster
 
MySQL Cluster overview + development slides (2014)
MySQL Cluster overview + development slides (2014) MySQL Cluster overview + development slides (2014)
MySQL Cluster overview + development slides (2014)
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
 
MySQL Performance Metrics that Matter
MySQL Performance Metrics that MatterMySQL Performance Metrics that Matter
MySQL Performance Metrics that Matter
 
Developer day v2
Developer day v2Developer day v2
Developer day v2
 
Přehled portfolia Oracle Database Appliance a praktických případů v regionu EMEA
Přehled portfolia Oracle Database Appliance a praktických případů v regionu EMEAPřehled portfolia Oracle Database Appliance a praktických případů v regionu EMEA
Přehled portfolia Oracle Database Appliance a praktických případů v regionu EMEA
 
Sparc SuperCluster
Sparc SuperClusterSparc SuperCluster
Sparc SuperCluster
 
MySQL Cluster
MySQL ClusterMySQL Cluster
MySQL Cluster
 
DesignRev and Waiver Flow
DesignRev and Waiver FlowDesignRev and Waiver Flow
DesignRev and Waiver Flow
 
Lessons learned from Isbank - A Story of a DB2 for z/OS Initiative
Lessons learned from Isbank - A Story of a DB2 for z/OS InitiativeLessons learned from Isbank - A Story of a DB2 for z/OS Initiative
Lessons learned from Isbank - A Story of a DB2 for z/OS Initiative
 
Oracle Maximum Availability Architecture
Oracle Maximum Availability ArchitectureOracle Maximum Availability Architecture
Oracle Maximum Availability Architecture
 

Recently uploaded

Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 

Recently uploaded (20)

Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 

Oracle no sql release 3 4 overview

  • 1.
  • 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle NoSQL Database Release 3.4 – What’s new Anand Chandak Principal Product Manager
  • 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following 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 3
  • 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | NoSQL Background Release 3.4 Highlights Querying Oracle NoSQL Database 4 1 2 3 Agenda
  • 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 5 101100101001001 001101010101011 100101010100100 101 ReliableFlexibleFastSimple advanced Key-Value database designed as cost effective, high performance solution for simple operations on collections of data with built in high availability and elastic scale-out. less is more What is Oracle NoSQL Database
  • 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle NoSQL Database Enterprise NoSQL Characteristics • Simple Data Model • Distributed, Replicated data • Transparent load balancing • Elastic configuration • Simple administration • Enterprise-ready Integration • Commercial grade software and support Application Storage Nodes Datacenter B Storage Nodes Datacenter A Application NoSQL DB Driver Application NoSQL DB Driver Application
  • 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle NoSQL Database Features Application Storage Nodes Datacenter B Storage Nodes Datacenter A Application NoSQL DB Driver Application NoSQL DB Driver Application • Key-value, JSON & RDF data • Large Object API • BASE & ACID Transactions • Primary and Secondary Data Centers • Online Rolling Upgrade • Online Cluster Management • Table data model • Secondary Indices • Security • Business Continuity and Disaster Recovery • Off Heap Cache • Bulk Get • Complex Types for Hive Storage Handler
  • 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 1 NoSQL Background Release 3.4 Highlights Querying Oracle NoSQL Database 8 2 3 Agenda
  • 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 9 Ease of Adoption Improved Performance Business Continuity Oracle NoSQL DB Release 3.4
  • 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Release 3.4 Feature Summary • Data Centers –Failover and Switchover Operations – Continue business operations in event of zone failure that results in loss of quorum – Perform Maintenance and planned shutdown • Complex data type support for Apache Hive and Oracle Big Data SQL – Map Hive Types with Oracle NoSQL Database Types. • Bulk Get – Ability to search using multiple primary keys in a single operation – Get results from multiple rows across the shards in parallel • Off Heap Cache – Use memory outside of the object heap to support large datasets – Improve performance – avoid Java GC problems – Leverage the growing memory sizes per machine to be cost effective. 10
  • 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Data Center Failover and Switchover • Failover is unplanned change to one or more primary zones – In-flight, non-replicated updates may be lost – Adds the ability to redefine primary VS secondary zones to maintain write quorum – Failed zones part of topology but made offline. Can be brought back once the fault is recovered • Switchover is a planned configuration change to take one or more zones on- or offline, or change their type – Zero data loss – Switchover waits until in-flight updates have been replicated • New Admin CLI commands to handle these operations • Requires intervention by cluster administrator 11
  • 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 12 Store M R R R R Application NoSQL Driver M R R M Zone 1 Primary RF =2 Zone 2 Primary RF =1 Shard 1 Shard 2 Shard 3  Zone1 hosts two copies; Zone2 hosts 1 copy  Application accesses all nodes  Zone 2 goes down. Still read and write can be done.  Admin CLI can only be used when a quorum of admin nodes is available Data Center A Data Center B Failover and Switchover 2 Zones. RF=2
  • 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 13 Store M R R R R Application NoSQL Driver M R R M Zone 1 Primary RF =2 Zone 2 Primary RF =1 Shard 1 Shard 2 Shard 3  Zone 1 goes down. Quorum Lost. Read Only  Admin available on zone2 only  Diagnostic to zone1 unavailable  Cannot perform Failover- Admin quorum needed. Data Center A Data Center B X Failover and Switchover Zone1 Down
  • 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 14 Store M R R R R Application NoSQL Driver M R R M Zone 1 Primary RF =2 Zone 2 Primary RF =1 Shard 1 Shard 2 Shard 3  repair-admin-quorum -zn zn2  Modify admin quorum to 1 Data Center A Data Center B X Failover and SwitchOver Failover Repair Admin Quorum
  • 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 15 Store M R R R R Application NoSQL Driver M M M M Zone 1 secondary and status offline Zone 2 Primary RF =1 Shard 1 Shard 2 Shard 3  Plan failover –zn zn1 –type offline secondary -wait  Changes the zonetype of failed zone to secondary  Zone is offline. Data Center A Data Center B Failover and SwitchOver Failover - Zone1 Secondary and Offline
  • 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 16 Store M R R R R Application NoSQL Driver M R R M Zone 1 secondary Zone 2 Primary RF =1 Shard 1 Shard 2 Shard 3  New flag disable-services added to the start and stop command for kvstore  Avoids Hard Rollback  Storage Nodes starts without starting their hosted service. Data Center A Data Center B Failover and SwitchOver Switchover –Restore Zone1 as primary
  • 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 17 Store M R R R R Application NoSQL Driver M R R M Zone 1 primary RF =2 Status Reachable Zone 2 Primary RF =1 Shard 1 Shard 2 Shard 3  plan repair-topology –wait  Repair the topology to update the topology of newly restarted Storage Nodes with changes made by the failover.  topology change-zone-type -name original-topo -zn zn1 -type primary  plan deploy-topology -name original-topo -wait Data Center A Data Center B Failover and Switchover Switchover – repair and change topology
  • 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Integration with Apache Hive and Oracle Big Data SQL • Oracle Big Data SQL – Common SQL access layer to data stored in Hadoop HDFS, Hive and Oracle NoSQL Database – Defines new external table access driver types. ORACLE_HIVE for accessing data stored in or referenced by Hive Tables – Query Oracle NoSQL Data from Hive or Oracle Database – Runs Map Reduce Jobs against data stored in Oracle NoSQL Database • Support for primitive and complex data types • Common data definition between Oracle NoSQL DB, Hive and Oracle Database 18 BIG DATA SQL
  • 19. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Hive External Table Type Mapping 19 Oracle NoSQL Hive Type FieldDef.Type.ENUM STRING TIMESTAMP DATE FieldDef.Type.MAP MAP<STRING, data_type> FieldDef.Type.RECORD STRUCT<col_name : data_type, ...> UNIONTYPE<data_type, data_type, ...> 19 Hive> SELECT SSN FROM rmvTable WHERE ADDRESS.CITY SELECT COUNT(SSN) … GROUP BY GENDER hive> CREATE EXTERNAL TABLE IF NOT EXISTS rmvTable (ZIPCODE STRING, LASTNAME STRING, FIRSTNAME STRING, SSN BIGINT, GENDER STRING, LICENSE BINARY, PHONEINFO MAP<STRING, STRING>, ADDRESS STRUCT<NUMBER:INT, STREET:STRING, UNIT:INT, CITY:STRING, STATE:STRING, ZIP:INT>, VEHICLEINFO ARRAY<STRUCT<TYPE:STRING, MAKE:STRING, MODEL:STRING, CLASS:STRING, COLOR:STRING, VALUE:FLOAT, TAX:DOUBLE, PAID:BOOLEAN>>) COMMENT 'Hive table rmvTable <---> KVStore table rmvTable' STORED BY 'oracle.kv.hadoop.hive.table.TableStorageHandler' TBLPROPERTIES ("oracle.kv.kvstore" = "example-store", "oracle.kv.hosts" = "kv-host-1:5000", "oracle.kv.tableName" = "rmvTable", "oracle.kv.hadoop.hosts" = "dn-host-1,dn-host-2,dn-host-3");
  • 20. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | • Performant API to retrieve records matching multiple primary keys in a single API call. – Takes a list of keys as input – Similar to IN clause in SQL – Outputs an iterator with the matching results • Parallel scan across the shards • Supports Key/Value and Table Interfaces • All the primary keys should belongs the same table • The primary key must contain all of the fields defined for the table‘s shard key 20 Bulk Get() Getting 30M rows goes from 420ms to 149ms. 2-3X+ performance improvement. get bulk-9 bulk-18 bulk-72 Time(ms) 438,487 219,842 171,081 143,937 0 50,000 100,000 150,000 200,000 250,000 300,000 350,000 400,000 450,000 500,000 KV3*3, client:1, thread:90, read OPs:30,000,000, fields:10*10 Time(ms)
  • 21. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Read rows matching the condition that “country is US or IND or CN or UK and userId in [0,100]” from table User and its child tables User. Address and Users. Email . Tables definition: User (country string, userid integer, name string, … primary key(shard(country), id)) User.Address (addrId integer, …, primary key(addrId)) User.Email (emailAddress string, … primary key(emailAddress)) Bulk Get Example final String[] countries = {"US", "IND", "CN”, “UK”}; final List<PrimaryKey> keys = new ArrayList<PrimaryKey>(countries .length); for (String country : countries) { final PrimaryKey pk = userTable.createPrimaryKey(); pk.put("Country", "US"); keys.add(pk); } /* Initialize multiRowOption: userId in [0, 100]. child tables email, address */ final FieldRange range = userTable.createFieldRange("userid"); range.setStart(0, true).setEnd(100, true); final MultiRowOptions mro = new MultiRowOptions(range, null /* ancestor */, Arrays.asList(emailTable, addressTable)); /* Initialize TableIteratorOptions */ final int batchResultsSize = 200; final int parallalism = 9; final TableIteratorOptions tio = new TableIteratorOptions(null /* Direction */, null /* Consistency */, 0 /* RequestTimeOut */, null /*TimeUnit*/, parallalism, batchResultsSize); TableIterator<Row> itr = null; try { itr = tableAPI.tableIterator(keys.iterator(), mro, tio); while (itr.hasNext()) { final Row user = itr.next(); /* ... */ } } catch (StoreIteratorException sie) { /* Handle exception.. */ } finally { itr.close(); }
  • 22. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | • Useful for Replication Nodes with 64GB+ of available memory • Allocate memory outside of limits of Java Heap – Avoid long GC pauses – Mitigate Java “compressed OOPs” overhead • Native platform memory allocator – Oracle and IBM JDK • Contains records evicted from main cache (LRU) • Configurable – Based on available memory – Optional Performance tuning • change-policy -params systemPercent=10 – Setting 100 will turn OFF off-heap cache • change-policy -params rnHeapMaxMB=8192 22 Performance: Off-heap Cache File System Cache Newly Written log files, Sequentially read log files, Log file fragments. NoSQL DB Objects Off Heap Cache Java Heap (min (32G, 85% of memory)) System Use (10%) (100 – rnHeapPercent – systemPercent) Managed by GC Not Managed by GC
  • 23. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Thank You 23
  • 24. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Join NoSQL Database Community Twitter https://twitter.com/#!/OracleNoSQL LinkedIn http://www.linkedin.com/groups?gid=4147754 Oracle’s NoSQL DB blog https://blogs.oracle.com/nosql Oracle Technology Network http://bit.ly/1f0d8wU Developer Webcast Series http://bit.ly/1doV2jl Oracle.com/BigData 24
  • 25. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |