SlideShare uma empresa Scribd logo
1 de 32
Baixar para ler offline
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1
Oracle NoSQL Database
Release 3.0 Summary
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3
Agenda
 Oracle NoSQL DB Overview
 Oracle NoSQL DB Release 3.0
 Best Practices
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4
Big Data Architecture
Data WarehouseData Reservoir +
Oracle Big Data
Connectors
Oracle Data
Integrator
Oracle
Advanced
Analytics
Oracle
Database
Oracle Spatial
& Graph
Oracle NoSQL
Database
Cloudera Hadoop
Oracle R Distribution
Oracle Industry
Models
Oracle
GoldenGate
Oracle Data
Integrator
Oracle Event
Processing
Oracle Event
Processing
Apache
Flume
Oracle
GoldenGate
Oracle Advanced
Analytics
Oracle Database
Oracle Spatial
& Graph
Oracle Industry
Models
Oracle Data
Integrator
Oracle NoSQL
Database
Where does NoSQL fit?
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5
 Simple Data Model
 Distributed, Replicated data
 Transparent load balancing
 Elastic configuration
 Simple administration
 Enterprise-ready Integration
 Commercial grade software and
support
Characteristics
Oracle NoSQL Database
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 © 2013, Oracle and/or its affiliates. All rights reserved.6
Features
Release
3.0
Oracle NoSQL Database
Scalable, Highly Available, Key-Value Database
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
 Data Center Support
 Online Rolling Upgrade
 Online Cluster Management
 Table data model
 Secondary Indices
 Secondary Zones (Data Centers)
 Security
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7
Scalability Architecture – Applications View
 Elastic Shards
(split, add, contract)
Store
Shard
M
Shard
M
R
Shard
M
R R
Application
NoSQL Driver
R R
R
 Writes to elected
node
 Reads from any
node in system
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8
Oracle NoSQL Database
Predictability
Reliability & Support
Integration
When you need:
Web-Scale Transactions, Personalization
Sensor Data Management
Real-Time Event Processing
For Applications that do:
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9
Agenda
 Oracle NoSQL DB Overview
 Oracle NoSQL DB Release 3.0
 Best Practices
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10
Oracle NoSQL DB Release 3.0
Enterprise Ready
Ease of Adoption
Security
Business Continuity
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11
Oracle NoSQL DB Release 3.0
 Table data model support
– Simplifies data modeling & leverages existing “table” expertise
 Secondary indexing
– Allow indexing on any component of the record
– Huge performance benefit due to parallel, indexed data access
 Data centers
– Metro-area zones for disaster recovery and business continuity
– Secondary zones for read-only workloads
 Security
– Authentication and network-level encryption
Feature Summary
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.12
Oracle NoSQL DB Release 3.0
 Lower barrier to adoption, shorter time to market
 Simplified application modeling
– Uses familiar table concepts
– Introduces strongly typed fields
– Easy to/from JSON with full type support and AVRO serialization
– Allows secondary indexing of non-key data
 Sets foundation for SQL query access from Oracle DB
 Previous Key/Value and JSON schema APIs still supported
Table Data Model Benefits
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.13
Oracle NoSQL DB Release 3.0
 Layered on top of distributed key-value model
 Compatible with most Release 2.0 JSON schemas
 Defines JSON schema automatically
 Supports table evolution
 New access API’s with table terminology
 Retains flexible client access
 Administrative CLI for schema creation and evolution
Table Data Model Characteristics
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14
Oracle NoSQL DB Release 3.0
 Distributed Table records or “JSON Documents” – you choose
 Records grouped locally (by shard-key)
 ACID & BASE transactions
 Automatic mapping of Major/Minor key structure
 Enables future External Table improvements
 Rich queries
 Predicate push down
 SQL query language
Table Data Model Advantages
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.15
Oracle NoSQL DB Release 3.0
table create -name Users
add-field -name userid -type integer
add-field -name lname -type string
add-field -name fname -type string
add-field -name email -type string
primary-key -field userid
shard-key -field userid
exit
plan add-table -name Users -wait
Simple Table Example
Can be specified as a JSON string
Must be proper subset of primary-key
By default shard-key == primary-key
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16
Oracle NoSQL DB Release 3.0
Simple Table Example
userId lname fname email
Table
Shard Key
Users
ValuePrimary Key
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.17
Oracle NoSQL DB Release 3.0
table create -name Users
add-field -name userid -type integer
add-field -name lname -type string
add-field -name fname -type string
add-field -name email -type string
primary-key -field userid
exit
plan add-table -name Users –wait
table create -name Users.Folders
add-field -name foldername -type string
add-field -name msgcount -type integer
add-field -name favorite –type boolean
-default 'F'
primary-key -field foldername
exit
plan add-table -name Users.Folders -wait
Nested Table Example
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.18
Oracle NoSQL DB Release 3.0
Table Data Model – Nested Tables
UserId lname fname email
Table
Users
Users.
Folders
[Value]Primary Key
…
[Value]
UserId Foldername msgcount favorite
Primary KeyShard Key
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19
Oracle NoSQL DB Release 3.0
 Broader low latency use case support
– Primary and Secondary Indexes
– Indexes automatically maintained
– Provides sorted results
 Low resource cost with high performance
– Low cardinality matching, guaranteed consistent
– Shard-local indexing, low latency record access
– B-trees locally ordered, scanned in parallel, merged result set
– Improved index cache eviction
Secondary Index support
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20
 Get() API specifies index
 Equality or range searches
 Low order multi-value indexes
– Composite index on values
– Parallel Index Scan
– Ordered results
– Indexable single element arrays
Oracle NoSQL DB Release 3.0
Secondary Indexes
Index on (lname, fname)
UserId fname lname email
Table
Users
 Equality search on lname + fname
 Equality search on lname and range on fname
 Range or Equality search on lname by itself
 Can’t search on just fname
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21
Oracle NoSQL DB Release 3.0
plan add-index –table Users -name Users_idx1 –field lname –field fname
1. Defines index on all shards
2. In parallel (per shard) starts table scan via primary key, populates
index
3. Updates get populated into index automatically
4. When all shards are complete, index is available for access
Simple Example
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22
Secondary Index Storage
Pkey A Value A
F1 F2 F3 V1 V2 V3
Pkey B Value B
F1 F2 F3 V1 V2 V3
Skey A Pkey A
V2 V3 F1 F2 F3
Skey B Pkey B
V2 V3 F1 F2 F3
Skey A Pkey A
V1 F1 F2 F3
Skey B Pkey B
V1 F1 F2 F3
Primary Records
Secondary Indexes
Shard 1
Writes
Reads
Shard 2
Shard N
Index on (V1)
Index on (V2, V3)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.23
Oracle NoSQL DB Release 3.0
 Metro-Local Quorum
– Low latency writes, HA
 2nd’ary Read-Only Zones
– Analytic workloads
– Report generation
– Asynchronous replication
 New Read Consistency: No Master
 Topology Aware Client Driver
 Provides business continuity and distributed workload management
Zones
DC1 DC2 DC3
Metropolitan Zones
Reports
Batch Analytics
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24
Oracle NoSQL DB Release 3.0
 Protected Access to Data
– Enforcement is configurable
 Authentication
– OS independent, password based user access
– Internal cluster components self authenticate (HA password distribution)
– Oracle Wallet integrated
– Admin utility to generate self-signed certificates
 Wire level data encryption
– All client-server, server-server channels SSL encrypted
Security Overview
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.25
Oracle NoSQL DB Release 3.0
 Port Restrictions for client and intra server communications
 SSL Certificates stored, protected and obfuscated at the server
 Client configured login-file or truststore for SSL credential management
 Authenticated client sessions have admin configurable time-out
 Auth Exceptions: AuthRequired, AuthFailed, AccessDenied
 Supports 2 roles: Admin & User
 System Admin manages security via Admin CLI
Security Features
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.26
Agenda
 Oracle NoSQL DB Overview
 Oracle NoSQL DB Release 3.0
 Best Practices
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27
Choosing a Data Model
 Tables
– Highest level abstraction, simple to model, familiar to developers
– System managed Secondary indices, Table evolution support
– Future: Security per table, Query Language
 JSON
– Medium level abstraction, need to model keys (strings), appealing to JSON-centric applications
– Application managed Index Views, Schema evolution support
– Future: Limited security
 Raw Key-Value
– Lowest level abstraction, need to model keys (strings), application serialized data, maximum
flexibility
– Application managed Index Views, record evolution and security – roll your own
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.28
Metrics and Best Practices
 No overhead, performs same as JSON schemas with AVRO
serialization
 Use nested tables to encapsulate record types in a hierarchy
 Use Arrays and Arrays of Records to store self contained sets
 Record types can’t be indexed -> flatten into simple types if indexing is
required
Tables
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.29
Metrics and Best Practices
 Same rationale as an RDBMS
– Reduces time for lookups/range scans
– Increases overhead for updates
– Provides sorted results
– Add indexes when required
 No optimizer -- application picks index to be used
 Remember to calculate cache size requirement
 New CLI option for get: -reportsize tells you the size of a key. Use output with
DBCacheSize
Indexes
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.30
Metrics and Best Practices
 Data Centers may add write latency, depending on durability policy and
inter-data center latency
 Options for tuning:
– Consider reducing durability policy ACK requirement if latency is high
– Consider adding processing threads to use additional CPU
1. Allow Client Driver to perform load balancing
2. Use Secondary Zones for read-only, batch, analytical workloads
3. Use No-Master read consistency in the application
Data Centers/Zones
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.31
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.32

Mais conteúdo relacionado

Mais procurados

Oracle Database | Computer Science
Oracle Database | Computer ScienceOracle Database | Computer Science
Oracle Database | Computer ScienceTransweb Global Inc
 
Oracle advanced queuing
Oracle advanced queuingOracle advanced queuing
Oracle advanced queuingGurpreet singh
 
Generating Code with Oracle SQL Developer Data Modeler
Generating Code with Oracle SQL Developer Data ModelerGenerating Code with Oracle SQL Developer Data Modeler
Generating Code with Oracle SQL Developer Data ModelerRob van den Berg
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle databaseSamar Prasad
 
All Oracle-dba-interview-questions
All Oracle-dba-interview-questionsAll Oracle-dba-interview-questions
All Oracle-dba-interview-questionsNaveen P
 
Oracle developer interview questions(entry level)
Oracle developer interview questions(entry level)Oracle developer interview questions(entry level)
Oracle developer interview questions(entry level)Naveen P
 
MOUG17: SQLT Utility for Tuning - Practical Examples
MOUG17: SQLT Utility for Tuning - Practical ExamplesMOUG17: SQLT Utility for Tuning - Practical Examples
MOUG17: SQLT Utility for Tuning - Practical ExamplesMonica Li
 
Oracle vs. MS SQL Server
Oracle vs. MS SQL ServerOracle vs. MS SQL Server
Oracle vs. MS SQL ServerTeresa Rothaar
 
Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Bilal Arshad
 
Getting to know oracle database objects iot, mviews, clusters and more…
Getting to know oracle database objects iot, mviews, clusters and more…Getting to know oracle database objects iot, mviews, clusters and more…
Getting to know oracle database objects iot, mviews, clusters and more…Aaron Shilo
 
Sql interview questions and answers
Sql interview questions and  answersSql interview questions and  answers
Sql interview questions and answerssheibansari
 
Introduction to ado
Introduction to adoIntroduction to ado
Introduction to adoHarman Bajwa
 
Less07 schema
Less07 schemaLess07 schema
Less07 schemaImran Ali
 
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreOracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreTIB Academy
 
Oracle Office Hours - Exposing REST services with APEX and ORDS
Oracle Office Hours - Exposing REST services with APEX and ORDSOracle Office Hours - Exposing REST services with APEX and ORDS
Oracle Office Hours - Exposing REST services with APEX and ORDSDoug Gault
 
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCI
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCIDatabase Cloud Services Office Hours - 0421 - Migrate AWS to OCI
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCITammy Bednar
 
MySQL 8.0 - Security Features
MySQL 8.0 - Security FeaturesMySQL 8.0 - Security Features
MySQL 8.0 - Security FeaturesHarin Vadodaria
 

Mais procurados (20)

Oracle Database | Computer Science
Oracle Database | Computer ScienceOracle Database | Computer Science
Oracle Database | Computer Science
 
Oracle's history
Oracle's historyOracle's history
Oracle's history
 
Oracle advanced queuing
Oracle advanced queuingOracle advanced queuing
Oracle advanced queuing
 
Generating Code with Oracle SQL Developer Data Modeler
Generating Code with Oracle SQL Developer Data ModelerGenerating Code with Oracle SQL Developer Data Modeler
Generating Code with Oracle SQL Developer Data Modeler
 
Obia with odi
Obia with odiObia with odi
Obia with odi
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
 
All Oracle-dba-interview-questions
All Oracle-dba-interview-questionsAll Oracle-dba-interview-questions
All Oracle-dba-interview-questions
 
Oracle developer interview questions(entry level)
Oracle developer interview questions(entry level)Oracle developer interview questions(entry level)
Oracle developer interview questions(entry level)
 
MOUG17: SQLT Utility for Tuning - Practical Examples
MOUG17: SQLT Utility for Tuning - Practical ExamplesMOUG17: SQLT Utility for Tuning - Practical Examples
MOUG17: SQLT Utility for Tuning - Practical Examples
 
Oracle vs. MS SQL Server
Oracle vs. MS SQL ServerOracle vs. MS SQL Server
Oracle vs. MS SQL Server
 
Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)
 
Getting to know oracle database objects iot, mviews, clusters and more…
Getting to know oracle database objects iot, mviews, clusters and more…Getting to know oracle database objects iot, mviews, clusters and more…
Getting to know oracle database objects iot, mviews, clusters and more…
 
Sql interview questions and answers
Sql interview questions and  answersSql interview questions and  answers
Sql interview questions and answers
 
Introduction to ado
Introduction to adoIntroduction to ado
Introduction to ado
 
Intro
IntroIntro
Intro
 
Less07 schema
Less07 schemaLess07 schema
Less07 schema
 
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreOracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
 
Oracle Office Hours - Exposing REST services with APEX and ORDS
Oracle Office Hours - Exposing REST services with APEX and ORDSOracle Office Hours - Exposing REST services with APEX and ORDS
Oracle Office Hours - Exposing REST services with APEX and ORDS
 
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCI
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCIDatabase Cloud Services Office Hours - 0421 - Migrate AWS to OCI
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCI
 
MySQL 8.0 - Security Features
MySQL 8.0 - Security FeaturesMySQL 8.0 - Security Features
MySQL 8.0 - Security Features
 

Destaque

Dell PowerEdge M420 and Oracle Database 11g R2: A Reference Architecture
Dell PowerEdge M420 and Oracle Database 11g R2: A Reference ArchitectureDell PowerEdge M420 and Oracle Database 11g R2: A Reference Architecture
Dell PowerEdge M420 and Oracle Database 11g R2: A Reference ArchitecturePrincipled Technologies
 
Python and EM CLI: The Enterprise Management Super Tools
Python and EM CLI: The Enterprise Management Super ToolsPython and EM CLI: The Enterprise Management Super Tools
Python and EM CLI: The Enterprise Management Super ToolsSeth Miller
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACSatishbabu Gunukula
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesSatishbabu Gunukula
 

Destaque (6)

Dell PowerEdge M420 and Oracle Database 11g R2: A Reference Architecture
Dell PowerEdge M420 and Oracle Database 11g R2: A Reference ArchitectureDell PowerEdge M420 and Oracle Database 11g R2: A Reference Architecture
Dell PowerEdge M420 and Oracle Database 11g R2: A Reference Architecture
 
3. (mjk) otd maa
3. (mjk) otd maa3. (mjk) otd maa
3. (mjk) otd maa
 
Python and EM CLI: The Enterprise Management Super Tools
Python and EM CLI: The Enterprise Management Super ToolsPython and EM CLI: The Enterprise Management Super Tools
Python and EM CLI: The Enterprise Management Super Tools
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RAC
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New Features
 

Semelhante a The Power of Relationships in Your Big Data

Solution Use Case Demo: The Power of Relationships in Your Big Data
Solution Use Case Demo: The Power of Relationships in Your Big DataSolution Use Case Demo: The Power of Relationships in Your Big Data
Solution Use Case Demo: The Power of Relationships in Your Big DataInfiniteGraph
 
Oracle NoSQL Database release 3.0 overview
Oracle NoSQL Database release 3.0 overviewOracle NoSQL Database release 3.0 overview
Oracle NoSQL Database release 3.0 overviewPaulo Fagundes
 
The Adventure: BlackRay as a Storage Engine
The Adventure: BlackRay as a Storage EngineThe Adventure: BlackRay as a Storage Engine
The Adventure: BlackRay as a Storage Enginefschupp
 
1 extreme performance - part i
1   extreme performance - part i1   extreme performance - part i
1 extreme performance - part isqlserver.co.il
 
NonStop SQL/MX DBS Explained
NonStop SQL/MX DBS ExplainedNonStop SQL/MX DBS Explained
NonStop SQL/MX DBS ExplainedFrans Jongma
 
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
 
Virtuoso Universal Server Overview
Virtuoso Universal Server OverviewVirtuoso Universal Server Overview
Virtuoso Universal Server Overviewrumito
 
Maruthi_YH_resume
Maruthi_YH_resumeMaruthi_YH_resume
Maruthi_YH_resumeMaruthi YH
 
Native tables in NonStop SQL database
Native tables in NonStop SQL databaseNative tables in NonStop SQL database
Native tables in NonStop SQL databaseFrans Jongma
 
Modern Database Development Oow2008 Lucas Jellema
Modern Database Development Oow2008 Lucas JellemaModern Database Development Oow2008 Lucas Jellema
Modern Database Development Oow2008 Lucas JellemaLucas Jellema
 
Creating Flexible Data Services For Enterprise Soa With Wso2 Data Services
Creating Flexible Data Services For Enterprise Soa With Wso2 Data ServicesCreating Flexible Data Services For Enterprise Soa With Wso2 Data Services
Creating Flexible Data Services For Enterprise Soa With Wso2 Data Servicessumedha.r
 
Azure Data platform
Azure Data platformAzure Data platform
Azure Data platformMostafa
 
Oracle DBA Trainer
Oracle DBA TrainerOracle DBA Trainer
Oracle DBA TrainerP S Rani
 
ORDBMS Comparative Report
ORDBMS Comparative ReportORDBMS Comparative Report
ORDBMS Comparative Reporterawat
 
Neo4j Vision and Roadmap
Neo4j Vision and Roadmap Neo4j Vision and Roadmap
Neo4j Vision and Roadmap Neo4j
 

Semelhante a The Power of Relationships in Your Big Data (20)

Solution Use Case Demo: The Power of Relationships in Your Big Data
Solution Use Case Demo: The Power of Relationships in Your Big DataSolution Use Case Demo: The Power of Relationships in Your Big Data
Solution Use Case Demo: The Power of Relationships in Your Big Data
 
Oracle NoSQL Database release 3.0 overview
Oracle NoSQL Database release 3.0 overviewOracle NoSQL Database release 3.0 overview
Oracle NoSQL Database release 3.0 overview
 
MySQL Quick Dive
MySQL Quick DiveMySQL Quick Dive
MySQL Quick Dive
 
The Adventure: BlackRay as a Storage Engine
The Adventure: BlackRay as a Storage EngineThe Adventure: BlackRay as a Storage Engine
The Adventure: BlackRay as a Storage Engine
 
PHP Oracle
PHP OraclePHP Oracle
PHP Oracle
 
1 extreme performance - part i
1   extreme performance - part i1   extreme performance - part i
1 extreme performance - part i
 
NonStop SQL/MX DBS Explained
NonStop SQL/MX DBS ExplainedNonStop SQL/MX DBS Explained
NonStop SQL/MX DBS Explained
 
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
 
Virtuoso Universal Server Overview
Virtuoso Universal Server OverviewVirtuoso Universal Server Overview
Virtuoso Universal Server Overview
 
Maruthi_YH_resume
Maruthi_YH_resumeMaruthi_YH_resume
Maruthi_YH_resume
 
Native tables in NonStop SQL database
Native tables in NonStop SQL databaseNative tables in NonStop SQL database
Native tables in NonStop SQL database
 
Modern Database Development Oow2008 Lucas Jellema
Modern Database Development Oow2008 Lucas JellemaModern Database Development Oow2008 Lucas Jellema
Modern Database Development Oow2008 Lucas Jellema
 
Creating Flexible Data Services For Enterprise Soa With Wso2 Data Services
Creating Flexible Data Services For Enterprise Soa With Wso2 Data ServicesCreating Flexible Data Services For Enterprise Soa With Wso2 Data Services
Creating Flexible Data Services For Enterprise Soa With Wso2 Data Services
 
Azure Data platform
Azure Data platformAzure Data platform
Azure Data platform
 
Oracle DBA Trainer
Oracle DBA TrainerOracle DBA Trainer
Oracle DBA Trainer
 
ORDBMS Comparative Report
ORDBMS Comparative ReportORDBMS Comparative Report
ORDBMS Comparative Report
 
Neo4j Vision and Roadmap
Neo4j Vision and Roadmap Neo4j Vision and Roadmap
Neo4j Vision and Roadmap
 
PPT temp.pptx
PPT temp.pptxPPT temp.pptx
PPT temp.pptx
 
L11 Application Architecture
L11 Application ArchitectureL11 Application Architecture
L11 Application Architecture
 
Sybase To Oracle Migration for DBAs
Sybase To Oracle Migration for DBAsSybase To Oracle Migration for DBAs
Sybase To Oracle Migration for DBAs
 

Mais de Paulo Fagundes

Oracle exalytics deployment for high availability
Oracle exalytics deployment for high availabilityOracle exalytics deployment for high availability
Oracle exalytics deployment for high availabilityPaulo Fagundes
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACPaulo Fagundes
 
Zero Downtime for Oracle E-Business Suite on Oracle Exalogic
Zero Downtime for Oracle E-Business Suite on Oracle ExalogicZero Downtime for Oracle E-Business Suite on Oracle Exalogic
Zero Downtime for Oracle E-Business Suite on Oracle ExalogicPaulo Fagundes
 
MongoDB for the SQL Server
MongoDB for the SQL ServerMongoDB for the SQL Server
MongoDB for the SQL ServerPaulo Fagundes
 
MongoDB - Javascript for your Data
MongoDB - Javascript for your DataMongoDB - Javascript for your Data
MongoDB - Javascript for your DataPaulo Fagundes
 
The Little MongoDB Book - Karl Seguin
The Little MongoDB Book - Karl SeguinThe Little MongoDB Book - Karl Seguin
The Little MongoDB Book - Karl SeguinPaulo Fagundes
 
Oracle NoSQL Database Compared to Cassandra and HBase
Oracle NoSQL Database Compared to Cassandra and HBaseOracle NoSQL Database Compared to Cassandra and HBase
Oracle NoSQL Database Compared to Cassandra and HBasePaulo Fagundes
 

Mais de Paulo Fagundes (10)

Oracle exalytics deployment for high availability
Oracle exalytics deployment for high availabilityOracle exalytics deployment for high availability
Oracle exalytics deployment for high availability
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
 
Zero Downtime for Oracle E-Business Suite on Oracle Exalogic
Zero Downtime for Oracle E-Business Suite on Oracle ExalogicZero Downtime for Oracle E-Business Suite on Oracle Exalogic
Zero Downtime for Oracle E-Business Suite on Oracle Exalogic
 
Mongodb
MongodbMongodb
Mongodb
 
MongoDB for the SQL Server
MongoDB for the SQL ServerMongoDB for the SQL Server
MongoDB for the SQL Server
 
MongoDB - Javascript for your Data
MongoDB - Javascript for your DataMongoDB - Javascript for your Data
MongoDB - Javascript for your Data
 
Capacityplanning
Capacityplanning Capacityplanning
Capacityplanning
 
The Little MongoDB Book - Karl Seguin
The Little MongoDB Book - Karl SeguinThe Little MongoDB Book - Karl Seguin
The Little MongoDB Book - Karl Seguin
 
Mondodb
MondodbMondodb
Mondodb
 
Oracle NoSQL Database Compared to Cassandra and HBase
Oracle NoSQL Database Compared to Cassandra and HBaseOracle NoSQL Database Compared to Cassandra and HBase
Oracle NoSQL Database Compared to Cassandra and HBase
 

Último

Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxNLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxBoston Institute of Analytics
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfBoston Institute of Analytics
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Colleen Farrelly
 

Último (20)

Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxNLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
 
Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024Generative AI for Social Good at Open Data Science East 2024
Generative AI for Social Good at Open Data Science East 2024
 

The Power of Relationships in Your Big Data

  • 1. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1
  • 3. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3 Agenda  Oracle NoSQL DB Overview  Oracle NoSQL DB Release 3.0  Best Practices
  • 4. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4 Big Data Architecture Data WarehouseData Reservoir + Oracle Big Data Connectors Oracle Data Integrator Oracle Advanced Analytics Oracle Database Oracle Spatial & Graph Oracle NoSQL Database Cloudera Hadoop Oracle R Distribution Oracle Industry Models Oracle GoldenGate Oracle Data Integrator Oracle Event Processing Oracle Event Processing Apache Flume Oracle GoldenGate Oracle Advanced Analytics Oracle Database Oracle Spatial & Graph Oracle Industry Models Oracle Data Integrator Oracle NoSQL Database Where does NoSQL fit?
  • 5. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5  Simple Data Model  Distributed, Replicated data  Transparent load balancing  Elastic configuration  Simple administration  Enterprise-ready Integration  Commercial grade software and support Characteristics Oracle NoSQL Database Scalable, Highly Available, Key-Value Database Application Storage Nodes Datacenter B Storage Nodes Datacenter A Application NoSQL DB Driver Application NoSQL DB Driver Application
  • 6. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6 Features Release 3.0 Oracle NoSQL Database Scalable, Highly Available, Key-Value Database 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  Data Center Support  Online Rolling Upgrade  Online Cluster Management  Table data model  Secondary Indices  Secondary Zones (Data Centers)  Security
  • 7. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7 Scalability Architecture – Applications View  Elastic Shards (split, add, contract) Store Shard M Shard M R Shard M R R Application NoSQL Driver R R R  Writes to elected node  Reads from any node in system
  • 8. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8 Oracle NoSQL Database Predictability Reliability & Support Integration When you need: Web-Scale Transactions, Personalization Sensor Data Management Real-Time Event Processing For Applications that do:
  • 9. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9 Agenda  Oracle NoSQL DB Overview  Oracle NoSQL DB Release 3.0  Best Practices
  • 10. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10 Oracle NoSQL DB Release 3.0 Enterprise Ready Ease of Adoption Security Business Continuity
  • 11. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11 Oracle NoSQL DB Release 3.0  Table data model support – Simplifies data modeling & leverages existing “table” expertise  Secondary indexing – Allow indexing on any component of the record – Huge performance benefit due to parallel, indexed data access  Data centers – Metro-area zones for disaster recovery and business continuity – Secondary zones for read-only workloads  Security – Authentication and network-level encryption Feature Summary
  • 12. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.12 Oracle NoSQL DB Release 3.0  Lower barrier to adoption, shorter time to market  Simplified application modeling – Uses familiar table concepts – Introduces strongly typed fields – Easy to/from JSON with full type support and AVRO serialization – Allows secondary indexing of non-key data  Sets foundation for SQL query access from Oracle DB  Previous Key/Value and JSON schema APIs still supported Table Data Model Benefits
  • 13. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.13 Oracle NoSQL DB Release 3.0  Layered on top of distributed key-value model  Compatible with most Release 2.0 JSON schemas  Defines JSON schema automatically  Supports table evolution  New access API’s with table terminology  Retains flexible client access  Administrative CLI for schema creation and evolution Table Data Model Characteristics
  • 14. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14 Oracle NoSQL DB Release 3.0  Distributed Table records or “JSON Documents” – you choose  Records grouped locally (by shard-key)  ACID & BASE transactions  Automatic mapping of Major/Minor key structure  Enables future External Table improvements  Rich queries  Predicate push down  SQL query language Table Data Model Advantages
  • 15. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.15 Oracle NoSQL DB Release 3.0 table create -name Users add-field -name userid -type integer add-field -name lname -type string add-field -name fname -type string add-field -name email -type string primary-key -field userid shard-key -field userid exit plan add-table -name Users -wait Simple Table Example Can be specified as a JSON string Must be proper subset of primary-key By default shard-key == primary-key
  • 16. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16 Oracle NoSQL DB Release 3.0 Simple Table Example userId lname fname email Table Shard Key Users ValuePrimary Key
  • 17. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.17 Oracle NoSQL DB Release 3.0 table create -name Users add-field -name userid -type integer add-field -name lname -type string add-field -name fname -type string add-field -name email -type string primary-key -field userid exit plan add-table -name Users –wait table create -name Users.Folders add-field -name foldername -type string add-field -name msgcount -type integer add-field -name favorite –type boolean -default 'F' primary-key -field foldername exit plan add-table -name Users.Folders -wait Nested Table Example
  • 18. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.18 Oracle NoSQL DB Release 3.0 Table Data Model – Nested Tables UserId lname fname email Table Users Users. Folders [Value]Primary Key … [Value] UserId Foldername msgcount favorite Primary KeyShard Key
  • 19. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19 Oracle NoSQL DB Release 3.0  Broader low latency use case support – Primary and Secondary Indexes – Indexes automatically maintained – Provides sorted results  Low resource cost with high performance – Low cardinality matching, guaranteed consistent – Shard-local indexing, low latency record access – B-trees locally ordered, scanned in parallel, merged result set – Improved index cache eviction Secondary Index support
  • 20. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20  Get() API specifies index  Equality or range searches  Low order multi-value indexes – Composite index on values – Parallel Index Scan – Ordered results – Indexable single element arrays Oracle NoSQL DB Release 3.0 Secondary Indexes Index on (lname, fname) UserId fname lname email Table Users  Equality search on lname + fname  Equality search on lname and range on fname  Range or Equality search on lname by itself  Can’t search on just fname
  • 21. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21 Oracle NoSQL DB Release 3.0 plan add-index –table Users -name Users_idx1 –field lname –field fname 1. Defines index on all shards 2. In parallel (per shard) starts table scan via primary key, populates index 3. Updates get populated into index automatically 4. When all shards are complete, index is available for access Simple Example
  • 22. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22 Secondary Index Storage Pkey A Value A F1 F2 F3 V1 V2 V3 Pkey B Value B F1 F2 F3 V1 V2 V3 Skey A Pkey A V2 V3 F1 F2 F3 Skey B Pkey B V2 V3 F1 F2 F3 Skey A Pkey A V1 F1 F2 F3 Skey B Pkey B V1 F1 F2 F3 Primary Records Secondary Indexes Shard 1 Writes Reads Shard 2 Shard N Index on (V1) Index on (V2, V3)
  • 23. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.23 Oracle NoSQL DB Release 3.0  Metro-Local Quorum – Low latency writes, HA  2nd’ary Read-Only Zones – Analytic workloads – Report generation – Asynchronous replication  New Read Consistency: No Master  Topology Aware Client Driver  Provides business continuity and distributed workload management Zones DC1 DC2 DC3 Metropolitan Zones Reports Batch Analytics
  • 24. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24 Oracle NoSQL DB Release 3.0  Protected Access to Data – Enforcement is configurable  Authentication – OS independent, password based user access – Internal cluster components self authenticate (HA password distribution) – Oracle Wallet integrated – Admin utility to generate self-signed certificates  Wire level data encryption – All client-server, server-server channels SSL encrypted Security Overview
  • 25. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.25 Oracle NoSQL DB Release 3.0  Port Restrictions for client and intra server communications  SSL Certificates stored, protected and obfuscated at the server  Client configured login-file or truststore for SSL credential management  Authenticated client sessions have admin configurable time-out  Auth Exceptions: AuthRequired, AuthFailed, AccessDenied  Supports 2 roles: Admin & User  System Admin manages security via Admin CLI Security Features
  • 26. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.26 Agenda  Oracle NoSQL DB Overview  Oracle NoSQL DB Release 3.0  Best Practices
  • 27. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27 Choosing a Data Model  Tables – Highest level abstraction, simple to model, familiar to developers – System managed Secondary indices, Table evolution support – Future: Security per table, Query Language  JSON – Medium level abstraction, need to model keys (strings), appealing to JSON-centric applications – Application managed Index Views, Schema evolution support – Future: Limited security  Raw Key-Value – Lowest level abstraction, need to model keys (strings), application serialized data, maximum flexibility – Application managed Index Views, record evolution and security – roll your own
  • 28. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.28 Metrics and Best Practices  No overhead, performs same as JSON schemas with AVRO serialization  Use nested tables to encapsulate record types in a hierarchy  Use Arrays and Arrays of Records to store self contained sets  Record types can’t be indexed -> flatten into simple types if indexing is required Tables
  • 29. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.29 Metrics and Best Practices  Same rationale as an RDBMS – Reduces time for lookups/range scans – Increases overhead for updates – Provides sorted results – Add indexes when required  No optimizer -- application picks index to be used  Remember to calculate cache size requirement  New CLI option for get: -reportsize tells you the size of a key. Use output with DBCacheSize Indexes
  • 30. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.30 Metrics and Best Practices  Data Centers may add write latency, depending on durability policy and inter-data center latency  Options for tuning: – Consider reducing durability policy ACK requirement if latency is high – Consider adding processing threads to use additional CPU 1. Allow Client Driver to perform load balancing 2. Use Secondary Zones for read-only, batch, analytical workloads 3. Use No-Master read consistency in the application Data Centers/Zones
  • 31. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.31
  • 32. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.32