Bryan Tuft Sr. Sales Consultant Global Embedded Business Unit bryan.tuft@oracle.com
Agenda Oracle Approach Embedded Databases TimesTen In-Memory Database Snapshots Q&A
Real-Time Infrastructure Challenges Very 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)
Acquisitions Make the Oracle Stack More Compelling Open Source Consulting Services Oracle Consulting IBM GlobalServices SAP Consulting 3 rd Party SIs 3 rd Party SIs Applications Fusion Applications 3 rd Party ISVs mysap Microsoft Business Solutions SugarCRM, others Development Tools Oracle Tools / J2EE Rational / WebSphere NetWeaver / ABAP Visual Studio.NET PHP, Eclipse Middleware Suite Fusion Middleware WebSphere NetWeaver.NET JBoss, Spring, Geronimo Database Database 10g, TimesTen IMDB, Berkeley DB DB2 Oracle, DB2, MySQL, SQL Server SQL Server MySQL, PostgreSQL Operating System Linux/Unix/Windows Linux/Unix/Windows Linux/Unix/Windows Windows Linux
Oracle s Embedded Data Management Oracle Lite Berkeley DB TimesTen Oracle Lite Database Laptops / Appliances / Devices Oracle Lite Mobile Server Application Tier Oracle Lite Data Synchronization TimesTen Cache Connect to Oracle Update Propagation
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 (< 200kb) XML/XQuery capable Synchronization to Oracle Database (periodic) Very small embedded footprint (<200kb) for handheld devices SQL & Stored Procedures 10g Performance, Reliability, Security and Portability Handles any possible SQL or data type such as Spatial Footprint is not a constraint
Oracle TimesTen In-Memory Database
Proven in Real-Time Deployments Over 1,500 companies worldwide use Oracle TimesTen In Networks In Telecom On Wall Street In the Enterprise Real-Time Billing Value-Added Services Order Matching Call Centers Voice over IP Revenue Assurance Risk Management Business Intelligence Mobile Networks Network & QOS Mgmt Real-Time Analytics 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
Finding a Record in TimesTen Application Determine Memory Address of Desired Record SQL Query Optimizer /Executor Memory Address Copies data to application buffers Memory-Resident Database Data Store The full database is preloaded from disk to memory
TimesTen Throughput IBM eserver pseries 670, 12 CPU 1.1 Ghz POWER4 AIX 5.2, 64bit
Lightning Fast Response Oracle TimesTen Release 6.0, 4-CPU, 3 GHz x86 Xeon, 32-bit RHLinux microseconds 30 20 10 0 28 millionths of a second 25 millionths of a second update mixed select 9 millionths 70% select; 20% update; 10% insert
TimesTen-to-TimesTen Replication Master - Subscriber Master - Master N-Way 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)
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 Dynamically configurable with SQL statements TimesTen Data Store LOG BUFFER.. Tx... Tx...Tx In-Memory Logging Hard Disk TimesTen Data Store TimesTen Data Store LOG BUFFER.. Tx... Tx...Tx LOG BUFFER COMMIT COMMIT COMMIT Buffered Logging Datastore.ds0 Datastore.ds1 Datastore.log1 Datastore.log2 Datastore.log3 Durable Commit
Cache Connect to Oracle Application-Tier Data Access Key Takeaways Pre-load or load-on-demand the most active data from Oracle User Apps JDBC ODBC SQL92 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
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 - Distributed Data Service (DDS) 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 battlefield operations control systems App SQL/ODBC DDS App SQL/ODBC DDS Disk App S S S DDS DDM Embeds Oracle s IMDB so Real-time database nodes can be distributed everywhere DDS DDS S App DDS App SQL/ODBC App SQL/ODBC DDS S App Disk
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 backend 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 - Analyze FALCON Access WEBSKED XML File ARTIMS Spreadsheet Heterogeneous Service J2EE BPEL Data Flush JSR168 Portlets Business Intelligence Linux TimesTen Data Cache Discoverer Web Service Manager Portal
END