manage online profiles with oracle no sql database tht10972 - v1.1

26
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1

Upload: robert-greene

Post on 12-May-2015

473 views

Category:

Technology


3 download

DESCRIPTION

Getting into the details of managing the diverse schema found in the typical online user profile. Demonstrating how NoSQL in general and Oracle NoSQL Database in particular has the flexibility to store and retrieve these kind of semi-structured data sets.

TRANSCRIPT

Page 1: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1

Page 2: Manage online profiles with oracle no sql database   tht10972 - v1.1

Manage Online Profiles with Oracle NoSQL Database – THT10972Dave SegleauDir. Product Management

Page 3: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3

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.

Page 4: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4

Agenda

Today’s Challenge

So what’s in a Customer Profile?

Implementing a Customer Profile

Why Oracle NoSQL Database

Q&A

Page 5: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5

Today’s ChallengeRicher Profiles

Purchases

Lists

PackagingInstructions

Comments

AddressesRatings

Relationships

PersonalInfo

PreferencesPaymentOptions

Page 6: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6

Why rich customer profiles?

Richer customer information more effective management Business drivers

– Personalization

– Recommendations

– Loyalty

– Fraud Detection

– Business effectiveness

Page 7: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7

Technical Requirements

1. Flexibility– Data Evolves

– Variable Content

2. Low Latency Access

3. Scalability

4. Globally Distribution

5. High Availability

Page 8: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8

What’s in a Customer Profile?

What you know• Personal Info• History• Voluntary Info• Derived Info

What you can find out• Public Records• Social Media

What you can purchase• Credit History• Purchasing habits

Page 9: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9

Customer Profile

Customer ID

Purchases

Date JSON

Date JSON

Web Traffic

Date JSON

Date JSON

Profile JSON

Interests JSON

Future?

Page 10: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10

Implementing a Customer Profile

{

"type": "record",

"name": "FullName",

"namespace": “my.company",

"fields": [

{ "name": "first", "type": "string" },

{ "name": "last", "type": "string" }

]

}

Define meta objects

{

"type": "record",

"name": “Address",

"namespace": “my.company",

"fields": [

{ "name": “Street", "type": "string" },

{ "name": “City", "type": "string" }

{ "name": “State", "type": "string" }

{ "name": “Zip", "type": "string" }

]

}

JSON schemas

Fullname ( first, last)

Address ( Street, City, State, Zip)

Page 11: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11

Implementing a Customer Profile

{

"type": "record",

"name": “ProfileInfo",

"namespace": “my.company",

"fields": [

{ "name": “FullName", "type": “my.company.FullName" },

{ "name": “Address", "type": “my.company.Address" },

{ "name": “Phone", "type": “string" },

{ "name": “LastAccess", "type": “string" }

]

}

Define actual records

JSON schema

ProfileInfo ( FullName, Address, Phone, LastAccess)

Page 12: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.13

Oracle NoSQL Database

JSON is how schemas and records are described AVRO is how records are serialized (formatted) Add schemas as needed for new object types Update schema definitions, as needed AVRO supports schema evolution

– Convert on read

JSON Schemas, AVRO Serialization

Page 13: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14

Key-value, JSON & RDF data Large Object API BASE & ACID transactions Automatic data distribution Simple administration Data Center Support Online Rolling Upgrade Online Cluster Management Commercial grade support

Features

Oracle NoSQL Database Scalable, Highly Available, Key-Value Database

Application

Storage NodesDatacenter B

Storage NodesDatacenter A

Application

NoSQL DB Driver

Application

NoSQL DB Driver

Application

Page 14: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.15

Customer ProfileImplemented in Oracle NoSQL Database

Major Key

Minor Key

Value

Customer ID

Purchases

Date JSON

Date JSON

Web Traffic

Date JSON

Date JSON

Profile JSON

Interests JSON

Future?

Page 15: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16

NoSQL for Web Commerce Customer ServiceCall center routing and context retrieval

Objectives

Solution

Benefits

Web commerce customer service Enable call center routing and dispatch Improved product up-sell and cross-sell

Oracle NoSQL database for customer profile data capture and access

Build repository for unstructured and variable data record formats

Deploy distributed database for world-wide access

Easy to use flexible data formats Horizontally scalable, low latency database Predictable performance Geographically distributed enterprise access

NoSQL DB DriverApplication

Customer Service

Customer Profiles

End Customers

Click-2-Call

Page 16: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.17

NoSQL for Customer Experience ManagementBrand enhancement and loyalty enrichment

Objectives

Solution

Benefits

Centralized view of customer data within federated database environment

Dynamic, customer influence tactics

Oracle NoSQL database for central repository of meta data for customer activity, scheduling and “next generation experience” events

Oracle database for financial data, reservation and property management

Simple, flexible data format Highly scalable with predictable performance Enterprise support, technology commitment and

roadmap

NoSQL DB Driver

Event SchedulingApplication

Staff & End Customers

Customer Profiles

Customer Care & End Customers

Reservation Systems

Page 17: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.18

Customer Profile Managing what you know, flexibility for what you don’t know

Legacy Transactional Systems

Driver

Web Service Application

Customer Service

360 View Customer Profiles

End Customers

Click-2-Call

Recommendation Engine

Page 18: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19

Reads in less than 1 ms

Writes in less than 5 ms

Linear Scalability

Predictable latency

Why Oracle NoSQL Database?Scalability

Page 19: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21

Query NoSQL data from Oracle Database

Access NoSQL data from Hadoop for DW and analytics

Share data with Coherence for extensible in-memory cache grid

Persist history & event streams for processing with OEP

Store & query RDF data using Oracle RDF for NoSQL

Why Oracle NoSQL DatabaseIntegrated Out of the Box

Page 20: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22

Engineered System (Big Data Appliance)

Commodity Cluster

Deployment Options

Page 21: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.23

Oracle NoSQL Database When it really matters

Flexibility

Linear Scalability

Low Latency Access

Distributed Data Management

Page 22: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24

Oracle NoSQL DB at OOW

Focus on NoSQL Database: http://tinyurl.com/NoSQLOOW13– Sessions on JSON, Application Development, Data Centers, etc.

Hands on Lab: Application Development and Schema Design with Oracle NoSQL Database - HOL10085. Wednesday, 3:30 – 4:30 PM. Marriott Marquis - Salon 3/4

Demogrounds (Moscone South, Exhibition Hall left hand side, Booth SL-059)

Page 23: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.25

Oracle NoSQL DB Resources

Oracle Big Data Handbook (Amazon, Barnes & Noble, Oracle Press) NoSQL DB Use Cases, White Papers, Data Sheets, Benchmarks

http://www.oracle.com/technetwork/products/nosqldb/overview/index.html

NoSQL DB Documentation

http://www.oracle.com/technetwork/products/nosqldb/documentation/index.html

NoSQL DB Downloadshttp://www.oracle.com/technetwork/products/nosqldb/downloads/index.html

NoSQL DB OTN Forumhttp://forums.oracle.com/forums/forum.jspa?forumID=1388

OU Training Classeshttp://bit.ly/V5qbmY

Page 24: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.26

Q&A

Page 25: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27

Graphic Section Divider

Page 26: Manage online profiles with oracle no sql database   tht10972 - v1.1

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.28