Database Code
  Home arrow Database Code arrow Page 5 - MobiLink Synchronization Wizard in SQL Any...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DATABASE CODE

MobiLink Synchronization Wizard in SQL Anywhere 10
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2006-12-13

    Table of Contents:
  • MobiLink Synchronization Wizard in SQL Anywhere 10
  • Creating the data source for the MobiLink synchronization setup
  • MobiLink Synchronization Wizard
  • Data Source for the consolidated database schema
  • Choosing download options
  • Specifying names for Publication and Script version
  • Fine tuning the model using the Sybase Central Management Interface
  • Summary

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    MobiLink Synchronization Wizard in SQL Anywhere 10 - Choosing download options


    (Page 5 of 8 )

    Clicking on the Next button on the above screen brings up the window shown in the next picture. Here the implementation options for timestamp-based download are chosen. If the default option is used, a new column, last-modified, will be added to each of the consolidated tables, if it did not already exist. This simplifies the download process which does not require a join with a shadow table if the other option were to be chosen. It will however modify the schema of the consolidated table due to the extra column, which could impact an existing application.

    Since determining the data to download from the consolidated database cannot be determined from the transaction log, there needs to be a way to track what data has been deleted on the consolidated database in order to ensure it is also deleted on the remote database. Similar to before, the deletions can be tracked using a shadow table or by adding a column to the table which indicates whether or not the row has been deleted.

    Choosing a Subset of data to download

    Click on the Next button in the above window to open the next window. Since the MobiLink software works with a large number of remote databases and presumes that all of them may not need the same data (from the same table/tables) you can choose a subset of the data to be synchronized with the remote database. Synchronization scripts can be written so that different remote databases may synchronize different sets of data (partitioned data) from the source data. Here again the default is chosen as this is the first remote database.

    Conflict detection options

    Clicking theNext button on the previous screen takes you to the window where you make decisions as to how your upload conflicts needs to be handled. During upload, conflicts can occur between the remote database and the consolidated database if the same data was changed in both databases. There are three options for dealing with conflicts:

    1) Ignore them.
    2) Detect a conflict if any of the data within the same row has 
    been changed in both databases.
    3) Detect a conflict only if the data within the same column of 
    the same row has been changed in both databases.
    

    The default option, which does not check for conflicts and gives the best performance, is chosen. Click on the Next button.

    More Database Code Articles
    More By Jayaram Krishnaswamy


       · Mobile device management is expected to grow very fast in the coming years and...
     

    DATABASE CODE ARTICLES

    - Deployment of the MobiLink Synchronization M...
    - MobiLink Synchronization Wizard in SQL Anywh...
    - Finding Matching Records in Data Access Pages
    - Using the AccessDataSource Control in VS 2005
    - A Closer Look at ADO.NET: The Command Object
    - A Closer Look at ADO.NET: The Connection Obj...
    - Using ADO to Communicate with the Database, ...
    - Code Snippets: Counting Records
    - Constraints In Microsoft SQL Server 2000
    - Multilingual entries into a DB and to be dis...
    - Getting A List of Tables From SQL Server
    - SQL Server Database Creator - .NET Version
    - ADO Recordset Paging
    - Two combos, one textbox example
    - Discussion & Listserv Module by Mike Eck...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
    Stay green...Green IT