DocumentCode
3448698
Title
Classifying and Resolving Unique Constraint Violations during Synchronization Processes
Author
Natschläger, Christine ; Kopetzky, Theodorich
Author_Institution
Software Competence Center Hagenberg, Hagenberg, Austria
fYear
2009
fDate
10-12 Sept. 2009
Firstpage
1
Lastpage
6
Abstract
In mobile environments data from a client database often has to be integrated into a server database during a synchronization process. Thereby unique constraint violations are possible if the client has older data or only part of the data available offline. When inserting data into the server database in an online scenario, a unique constraint violation can be recognized and corrected immediately. However, when being offline a possible later violation might go unrecognized because not all data is available to check against. Later, when synchronizing or merging an offline database with the server database, a violation will occur and the synchronization process will have to handle it. Many synchronization and optimistic data replication approaches treat a unique constraint violation as a conflict. The advantage of this treatment is that the same logic can be used for resolving conflicts and unique constraint violations. However, sometimes conflict resolution can only resolve a violation by overwriting an existing version, or it is not able to resolve the violation at all. By implementing a discrete unique constraint violation resolution, the available information is utilized and overwriting data can be avoided. In most cases the violation can even be resolved automatically. This paper identifies two classes of unique constraint violations and provides a resolution approach for each class. The classification is based on the experiences collected in a project for a social insurance company in which such violations occurred during the synchronization process. These violations were examined in detail and are presented in this paper.
Keywords
database management systems; mobile computing; synchronisation; client database; constraint violations; mobile environments; server database; synchronization processes; Constraint optimization; Data warehouses; Databases; Insurance; Logic; Merging; Mobile handsets; Personal digital assistants; Reduced instruction set computing;
fLanguage
English
Publisher
ieee
Conference_Titel
Logistics and Industrial Informatics, 2009. LINDI 2009. 2nd International
Conference_Location
Linz
Print_ISBN
978-1-4244-3958-4
Electronic_ISBN
978-1-4244-3958-4
Type
conf
DOI
10.1109/LINDI.2009.5258757
Filename
5258757
Link To Document