Upload
rinky25
View
1.049
Download
1
Embed Size (px)
DESCRIPTION
Citation preview
<Insert Picture Here>
Embedded Database Overview Part 2
<Insert Picture Here>
Program Agenda
• Review of Part 1
• Oracle TimesTen Product Overview
• Oracle TimesTen Cache Connect to Oracle
Mobile Devices
Telematics
Field Force Automation
Point-of-Sale Devices
Distrib Asset Mgmt
Mobile Applications
Data CenterApplications
Edge Applications
Telecom Billing
IP Multimedia Systems
Core Networking Systems
Telco Softswitches
Call Centers / CRM
Gateways / Routers
Storage & Systems Mgmt
Security / Authentication
Mobile Services Software
Appliances
Healthcare Equipment
Industrial Systems
Manufacturing Systems
Semiconductor Equipment
Communications Systems
Where are They Deployed?
In reality, these zones are not black and white. Each product has a “sweet spot” target market, but also serves adjacent areas.
Oracle’s Embeddable Databases span the full range of customers’ needs
Review of Part 1
• Described the model for Embedded Database• Embedding Oracle at Mobile BIS• Oracle Lite
• Client Database• Sync Server• Full Application Lifecycle Management
• Berkeley DB• Berkeley DB• Berkeley DB XML• Berkeley DB Java Edition
The Drive to Real-time
• Across a wide range of industries and applications, the volume of information and transactions is exploding while pressure builds for real-time, up-to-the-minute information processing
Travel
Exploding “look-to-book” ratios
Manufacturing
“Just-in-time”& RFID Real-Time Business
• Real-time operations• Real-time CRM• Real-time BI• Real-time optimization
Finance
Automated trading& risk mgmt
Customer Portal
Personalization,Cross-sell / upsell
Retail
Stock optimization& pricing
Telecom
Next-gen services& billing
Oracle TimesTen In-Memory Database
• Application-tier relational database
• Delivers instant responsiveness and very high throughput
• Operates as database of record or as a read/write cache for Oracle Database
• Provides replication for high availability and scalability
Application Application Application
Telco ServicesFinancial Services
CRM, Portal, SaaS,Customer-facing
Applications
Real-TimeBAM & BI
Memory-optimized RDBMS for real-time applications
“When milliseconds matter”
When You Think “Database…”
RDBMS + client/server connectivity• Data accessed by client application via the network• Not fast enough for some applications
SQL
ResultsApplication
RDBMS
Application
RDBMS with Home-Grown Cache
For very demanding applications:• Build a home grown, application-specific, in-memory
“cache”
SQL
Results
Application
Application
RDBMS
One Product: Database + Cache
• Full capabilities of relational database
• Standalone or with Oracle• Memory-optimized speed &
latency
• Optimized for embedded architecture
• Persistent, recoverable, highly available
SQL
Results
Application
Application
RDBMS
Oracle TimesTen Products
Product Oracle TimesTen In-Memory Database
Option Replication: TimesTen to TimesTen
Option Cache Connect to Oracle
Oracle TimesTen In-Memory Database
• In-memory RDBMS• Entire database in memory • Standard access ODBC/JDBC, SQL 92• Compatible with Oracle Database
• Exceptional performance• Instantaneous response time• High throughput• Embeddable
• Persistence and durability• Database persists to disk• Transactions with ACID properties
• Real-time services• On-line, non-blocking operations• Real-time database change notification
• Near-zero administration
TimesTen Libraries
Application
TimesTen Libraries
Application
Checkpoint files
Network
Client-Server
In-Memory DatabaseIn-Memory Database
Direct-linked
TimesTen Libraries
ApplicationTimesTen Client lib
Application
Transaction Logs
Why Is TimesTen So Fast?
• In-Memory Database• Entire database is always in memory• Designed and optimized for memory layout • No buffer cache management overhead• Shorter code path = faster performance• Fewer CPU instructions = fewer processors required
• Direct-link to the database• Application can link TimesTen directly into its address space • Eliminate network and inter-process communication overhead • Very low response time (like calling a procedure)
Oracle TimesTen Delivers Lightning Fast Response
Oracle TimesTen 6.04-CPU, 3 GHz x86 Xeon, 32-bit RHLinux
28
9
0
5
10
15
20
25
30
update select
mic
rose
con
ds
(mill
ion
ths
of a
se
con
d)
Oracle TimesTen Offers Outstanding Platform Efficiency
Oracle TimesTen 6.04-CPU, 3 GHz x86 Xeon, 32-bit RHLinux
1 CPU98,568
1 CPU32,663
2 CPUs169,437
2 CPUs53,361
4 CPUs250,550
4 CPUs70,111
0
50,000
100,000
150,000
200,000
250,000
300,000
update select
tra
nsa
ctio
ns
pe
r se
con
d
Replication – TimesTen to TimesTen
• Real-time transactional replication • Between TimesTen databases
• Flexible configuration • Active-standby, Active-active,
N-way• High performance
• Asynchronous replication• Synchronous replication
• Robust and reliable • Auto recovery, master catch-up• Conflict detection and resolution
• Support online upgrade • No downtime, cross version
replication
Network
In-Memory In-Memory DatabaseDatabase
TimesTen Libraries
Application
TimesTen Libraries
Application
TimesTen Libraries
Application
ReplicationTimesTen to TimesTen
In-Memory In-Memory DatabaseDatabase
TimesTen Libraries
Application
TimesTen Libraries
Application
TimesTen Libraries
Application
Oracle Database 10g and TimesTenComplementary Database Strengths
Database Characteristic
Oracle Database 10gOracle TimesTen
In-Memory Database
Data Model Relational – SQL Relational – SQL
Target Applications All OLTP, some DSS
Optimization Disk-centric Memory-centric
Typical Deployment Database Tier Application Tier
Architecture Client / Server Direct Data Access
Response Time Milliseconds Microseconds
Data Capacity Tens of Terabytes Tens of Gigabytes
Scalability Unlimited SMP/Cluster Good SMP
Cache Connect to Oracle
• Improves application response time
• Cache tables from Oracle database• Cache individual tables and related
tables
• Cache all or subset of rows & cols
• Automatic data synchronization• TimesTen to Oracle• Oracle to TimesTen
• Access cache tables like regular database tables using SQL• Joins/search, insert/update/delete
CacheAgent Checkpoints
Tx Logs
Network
Client-Server
Cache Tables
Direct-linked
ApplicationApplication
TimesTen Libraries
TimesTen Client lib
Application
Types of TimesTen Caches
• Read-only Cache• Updates in Oracle Database propagated automatically to TimesTen
• Updatable Cache• Asynchronous write-through transactions batch-committed in Oracle
Database• Synchronous write-through transactions available optionally
• Static Cache• Entire content of cache is pre-loaded prior to doing any work
• Dynamic Cache• Data loaded transparently from Oracle Database if not found in
TimesTen• Automatic data aging from TimesTen: LRU and timestamp based
Benefits of Caching in TimesTen
• Reduced application response time• Read and Write transactions are completed more quickly in
TimesTen
• Very high throughput• Multiple caches provide horizontal scaling
• Reduced workload on the Oracle Database• More computing resources are available for other workloads on
the database tier
• Run on commodity hardware• TimesTen is available on 20 popular platforms
Cross-Tier High AvailabilityIntegration with Oracle Database RAC
• Automatic recovery from Oracle Database RAC node failures using TAF and FAN• Automatic reconnection to the
cluster
• Automatic resumption of updates from Oracle to TimesTen
• Automatic rollback of in-transit update transactions from TimesTen to Oracle and their resubmission
• No loss of transactions
3. Highly Scalable
1. Instantly Responsive
2. Tightly Integrated
Oracle TimesTen + Oracle DatabaseEnd-to-End Data Management
Which Embeddable Database?
• Choose Oracle Database when:• Advanced features (spatial, triggers, stored procedures) are required• Clustering via RAC or integration with Fusion Middleware is required• Footprint is not a constraint
• Choose TimesTen when:• Low latency and high throughput required• Oracle caching is needed• SQL is required• Database fits into memory
• Choose Berkeley DB when:• Low latency and high throughput required• Data access is predictable• XML/XQuery is required
• Choose Oracle Lite when:• Devices may be occasionally disconnected from the network• Synchronization to Oracle Database is required• Small footprint is required• SQL is required
BERKELEY DBBERKELEY DB
Where to go... What to do...
• Embedding Oracle Within Your Product – Main page for information on embedding Oracle Products
• http://www.oracle.com/technologies/embedded/index.html
• Embedded Developer’s Center - Free Developer Downloads, white papers, technical articles, podcasts, discussion forums regarding embedded database products
• http://www.oracle.com/technology/tech/embedded/index.html
• Oracle is the #1 Embedded Database in the world – IDC report• http://www.oracle.com/corporate/press/2007_dec/embedded-vendorshare-idc.html• http://www.oracle.com/corporate/analyst/reports/infrastructure/dbms/idc-209653.pdf
• Independent Software Vendor (ISV) Getting Started Page• http://www.oracle.com/technology/isv/index.html
Questions,Questions,
Comments ?Comments ?
Dan OutcaltDan Outcalt – 858.509.8125 – – 858.509.8125 – [email protected]
Gabe StanekGabe Stanek – – [email protected]