Oracle Database Lite. Automatic Synchronization White Paper. An Oracle White Paper August 2008

Similar documents
An Oracle White Paper October The New Oracle Enterprise Manager Database Control 11g Release 2 Now Managing Oracle Clusterware

Improve Data Integration with Changed Data Capture. An Oracle Data Integrator Technical Brief Updated December 2006

Oracle Database 10g Release 2 Database Vault - Restricting the DBA From Accessing Business Data

An Oracle White Paper November Primavera Unifier Integration Overview: A Web Services Integration Approach

Technical Upgrade Guidance SEA->SIA migration

Adding Mobile Capability to an Enterprise Application With Oracle Database Lite. An Oracle White Paper June 2007

Oracle Fusion Middleware 11g Oracle Access Manager Frequently Asked Questions June 2009

Advanced Global Intercompany Systems : Transaction Account Definition (TAD) In Release 12

Oracle FLEXCUBE Direct Banking Release Dashboard Widgets Transfer Payments User Manual. Part No. E

Using the Oracle Business Intelligence Publisher Memory Guard Features. August 2013

Migration Best Practices for Oracle Access Manager 10gR3 deployments O R A C L E W H I T E P A P E R M A R C H 2015

Oracle WebCenter Portal 11g Developer Workshop

Oracle Data Provider for.net Microsoft.NET Core and Entity Framework Core O R A C L E S T A T E M E N T O F D I R E C T I O N F E B R U A R Y

Achieving High Availability with Oracle Cloud Infrastructure Ravello Service O R A C L E W H I T E P A P E R J U N E

Loading User Update Requests Using HCM Data Loader

Oracle Fusion Configurator

Oracle Application Development Framework Overview

Frequently Asked Questions Oracle Content Management Integration. An Oracle White Paper June 2007

Configuring Oracle Business Intelligence Enterprise Edition to Support Teradata Database Query Banding

Maximum Availability Architecture. Oracle Best Practices For High Availability

An Oracle Technical White Paper May Deploying Oracle Beehive with BlackBerry Enterprise Server for MDS Applications

Oracle Database 10g Workspace Manager Support for Oracle Spatial Topology Data Model. An Oracle White Paper May 2005

Oracle CIoud Infrastructure Load Balancing Connectivity with Ravello O R A C L E W H I T E P A P E R M A R C H

Installation Instructions: Oracle XML DB XFILES Demonstration. An Oracle White Paper: November 2011

Creating Custom Project Administrator Role to Review Project Performance and Analyze KPI Categories

Handling Memory Ordering in Multithreaded Applications with Oracle Solaris Studio 12 Update 2: Part 2, Memory Barriers and Memory Fences

Managing Metadata with Oracle Data Integrator. An Oracle Data Integrator Technical Brief Updated December 2006

Bulk Processing with Oracle Application Integration Architecture. An Oracle White Paper January 2009

Oracle Enterprise Performance Management Cloud

Veritas NetBackup and Oracle Cloud Infrastructure Object Storage ORACLE HOW TO GUIDE FEBRUARY 2018

An Oracle White Paper December, 3 rd Oracle Metadata Management v New Features Overview

Oracle WebCenter Portal 11g Developer Workshop

Oracle Database 10g Resource Manager. An Oracle White Paper October 2005

JD Edwards EnterpriseOne Licensing

Superior Product Variants Software for Multi-Attribute Product Companies. An Oracle White Paper April 2004

Generate Invoice and Revenue for Labor Transactions Based on Rates Defined for Project and Task

Cloud Operations for Oracle Cloud Machine ORACLE WHITE PAPER MARCH 2017

Migrating VMs from VMware vsphere to Oracle Private Cloud Appliance O R A C L E W H I T E P A P E R O C T O B E R

Oracle DIVArchive Storage Plan Manager

Automatic Receipts Reversal Processing

Oracle Database Vault

Oracle FLEXCUBE Direct Banking Release Corporate Cash Management User Manual. Part No. E

An Oracle White Paper October Deploying and Developing Oracle Application Express with Oracle Database 12c

An Oracle White Paper November Oracle RAC One Node 11g Release 2 User Guide

An Oracle White Paper. Released April 2013

Oracle FLEXCUBE Direct Banking Release Dashboard Widgets Customer Services User Manual. Part No. E

Hard Partitioning with Oracle VM Server for SPARC O R A C L E W H I T E P A P E R J U L Y

Sun Fire X4170 M2 Server Frequently Asked Questions

Oracle Fusion General Ledger Hierarchies: Recommendations and Best Practices. An Oracle White Paper April, 2012

Tutorial on How to Publish an OCI Image Listing

An Oracle White Paper Released April 2008

Data Capture Recommended Operating Environments

An Oracle White Paper September Upgrade Methods for Upgrading to Oracle Database 11g Release 2

GUIDE TO SERVICES. For G-Log Customers and Partners

Maximum Availability Architecture. Oracle Best Practices For High Availability

Partitioning in Oracle Database 10g Release 2. An Oracle White Paper May 2005

Oracle Database Vault

Highly Available Forms and Reports Applications with Oracle Fail Safe 3.0

An Oracle White Paper September Security and the Oracle Database Cloud Service

Performance and Scalability Benchmark: Siebel CRM Release 7 on HP-UX Servers and Oracle9i Database. An Oracle White Paper Released October 2003

August 6, Oracle APEX Statement of Direction

Load Project Organizations Using HCM Data Loader O R A C L E P P M C L O U D S E R V I C E S S O L U T I O N O V E R V I E W A U G U S T 2018

Oracle Data Masking and Subsetting

Oracle Cloud Applications. Oracle Transactional Business Intelligence BI Catalog Folder Management. Release 11+

Increasing Network Agility through Intelligent Orchestration

Benefits of an Exclusive Multimaster Deployment of Oracle Directory Server Enterprise Edition

Oracle NoSQL Database For Time Series Data O R A C L E W H I T E P A P E R D E C E M B E R

An Oracle White Paper September, Oracle Real User Experience Insight Server Requirements

Correction Documents for Poland

Transitioning from Oracle Directory Server Enterprise Edition to Oracle Unified Directory

An Oracle Technical Article March Certification with Oracle Linux 4

RAC Database on Oracle Ravello Cloud Service O R A C L E W H I T E P A P E R A U G U S T 2017

Oracle Database Lite 10gR2 Technical White Paper. An Oracle White Paper June 2006

Oracle Enterprise Data Quality New Features Overview

October Oracle Application Express Statement of Direction

Receiving PeopleSoft Message (PeopleTools 8.17) through the Oracle AS PeopleSoft Adapter. An Oracle White Paper September 2008

An Oracle White Paper June Enterprise Database Cloud Deployment with Oracle SuperCluster T5-8

An Oracle White Paper September Methods for Upgrading to Oracle Database 11g Release 2

Oracle Linux Management with Oracle Enterprise Manager 13c O R A C L E W H I T E P A P E R J U L Y

April Understanding Federated Single Sign-On (SSO) Process

Rapid Bottleneck Identification A Better Way to do Load Testing. An Oracle White Paper June 2008

An Oracle White Paper October Minimizing Planned Downtime of SAP Systems with the Virtualization Technologies in Oracle Solaris 10

Siebel CRM Applications on Oracle Ravello Cloud Service ORACLE WHITE PAPER AUGUST 2017

An Oracle Technical Article August Certification with Oracle Linux 7

WebCenter Portal Task Flow Customization in 12c O R A C L E W H I T E P A P E R J U N E

Technical White Paper August Recovering from Catastrophic Failures Using Data Replicator Software for Data Replication

Oracle WebLogic Portal O R A C L E S T A T EM EN T O F D I R E C T IO N F E B R U A R Y 2016

PeopleSoft Applications Portal and WorkCenter Pages

Handling Memory Ordering in Multithreaded Applications with Oracle Solaris Studio 12 Update 2: Part 1, Compiler Barriers

An Oracle White Paper February Combining Siebel IP 2016 and native OPA 12.x Interviews

Oracle Communications Interactive Session Recorder and Broadsoft Broadworks Interoperability Testing. Technical Application Note

ORACLE S PEOPLESOFT GENERAL LEDGER 9.2 (WITH COMBO EDITING) USING ORACLE DATABASE 11g FOR ORACLE SOLARIS (UNICODE) ON AN ORACLE S SPARC T7-2 Server

Oracle Warehouse Builder 10g Release 2 Integrating Packaged Applications Data

Oracle JD Edwards EnterpriseOne Object Usage Tracking Performance Characterization Using JD Edwards EnterpriseOne Object Usage Tracking

Oracle Database 12c: JMS Sharded Queues

Integrating Oracle SuperCluster Engineered Systems with a Data Center s 1 GbE and 10 GbE Networks Using Oracle Switch ES1-24

Maximum Availability Architecture

An Oracle Technical Article November Certification with Oracle Linux 7

Oracle Service Registry - Oracle Enterprise Gateway Integration Guide

Data Capture Recommended Operating Environments

Transcription:

Oracle Database Lite Automatic Synchronization White Paper An Oracle White Paper August 2008

Oracle Database Lite Automatic Synchronization White Paper OVERVIEW Oracle Database Lite allows field workers using mobile offline applications to synchronize local data changes with an enterprise database. In addition to supporting manual synchronization, which allows users to explicitly invoke synchronization (via the msync client or through the built-in functionality in the offline web application workspace) and supports application-initiated synchronization through synchronization APIs, Oracle Database Lite now also supports rule-based automatic synchronization. Automatic synchronization (autosync) removes the need for user or application initiated synchronization and automatically invokes a synchronization session in the background when a rule is satisfied, without interrupting the user. Automatic synchronization is currently supported on the Redhat Linux, Win32 and WinCE/Windows Mobile platforms. USE CASES AND BENEFITS Many enterprises grapple with complex and competing business needs that cannot be solved simply by user invocation of synchronization, and automatic synchronization is designed to handle many such use cases. Whereas manual synchronization may require a user to initiate synchronization, automatic synchronization is invoked in the background without user intervention or awareness; it eases the burden on the end-user to remember to synchronize regularly and enables the real-time enterprise. With autosync, the back-end database can automatically send or receive data as needed without the need for user intervention, thereby minimizing the latency between when the data is changed and when information can be supplied to those who need it. It also allows businesses to enforce business processes by forcing synchronization from a device that is not regularly synchronized by a user. Companies can also use autosync to spread out synchronization load over time and avoid server load spikes at particular times of the day (e.g. shift end), thereby allowing them to extract increased value from their existing IT investments. Finally, unlike manual synchronization, automatic synchronization does not lock the database during synchronization, thereby increasing user productivity. Oracle Database Lite 10gR3 Technical White Paper Page 2

AUTOMATIC SYNCHRONIZATION BEHAVIOR Oracle Database Lite automatic synchronization relies on a sync agent on the mobile device to monitor changing device conditions and other important device, data or network events. A matching change may satisfy an existing developer specified rule and initiate an automatic synchronization session. Alternatively, the session may be initiated by the sync agent upon receipt of a message that informs it of pending changes at the server. During an automatic synchronization session, local client changes are uploaded to the server and server changes are incorporated into the local database. Since the synchronization process does not lock the local database, the user can continue to use his or her applications without interruption. Unlike a manual synchronization session wherein all publication items in the publication are synchronized, an autosync session only synchronizes the publication items flagged for automatic synchronization. (See the Oracle Database Lite Technical Whitepaper for a definition of publication item and publication, and a discussion of other relevant technical concepts.) The remaining publication items in that publication are synchronized during a manual synchronization. Although the different types of synchronizations (manual vs. automatic) are independent, and may potentially be invoked simultaneously, neither type of synchronization can preempt the other type. For example, if a user initiates a manual synchronization session while an autosync session is in progress, the manual synchronization is delayed until completion of the automatic synchronization session. Similarly, an autosync session cannot trigger during a manual synchronization session. AUTOMATIC SYNCHRONIZATION RULES Automatic synchronization is triggered by rules defined during the application development and client schema definition process. Autosync rules can either apply to a particular publication (be publication specific) or apply to all publications on a particular platform (be platform specific). Although the rules are specified at the publication level or the platform level, they apply at the publication item level, i.e. only those publication items enabled for automatic synchronization are synchronized when autosync is triggered. Thus, platform specific rules apply to all publications on a particular client platform type, e.g. all autosync enabled publication items for all publications on all clients using Win32. In contrast, publication specific rules apply to all autosync enabled publication items for a particular publication on all clients, regardless of platform. Developers can specify two types of automatic synchronization rules: conditions and events. A condition can only apply at the platform level and refers to a necessary state that must exist on the client platform before an automatic synchronization session can trigger. It applies to all autosync enabled publication items on the platform. An event can be specified either at the platform-level or at the publication-level, and specifies a state that is sufficient to initiate automatic Oracle Database Lite 10gR3 Technical White Paper Page 3

synchronization; as soon as an event occurs (and all associated conditions are true), automatic synchronization can begin. Thus, every publication has several event rules and condition rules associated with it. The following meta-rule is evaluated for each publication: IF (All_Conditions_Are_Met) AND (Some_Trigger_Event_Occurs) THEN INITIATE_AUTOMATIC_SYNCHRONIZATION Automatic synchronization is triggered if all specified conditions are met and at least one matching event has occurred. For example, a developer may specify a condition rule that states that automatic synchronization cannot trigger unless the network connection bit rate exceeds 50 kbps. He may also specify event rules that autosync should trigger either when the battery level falls below 35% or when the number of changed records on the client exceeds a particular threshold. Based on these rules, automatic synchronization will trigger as soon as either the battery level for the client device falls below the 35% threshold or enough records change to exceed the data change threshold, provided that the network can support at least a 50kbps connection. The sync agent keeps track of which events have occurred such that even if all the conditions are not satisfied at the time an event occurs (e.g., the 50kbps connection cannot be supported at the time the battery power falls below 35%), it can trigger automatic synchronization later when the conditions are satisfied (e.g., the user moves into an area that can support the necessary network bandwidth). Conditions rules can be based on battery level and network availability metrics, e.g., battery level must exceed 25% or network bandwidth must exceed 50kbps. Publication-level events allow the developer to specify maximum data change thresholds if the number of changed records on the client or server database exceeds a defined threshold, then automatic synchronization is initiated. Platform level events similarly allow specifying that autosync should be initiated when certain platform system events occur, e.g., at 8 a.m. each day, after every 2 hours, when remaining battery life falls below a minimum threshold, etc. Please refer to the Oracle Database Lite Developer s Guide for a full list of events and conditions that can be used to control automatic synchronization. CONFIGURING AUTOMATIC SYNCHRONIZATION Setting up automatic synchronization requires configuring the publication items and specifying corresponding rules. In order to enable automatic synchronization for a particular publication item, it must be flagged as an automatic synchronization publication item. This flag can be set either through the Consolidator APIs for publication item creation, or via the Mobile Database Workbench (MDW) tool for creating and editing client-side schema definitions (publications, publication items, etc.). (See the Oracle Database Lite Technical Whitepaper for a detailed discussion of MDW and other development tools that support mobile offline application development.) Oracle Database Lite 10gR3 Technical White Paper Page 4

Oracle Database Lite enables several automatic synchronization rules by default. By default, automatic synchronization will trigger if either the client or server has 1 or more changes (event rules). These event rules are complemented by a default condition rule requiring network availability. If these rules are not required or need to be changed to buffer more client/server changes before triggering synchronization, they must be explicitly overridden. Rules for automatic synchronization can also be specified and edited through various means prior to application deployment on client machines. Common publication-level and platform-level rules can be specified using MDW. Also, Oracle Database Lite provides an API that allows rule specification for automatic synchronization. Once they have been published to the Mobile Server, rules can also be modified by the administrator via the Mobile Manager web interface. MANAGING AUTOMATIC SYNCHRONIZATION Both the application and user can control automatic synchronization runtime behavior. The APIs also enable applications to be notified of status and synchronization related events from the sync agent. Although enabled by default, automatic synchronization can also be temporarily suspended. Unless explicitly restarted, a stopped sync agent is automatically restarted upon client reboot. The sync agent can be started and stopped by the user through the sync agent s user interface. An application may also use the API to temporarily shutdown the sync agent. The sync agent can also be permanently enabled/disabled such that it does not automatically restart after client reboot. As in the case of temporary suspension, the user can accomplish this via the sync agent UI and the application can enable/disable the agent via the Oracle Database Lite API. The agent can also be enabled/disabled by appropriately setting the SYNC_AGENT property in the client configuration file: polite.ini. In a mobile offline web application, the sync agent can be disabled via the workspace interface. SUMMARY The automatic synchronization feature in Oracle Database Lite maximizes user productivity while enabling efficient, agile enterprises. By employing flexible rule building primitives and configurable runtime behavior, Oracle Database Lite enables synchronization to automatically occur in the background without user intervention or interruption. It accelerates the information flow in an enterprise by removing user synchronization latency and smoothes server load without burdening users with cumbersome synchronization schedules. As a result, enterprises reap significant competitive advantages while maximizing existing IT ROI and minimizing operational costs. Oracle is committed to serving the mobile computing needs of businesses worldwide with scalable and reliable technology that meets the high performance requirements of today s most demanding enterprises. Oracle Database Lite 10gR3 Technical White Paper Page 5

Oracle Database Lite 10gR3 Automatic Synchronization White Paper August 2008 Author: Karun Bakshi Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065 U.S.A. Worldwide Inquiries: Phone: +1.650.506.7000 Fax: +1.650.506.7200 oracle.com Copyright 2007, Oracle. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle, JD Edwards, and PeopleSoft are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.