-
公开(公告)号:US20140095432A1
公开(公告)日:2014-04-03
申请号:US13631750
申请日:2012-09-28
Applicant: APPLE INC.
Inventor: Benjamin C. TRUMBULL , Nicholas W. GILLETT , Adam C. SWIFT
IPC: G06F17/30
CPC classification number: G06F17/30 , G06F17/30297 , G06F17/30309
Abstract: Methods and apparatus are provided in which applications that run on different devices can be upgraded with migration of data to a new database format. A method of upgrading a first version of an application installed on a first device to a second version is provided, where first and second transaction logs for respective first and second schema versions are stored in respective first and second log containers on a server computer, and the first version of the application stores data in accordance with a first schema version, and further stores a cache of at least a portion of the first transaction log in a log database on the first device, migrating the log database to the second schema version, storing a duplicate copy of the first transaction log in the second log container, and rewriting the duplicate copy of the first transaction logs using the second schema.
Abstract translation: 提供了方法和装置,其中可以通过将数据迁移到新的数据库格式来升级在不同设备上运行的应用程序。 提供了将安装在第一设备上的应用的第一版本升级到第二版本的方法,其中针对相应的第一和第二模式版本的第一和第二事务日志存储在服务器计算机上的相应的第一和第二日志容器中,以及 应用程序的第一版本根据第一模式版本存储数据,并且还将第一事务日志的至少一部分的高速缓存存储在第一设备上的日志数据库中,将日志数据库迁移到第二模式版本, 将第一个事务日志的副本存储在第二个日志容器中,并使用第二个模式重写第一个事务日志的副本。