Bryan Tuft Oracle TT OMG - Distribution › sites › default › files › ... · Oracle, DB2,...

Post on 04-Jul-2020

0 views 0 download

transcript

Bryan TuftSr. Sales ConsultantGlobal Embedded Business Unitbryan.tuft@oracle.com

Agenda

• Oracle Approach

• Embedded Databases• TimesTen In-Memory Database

• Snapshots• Q&A

Real-Time Infrastructure ChallengesVery high data throughput rates – Accelerating…• Joint Operations across Services and Allies• Global Information Grid• RFID & other Sensors Everywhere• Wireless Communications

Flexible Infrastructure Requirement• Standards• Strong Desire for COTS• Service Oriented Architecture

Oracle’s Approach…

• Secure• High Performance• Standards Based and Interoperable• Based completely on “COTS”

products• Ease of integration (embeddable)

OperatingSystem

Database

MiddlewareSuite

Development Tools

Applications

Consulting Services

Windows

SQL Server

.NET

Visual Studio .NET

Linux/Unix/Windows

Database 10 g,TimesTen IMDB,

Berkeley DB

FusionMiddleware

Oracle Tools / J2EE

Linux/Unix/Windows

DB2

WebSphere

Rational / WebSphere

IBM GlobalServices

Linux/Unix/Windows

Oracle,DB2, MySQL,SQL Server

NetWeaver

NetWeaver / ABAP

SAP Consulting

FusionApplications

MicrosoftBusinessSolutions

mySAP

Oracle Consulting

3rd Party ISVs

3rd Party SIs

Linux

MySQL,PostgreSQL

JBoss, Spring,Geronimo

PHP, Eclipse

SugarCRM,others

3rd Party SIs

OpenSource

Acquisitions Make the Oracle “Stack”More Compelling

Oracle’s Embedded Data Management

Oracle Lite MobileServer

Laptops / Appliances /

Devices

Application Tier

Oracle Lite Database

Oracle Lite Data Oracle Lite Data SynchronizationSynchronization

TimesTen Cache TimesTen Cache Connect to Oracle Connect to Oracle Update PropagationUpdate Propagation

Oracle Oracle LiteLite Berkeley DBBerkeley DB TimesTenTimesTen

Which Embeddable Database?• Speed! Microsecond latency and 100,000+ TPS• Cache synchronization with Oracle DB in real-time• SQL, ODBC, JDBC • Embedded or client-server operation• In-Memory database for ultimate performance

• Low latency and high throughput• Embedded only operation • Non-relational queries, very small footprint (< 200 kb)• XML/XQuery capable

• Synchronization to Oracle Database (periodic)• Very small embedded footprint (<200kb) for handheld devices• SQL & Stored Procedures

• Performance, Reliability, Security and Portability• Handles any possible SQL or data type such as Spati al• Footprint is not a constraint10g

Oracle TimesTen In-Memory Database

Proven in Real-Time DeploymentsOver 1,500 companies worldwide use Oracle TimesTen

In the Enterprise

Real-Time Billing

Voice over IP

Mobile Networks

In Networks In Telecom

Value-Added Services

Revenue Assurance

Network & QOS Mgmt

On Wall Street

Order Matching

Risk Management

Real-Time Analytics

Call Centers

Business Intelligence

SOA’s

In-Memory Database Technology

• Entire database is in-memory

• Memory optimized indexes and algorithms: 10x CPU efficiency

• Choice of embedded or client/server options

• Standard APIs (ODBC, JDBC, SQL)

• Flexible durability options for data persistence to disk

• Embedded class ease-of-use

• Excellent data replication for high availability

In-Memory Database� Relational, standard API’s

� Very fast response

� Very high transaction rates

� Enterprise scalability & reliability

Memory-Resident Database

Application

SQL

The full database

is preloaded from

disk to memory

Memory AddressQuery Optimizer

/Executor

Data Store

Determine Memory Address of Desired Record

Copies data to

application buffers

Finding a Record in TimesTen

TimesTen ThroughputIBM eServer pSeries 670, 12 CPU1.1 Ghz POWER4 AIX 5.2, 64bit

Lightning Fast Response

0

10

20

30

update mixed select

mic

rose

cond

s millionthsof a

second

99

25252828

70% select; 20% update; 10% insert

Oracle TimesTen Release 6.0, 4-CPU, 3 GHz x86 Xeon, 32-bit RHLinux

millionthsof a

second

millionths

TimesTen-to-TimesTen Replication

• Replicate entire databases or individual tables

• Dynamic configuration with SQL

• Automatic recovery and catch-up of down systems

• Asynchronous or synchronous (dynamic configuration with SQL)

• Does not include a cluster manager (no automatic failover)

Master - Subscriber

Master - Master

N-Way

ACID Properties• Atomicity: full support for transactions

(COMMIT/ROLLBACK)• Consistency: database is always in a consistent

state, and recovers from disk in a consistent state• Isolation and locking:

• Row-level locking• Thread safe• READ COMMITTED isolation• Writes do not block reads• Reads do not block writes • SERIALIZABLE isolation also available• Lock timeouts and deadlocks- very rare

• Durability:• Transactions logged to disk and recovered

Three Logging Types

TimesTen TimesTen Data StoreData Store

Hard DiskHard Disk

Datastore.ds0

Datastore.ds1

Datastore.log1

Datastore.log2

Datastore.log3

BufferedLoggingTimesTen TimesTen

Data StoreData Store

TimesTen TimesTen Data StoreData Store

LOGBUFFER

….. Tx …...……Tx ………...Tx……

LOGBUFFER

COMMITCOMMITCOMMIT

In-MemoryLogging

LOGBUFFER

….. Tx …...……Tx ………...Tx……

DurableCommit

Dynamically configurable with SQL statementsDynamically configurable with SQL statements

Cache Connect to OracleApplication-Tier Data Access

Key Takeaways…

• Pre-load or load-on-demand the most active data from Oracle

• Synchronizes updates in both directions

• Transparent SQL pass-through for non-cached data requests

• IMDB keeps working even if the connection to Oracle is down

JDBC – ODBC – SQL92

User Apps

Snapshots & Case Studies

TimesTen becoming widespread in DoD/Intelligence community

• TimesTen being used or evaluated by many Defense/Intelligence customers.

• How is it used?• Command and Control• Large memory decision support systems• Data Fusion• Data Distribution and Messaging• SOA• Application Tier Caching• Embedded DB in Real-Time Applications

•RTI(Real-Time Innovations) is the leading real-time messaging vendor

•Customers include U.S. Navy, U.S. Air Force, U.S. Army, Northrop Grumman, Raytheon,Lockheed Martin, BAE Systems, etc.

•DDM scales to hundreds of nodes

•Publishes data from one to many

•Used on ships and battlefieldoperations control systems

•DDM Embeds Oracle’s IMDBso Real-time database nodes can be distributed everywhere

RTI - Distributed Data Service (DDS)

SQL/ODBCApp

Disk

SQL/ODBCApp

App

SQL/ODBCApp

Disk

SQL/ODBCApp

DDS DDS

DDSDDS

DDS

SS

App

DDS

S AppS

SSS

DDS

Example: Joint Forces

• Proof of Concept with live data• Integrate Army, Air Force and Navy Systems• Pull data from 3 different interfaces

• SOAP/XML• Direct Flat File Interface• Spreadsheet

• Requirement: Application-Mid-Tier must function even when disconnected from back-end Database

Data Fusion for Combatant Commanders

FALCON WEBSKED ARTIMS

Application Server 10g• J2EE Container• Portal• Forms and Reports• Business Intelligence

BPEL Process Manager

In Memory Database

Enterprise Identity Management• Authentication & Authorization• Provisioning• Federation

Web Service Manager (Security)

MapViewer

Joint Forces - AnalyzeFALCONAccess

WEBSKED ARTIMSSpreadsheetXML File

BPEL

Linux

J2EE

TimesTenData Cache

Heterogeneous Service

Web Service Manager Portal

Discoverer

• Data Flush• JSR168 Portlets

• Business Intelligence

END