发明授权
US5452430A System and method for storing persistent and non-persistent queued data
and for recovering the persistent data responsive to a system restart
失效
用于存储持久和非持久排队数据的系统和方法,以及响应于系统重启来恢复持久数据
- 专利标题: System and method for storing persistent and non-persistent queued data and for recovering the persistent data responsive to a system restart
- 专利标题(中): 用于存储持久和非持久排队数据的系统和方法,以及响应于系统重启来恢复持久数据
-
申请号: US216897申请日: 1994-03-23
-
公开(公告)号: US5452430A公开(公告)日: 1995-09-19
- 发明人: Richard Dievendorff , Chandrasekaran Mohan
- 申请人: Richard Dievendorff , Chandrasekaran Mohan
- 申请人地址: NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: NY Armonk
- 优先权: GBX9306662 19930330
- 主分类号: G06F12/02
- IPC分类号: G06F12/02 ; G06F5/06 ; G06F9/46 ; G06F11/00 ; G06F11/14 ; G06F13/00
摘要:
A data processing system for the storage of persistent and non-persistent data in a queue, and a method for the storage of data which is required to survive a system failure (persistent data) and data which is not required to survive a system failure (non-persistent data) on a single queue, are disclosed. The method involves receiving persistent and non-persistent data to be stored in a queue, then marking the data in time sequence order, before storing the persistent data in a first set of data pages and the non-persistent data in a second set of data pages. Upon receiving a request for removal of data from the queue, both the first and second sets of pages are checked and the data is removed in time sequence order. A log is preferably created to enable recovery in the event of failure and restart of the queue. When receiving and removing persistent data to be stored in and to be removed from the queue, log entries are made of changes to the persistent data only. Before the receiving of the data, a table in space map pages is created indicating which pages available in storage are free, which are allocated for persistent data, and which are allocated for non-persistent data. After receiving data and removing data, the table is updated. In the event of a failure and restart of the queue, space map page table is scanned and updated to indicate that all pages containing non-persistent data are free.
公开/授权文献
信息查询