Upload
others
View
6
Download
0
Embed Size (px)
Citation preview
<Insert Picture Here>
Oracle Embeddable Databases: Providing a Wide Range of Options for High-Performance Data Management
Marie-Anne Neimat
Vice President, Development
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’s Embeddable Databases span the full range of customer needs
MobileApplications
Data CenterApplications
Edge Applications
Telecom OSS/BSS
Core Networking Systems
Securities Trading
Call Centers / CRM
Reservations
Field Force Automation
Telematics
Mobile Devices
Asset Mgmt
Healthcare Equipment
Industrial Systems
Manufacturing Systems
Telco Softswitches
Gateways / Routers
Storage & Systems Mgmt
Security / Authentication
Mobile Services Sftwr
Appliances
Oracle’s Embeddable Databases
Enterprise Mobile Requirements
• Mobile workers want an experience identical to their connected experience
• This implies continuous access to data unconstrained by:
• Bandwidth
• Coverage
• Reality is:
• Bandwidth is still limited
• Coverage is often poor
Embedded Requirements
• Small footprint
• Ease of administration
• Resilience to failures
• Centralized management of applications, users and devices
• Remote provisioning and deployment of applications
• Data security and prevention of unauthorized access
• Storage of multi-media data (e.g., audio, video)
Database Lite - ‘More Than a Database’
Database Lite extends the enterprise environment with infrastructure and application services that enable the delivery and operation of secure, personalized applications on mobile and embedded devices.
Sync Layer
Oracle LiteDatabase
Embedded or Mobile Client
Mobile Server
Data and Applications
SecurityApplication ProvisioningData SynchronizationDevice ManagementLife Cycle management
Mobile Server Repository
DS WatersSatyaki Lodh
Thu 11amMoscone South 236
Oracle Database Lite Customer Adoption
What’s in Database Lite 10g Product?
Mobile Server
Data and Applications
Application ProvisioningData SynchronizationDevice ManagementLife Cycle ManagementSecurity
RepositoryOracle 10g
Oracle Lite
Kernel
ODBC / JDBC
Application
Lite RDBMS
PackagingWizard
Web-to-Go
MDW
Mobile Development Kit
Database Lite Product
Mobile Server
• Complete Life Cycle Management
• Device Management
• Software management
• Remote diagnostics and command execution
• System Management
• Synchronization monitoring and scheduling
• Inspection and corrective action
• Application Management
(Provisioning and Deployment)
• User (OID), Application and Data Management
• Synchronization:• Synchronizes everything
• Tables, Index, Sequences, DDL, Constraints
• Bi-directional with conflict detection and customizable resolution
• Designed for One-to-Many Synchronization
• ‘Automatic’ continuous sync in the background
• Scalable
• Transport independent
• Secure & efficient: data encrypted & compressed
• Robust
• Resume after transport failure
• Network resilience over multiple protocols and networks
SynchronizationBoris Berdichevskiy
Tue 3:45pmHilton, Yosemite A
Mobile Server
Lite RDBMS
• SQL92 & ACID compliant
• Small footprint
• Java/C++/.NET stored procedures & triggers
• Multi-user support
• Built-in change capture
• Zero administration
• Porting kit
• Platforms: Win32, WinCE, Linux, Symbian
• Up to 16 TB of BLOB data
• 128-bit AES encryption support
• Multiple data access APIs: JDBC, ODBC, ADO .NET
Sync Layer
Oracle LiteDatabase
• Choice of development platform
• Web, Java, Native
• APIs
• ODBC, JDBC, ADO.NET, ADOCE
• Mobile Synchronization (mSync)
• ADO.NET lines up with ODP.NET, Visual Studio
• Mobile Database Workbench
• Interactively design mobile schema
• Synchronize data to real device in real-time
• MDW Quickstart
• Packaging Wizard
• Deployment tool
• Mobile Server Repository Diagnostic Tool
• Verifies correctness of MobileAdmin and Consolidator schemas and configuration data
Application Development
• Enables the design and integration of robust embedded & mobile applications
• Survives system failures and requires zero administration.
• Provides centralized system management of applications, users and devices
• Supports the remote provisioning and deployment of applications and changes
• Secures data and prevents unauthorized access
• Supports complex data abstractions for data storage such as multi-media (audio, video, other large binaries & DRM)
• Enables sophisticated data synchronization
Advantages for Developers
Oracle Database Lite 10g Summary
• Extends Your Enterprise Data
• Extends your enterprise environment to mobile and embedded devices
• Makes the enterprise mobile
• Secures data and prevents unauthorized access
• Survives system failures and requires zero administration
• Provides Complete Infrastructure
• Device Management
• System Management
• Application Management (Provisioning and Deployment)
<Insert Picture Here>
Berkeley DB
• Transactional storage manager
• Reliable, scalable, flexible, fast data management
• Library that links directly into your application
• Enterprise database functionality with:
• A fraction of the footprint
• Hands-off administration
• Programmatic configuration and management
• Ability to select which features you use
• Data management hidden within an application
• Open Source
Financial Services
Service Providers
Content Mgmt
Storage & Sys Mgmt
Enterprise Infra/EAISecurityNetworking
Telecom Apps/Infra
Devices/ Appliances
Oracle Berkeley DB Customers
Programming LanguagesToolsEmailApplicationsInfrastructure
Operating Systems
Oracle Berkeley DB in Open Source
All versions
of Linux
All versions
of BSD UNIX
Apache Web Server,
Directory, et al
LDAP Directory
Productivity suite
Chandler email/PIM
Website traffic
analysisKerberos Network
Authentication
Subversion version
control system
Red Hat Package
Manager
Internet search
Text editorMail server (MTA)
Mail server (MTA)
SquidGuard
spam blocker
Spam blocker
Perl
Python
GNU C library
PHPLDAP Directory
Oracle Berkeley DB
Oracle Berkeley DB Java Edition
Oracle Berkeley DB XML
Product Family
� Transactional
storage engine written in Java and optimized for Java
environments
� Berkeley DB
extension providing XQuery-based access
to XML documents
� The original transactional
storage engine for applications developed with C, C++, Java, PHP, Perl, etc.
Oracle Berkeley DB Product Family
Commonalities
All three Berkeley DB Products:
• Libraries linked to your application
• Simple, direct, indexed data storage
• Key-value pairs with simple, get-put style API
• Programmatic administration API
• Low latency & high throughput
• ACID transactions and recovery
• Open source
• Fast indexed and sequential retrieval (Btree, Queue,
Recno, Hash)
• Any mix of threads and processes
• Full ACID transactions
• High availability via replication
• Programmatic administration and management
• XA standard for distributed transactions
• AES encryption on disk
• Small footprint
Berkeley DB
• Key, data pairs• Data is simple, opaque byte arrays
• Flexible structure, native encoding
• Indexed, ordered data structures• btree, hash, queue, record
• 1:1, 1:M managed relationships
key data
Berkeley DB
• Every site hosts a copy of all data and transaction logs
• Master handles all writes, replicas handle reads
• Synchronous and asynchronous transmit
• Auto recovery when the master fails
• Failed node can rejoin as a replica and sync up
• Paxos compliant or user defined master election algorithm
• Protocol and transport agnostic
Berkeley DB Replication (HA)
• 100% pure Java for portability and ease of development
• Single JAR file – easy to install, runs in the same JVM as the application
• Fast, indexed retrieval (Btree)
• Optimized for highly concurrent access
• Single process, multi-threading model
• Record level locking – high concurrency
• ACID transactions and recovery
• Additional object-based storage APIs
• Java Collections API
• New persistence API, similar to EJB3
• Programmatic administration and management
• Small footprint
• Supports J2SE & J2EE JVMs
• JCA, JTA & JMX support
Berkeley DB Java Edition
• Built on Berkeley DB
• Native XML support via XQuery 1.0 and XPath 2.0
• XML and non-XML data in same database
• Flexible indexing
• Cost-based query optimizer
• Flexible storage control – nodes or whole document
• Partial document updates
• Schema support, including validation
• Naming and cross-container operations
• Document streaming from URI, memory or file
• DOM-like navigation of documents and result sets
• Languages: C++, Java, Perl, Python, PHP and several other scripting languages
Berkeley DB XML
Berkeley DB Interfaces
DS CDS TDS HA
Berkeley DB
C API
C++ API Java API
Berkeley DB XML
C++ API Java API
Java Collections API
Runs on UNIX, Linux, MacOS X, Windows, VxWorks, QNX, etc.
APIs for C, C++, Java, Perl, Python, PHP, Ruby, Tcl, Eiffel, etc.
Java API
Berkeley DBJava Edition
CDS TDS
Summary
• Berkeley DB products provide:
• High performance
• Simple, direct, indexed data storage
• Local, in-process storage, not client/server
• High availability and fault tolerance
• Zero administration
• Increased productivity and flexibility to developers
Berkeley DB Products Overview
Greg BurdThu 12:30pm
Moscone South 236
<Insert Picture Here>
TimesTenIn-Memory RDBMS that enables the Real-Time Enterprise
TimesTen extends the
Oracle database by
caching real-time data in
the middle-tier and
integrating data
management seamlessly
between the middle tier
and the database server.
ApplicationApplication
Proven in Real-Time DeploymentsOver 1,500 companies use Oracle TimesTen
• Real-time billing
• Voice over IP
• Mobile Networks
NetworksNetworks
• Value-added Services
• Revenue Assurance
• Network and QOS Management
• Authentication
TelecomTelecom
• Order Matching
• Risk Management
• Real-time Analytics
Wall StreetWall Street
• Call Centers
• Hosted CRM
• Dynamic personalization
CustomerCustomer--FacingFacingApplicationsApplications
AmdocsOmer ShaniTue 4:30pm
Moscone South 236
Complete RDBMS in the Middle-Tier
• In-memory RDBMS• Standard ODBC/JDBC APIs
• SQL 92
• Compatible with Oracle database
• Small footprint
• Exceptional performance• Entire database is in main memory
• Instantaneous response time
• High throughput
• Persistence and durability• Database backed to disk
• Transactions with ACID properties
• Real-time services• On-line, non-blocking operations
• Light-weight tracking and notification of changes to database
• Near-zero administration• Embeddable design
Checkpoint files
Transaction Logs
Network
...
Client-Server
Application ApplicationApplication
In-Memory Data
DirectLinked
Lightning Fast Response
0
10
20
30
update a record read a record
mic
ros
ec
on
ds
millionths
of a second
2828
99millionths
0
10
20
30
update a record read a record
mic
ros
ec
on
ds
millionths
of a second
2828millionths
of a second
2828
99millionths
99millionths
TimesTen In-Memory Database 6.0, 4-CPU, 3 GHz x86 Xeon, 32-bit RHLinux
Replication – TimesTen to TimesTen
• Transactional replication
• Database or tables
• Configuration using SQL
• Active-standby, multi-master
• Asynchronous or synchronous
transmits
• Auto recovery, master catch-up
• Conflict detection and resolution
• Replication is transparent to the
application
• No application code changes
• High performance
Active - Standby
N – Way
Active - Active
Propagation
Cache Connect to Oracle
• Cache tables from Oracle database
• User configured cache groups
• Individual tables and related tables
• All or subset of rows and columns
• Read-only or updatable
• Access cached tables like regular tables
• Automatic data synchronization
• TimesTen to Oracle
• Oracle to TimesTen
• Static or dynamic cache content
• Dynamic through Load on Select and automatic aging
• High availability for cache data
Checkpoints
Tx Logs
Network
Client-Server
Cache Tables
CacheAgent
Direct-linked
ApplicationApplication
TimesTen Libraries
Caching Data from Oracle Database
Cache Group – describes the Oracle data to be cached in the TimesTen in-memory database, via a SQL WHERE clause
TimesTen Cache Groups
RootTable
ChildTable
ChildTable
ChildTable
Example: Caching name and
address of premier customers who have had more than 500
purchase orders
CREATE CACHE GROUP PremierUsers
FROM CUSTOMER (
NAME VARCHAR(100) NOT NULL,
ADDR VARCHAR(100) )
WHERE CUSTOMER.ORDER > 500;
Read-only Cache Groups
• Read-only Cache Groups
• Updates disallowed in TimesTen
• Updates optionally sent to Oracle via the Pass-through feature
• Updates in Oracle automatically refreshed to the TimesTen Cache Group
• Resilience to failures
Refresh updates to Cache Group
Updates Pass-through to
Oracle
ApplicationClients
READONLY
Cache GroupIMDB
Application
Client/Server
C/SApplications
Updatable Cache-Groups
• Updatable Cache Groups
• Updates allowed in TimesTen
• Initial load of Cache Group content in TimesTen
• Updates in TimesTenautomatically propagated to
Oracle
• Synchronous or asynchronous write-through to Oracle
• Resilience to failures
Load data from Oracle once
Propagate changes to
Oracle
ApplicationClients
Write-through Cache GroupIMDB
Application
Client/Server
C/SApplications
On-Demand Caching
• On-demand loading of data from Oracle if data not found in
TimesTen
• All updates to the cache write-
through to Oracle database
• “Aging” feature may be used to
age out the data that’s no
longer needed Load data from Oracle upon SELECT
ApplicationClients
On Demand Cache GroupIMDB
Application
Client/Server
C/SApplications
Age out when no longer needed
Dynamic Distributed Cache
E.g., customer profiles
• Profiles are loaded on SELECT (loaded on demand). They remain in the cache for the duration of a user session.
• Least recently used profiles are aged out of the cache
• The content of the cache changes dynamically on each node based on usage.
TimesTen and SOA Middle-wareStore Active data and Infrastructure Data in TimesTen
CUSTOMER CUSTOMER
SYSTEMSSYSTEMSPRODUCT PRODUCT
SYSTEMSSYSTEMSFINANCIAL FINANCIAL
SYSTEMSSYSTEMSDATA DATA
WAREHOUSEWAREHOUSE
COMPOSITE COMPOSITE
APPLICATIONSAPPLICATIONS
WORKFLOWWORKFLOW
BUSINESS BUSINESS
SERVICESSERVICES
EXISTING EXISTING
SYSTEMS & SYSTEMS &
DATABASESDATABASES
Premium
CustomersAnalytics
Reference
Data
Recent
Orders
MA
NA
GE
ME
NT
& M
ON
ITO
RIN
G
Diagnostics& Metrics
Event
Capture
NEW CUSTOMER NEW CUSTOMER
SIGNSIGN--UPUPWEB WEB
SELFSELF--CARECAREMGMT MGMT
DASHBOARDDASHBOARDMOBILE DATA MOBILE DATA
SERVICESSERVICES
DATA DATA
INTEGRATIONINTEGRATION
BUSINESS BUSINESS
PROCESS # 1PROCESS # 1BUSINESS BUSINESS
PROCESS # 2PROCESS # 2BUSINESS BUSINESS
PROCESS # NPROCESS # N
Check-
points
Session
State
Cross-Ref
Maps
Transform
Tables
….
BUSINESS PROCESS MGMT
““ MID
DLE
TIE
RM
IDD
LE
TIE
R””
Java Middleware Tested with TimesTen
• Oracle Application Server 10.1.2 & 10.1.3
• Oracle BPEL Process Manager 10.1.3
• Oracle TopLink 9.0.4 & 10.1.3
• Oracle JDeveloper 10.1.3
• JBoss Application Server 4
• Hibernate 3
• WebSphere Application Server 6
• Weblogic Application Server 8
• Sun Java System Application Server 8
Summary
• A new Data Management capability
• Real-time response
• Very high transaction rates
• Proven deployment success
• Real-time transaction processing
• Middle-tier database cache
• Real-time business intelligence
• Significant business impact
• Deliver compelling new services
• Improve customer satisfaction & loyalty
• Speed time-to-deployment
• Lower cost to develop & deploy
TimesTen OverviewSusan Cheung
Thu 9:30 amMoscone South 236
Oracle’s Embeddable Databases span the full range of customer needs
MobileApplications
Data CenterApplications
Edge Applications
Telecom OSS/BSS
Core Networking Systems
Securities Trading
Call Centers / CRM
Reservations
Field Force Automation
Telematics
Mobile Devices
Asset Mgmt
Healthcare Equipment
Industrial Systems
Manufacturing Systems
Telco Softswitches
Gateways / Routers
Storage & Systems Mgmt
Security / Authentication
Mobile Services Sftwr
Appliances
Oracle’s Embeddable Databases
For More Information
http://search.oracle.com
http://www.oracle.com/database/lite_edition.htmlhttp://www.oracle.com/database/berkeley-db.htmlhttp://www.oracle.com/database/timesten.html
Oracle Database Lite
Berkeley DB
TimesTen
or
Remaining Presentations
TimesTen
Berkeley DB
Oracle
Database Lite
MosconeSouth
236 South
Thursday 12:30 pm –
1:30 pm
Overview of the Oracle Berkeley DB, Berkeley DB XML, and
Berkeley DB Java Edition
MosconeSouth
236 South
Tuesday
4:30 pm –5:30 pm
Amdocs: achieving high
performance and high availability with Oracle TimesTen in-memory
database
MosconeSouth
236 South
Thursday
11:00 am –12:00 pm
Extending the Oracle Grid with Oracle Database Lite mobile applications
MosconeSouth
236 South
Thursday
9:30 am –
10:30 am
Accelerating performance with
TimesTen in-memory database
Optimizing data dynchronizationwith Oracle Database Lite
Title
Hilton Hotel
Yosemite Room A
Tuesday
3:45 pm –4:45 pm
LocationTime