Method and system for controlling recovery downtime
    1.
    发明授权
    Method and system for controlling recovery downtime 有权
    控制恢复停机时间的方法和系统

    公开(公告)号:US07640275B2

    公开(公告)日:2009-12-29

    申请号:US10750806

    申请日:2004-01-02

    IPC分类号: G06F12/10 G06F17/30

    摘要: A method and system for reducing overhead associated with recovering after a failure. According to the method, a checkpoint value is maintained that indicates which records of a plurality of records have to be processed after the failure. The plurality of records contain change information that corresponds to a plurality of data blocks. A target checkpoint value is determined based on a desired number of data block reads that will be required during a redo phase of recovery. Changes contained in volatile memory are then written to nonvolatile memory to advance the checkpoint value to at least the target checkpoint value.

    摘要翻译: 一种降低与故障恢复相关的开销的方法和系统。 根据该方法,维护检查点值,其指示在故障之后必须处理多个记录的哪些记录。 多个记录包含对应于多个数据块的改变信息。 基于在恢复的重做阶段将需要的数据块读取的期望数目来确定目标检查点值。 随后将易失性存储器中的变更写入非易失性存储器,将检查点值提升至至少目标检查点值。

    Method and system for controlling recovery downtime by maintaining a checkpoint value
    4.
    发明授权
    Method and system for controlling recovery downtime by maintaining a checkpoint value 有权
    通过维护检查点值来控制恢复停机的方法和系统

    公开(公告)号:US06678704B1

    公开(公告)日:2004-01-13

    申请号:US09843388

    申请日:2001-04-25

    IPC分类号: G06F1730

    摘要: A method and system for reducing overhead associated with recovering after a failure. According to the method, a checkpoint value is maintained that indicates which records of a plurality of records have to be processed after the failure. The plurality of records contain change information that corresponds to a plurality of data blocks. A target checkpoint value is determined based on a desired number of data block reads that will be required during a redo phase of recovery. Changes contained in volatile memory are then written to nonvolatile memory to advance the checkpoint value to at least the target checkpoint value.

    摘要翻译: 一种降低与故障恢复相关的开销的方法和系统。 根据该方法,维护检查点值,其指示在故障之后必须处理多个记录的哪些记录。 多个记录包含对应于多个数据块的改变信息。 基于在恢复的重做阶段将需要的数据块读取的期望数目来确定目标检查点值。 随后将易失性存储器中的变更写入非易失性存储器,将检查点值提升至至少目标检查点值。

    Managing partitioned cache
    5.
    发明授权
    Managing partitioned cache 有权
    管理分区缓存

    公开(公告)号:US06470423B1

    公开(公告)日:2002-10-22

    申请号:US10032243

    申请日:2001-12-21

    IPC分类号: G06F1200

    CPC分类号: G06F12/121 G06F12/0866

    摘要: Described herein are approaches for partitioning a buffer cache for dynamically selecting buffers in the buffer cache to store data items, such as data blocks in a DBMS. The selection is based on data access and/or usage patterns. A buffer cache includes multiple buffer pools. A buffer pool is selected from among the multiple buffer pools to store a data item. The selection of a buffer pool is based on various factors, including the likelihood that storing the data item will produce future cache hits, and properties of buffer pools that vary between the buffer pools. Properties of a buffer pool include not only how the buffer pools are organized, both logically and physically, but also how the buffer pool is managed. Examples of a buffer pool property include buffer pool size, size of a buffer in the buffer pool, and the replacement strategy used for a buffer pool (e.g. LRU).

    摘要翻译: 这里描述了用于分割缓冲器高速缓存用于动态选择缓冲器高速缓存中的缓冲器以存储数据项(诸如DBMS中的数据块)的方法。 该选择是基于数据访问和/或使用模式。 缓冲区缓存包括多个缓冲池。 从多个缓冲池中选择缓冲池以存储数据项。 缓冲池的选择基于各种因素,包括存储数据项的可能性将产生未来的缓存命中,以及在缓冲池之间变化的缓冲池的属性。 缓冲池的属性不仅包括缓冲池在逻辑和物理上的组织方式,还包括缓冲池的管理方式。 缓冲池属性的示例包括缓冲池大小,缓冲池中缓冲区的大小以及用于缓冲池(例如LRU)的替换策略。

    Managing partitioned cache
    6.
    发明授权
    Managing partitioned cache 失效
    管理分区缓存

    公开(公告)号:US06370619B1

    公开(公告)日:2002-04-09

    申请号:US09102735

    申请日:1998-06-22

    IPC分类号: G06F1200

    CPC分类号: G06F12/121 G06F12/0866

    摘要: The present invention provides a method and apparatus for partitioning a buffer cache for dynamically mapping data blocks with a particular replacement strategy based on the associated table's access and/or usage patterns. According to the method, a buffer cache in a computer system is managed by dividing the buffer cache into multiple buffer pools. In managing the buffer cache, when a data item is requested, it is first determined whether the requested data item is stored in a buffer within the buffer cache. If the requested data item is not stored in a buffer in the buffer cache, then a particular buffer pool in the buffer cache is dynamically selected for storing the requested data item. Once the particular buffer pool is selected, the requested data item is stored into a buffer in the particular buffer pool.

    摘要翻译: 本发明提供了一种用于分割缓冲器高速缓存的方法和装置,用于基于相关联的表的访问和/或使用模式,用特定替换策略动态地映射数据块。 根据该方法,通过将缓冲器高速缓存分成多个缓冲池来管理计算机系统中的缓冲区高速缓存。 在管理缓冲区高速缓存时,当请求数据项时,首先确定所请求的数据项是否存储在缓冲区高速缓存中的缓冲区中。 如果请求的数据项没有存储在缓冲区缓冲区中的缓冲区中,则动态地选择缓冲区高速缓存中的特定缓冲池来存储所请求的数据项。 一旦选择了特定的缓冲池,请求的数据项被存储在特定缓冲池中的缓冲区中。

    Method and system for controlling recovery downtime
    10.
    发明授权
    Method and system for controlling recovery downtime 失效
    控制恢复停机时间的方法和系统

    公开(公告)号:US06351754B1

    公开(公告)日:2002-02-26

    申请号:US09103630

    申请日:1998-06-23

    IPC分类号: G06F1730

    摘要: A method and system for reducing overhead associated with recovering after a failure. According to the method, a checkpoint value is maintained that indicates which records of a plurality of records have to be processed after the failure. The plurality of records contain change information that corresponds to a plurality of data blocks. A target checkpoint value is determined based on a desired number of data block reads that will be required during a redo phase of recovery. Changes contained in volatile memory are then written to nonvolatile memory to advance the checkpoint value to at least the target checkpoint value. According to another aspect of the invention, the target checkpoint value is determined using a circular queue of offset buckets. The offset buckets are used to store index values that are associated with buffers in the ordered list. The target checkpoint value is periodically set equal to an index value that is contained in an offset bucket. According to another aspect of the invention, the target checkpoint value is determined by calculating a maximum number of records that should be processed after the failure. The maximum number of records is based on the desired number of data block reads that will be required during the redo phase of the recovery. The target checkpoint value is updated based on the maximum number of records.

    摘要翻译: 一种降低与故障恢复相关的开销的方法和系统。 根据该方法,维护检查点值,其指示在故障之后必须处理多个记录的哪些记录。 多个记录包含对应于多个数据块的改变信息。 基于在恢复的重做阶段将需要的数据块读取的期望数目来确定目标检查点值。 随后将易失性存储器中的变更写入非易失性存储器,将检查点值提升至至少目标检查点值。 根据本发明的另一方面,使用偏移桶的圆形队列来确定目标检查点值。 偏移量桶用于存储与排序列表中的缓冲区相关联的索引值。 目标检查点值周期性设置为等于包含在偏移量桶中的索引值。 根据本发明的另一方面,通过计算在故障之后应该处理的最大记录数来确定目标检查点值。 记录的最大数量是基于恢复重做阶段所需要的数据块读取所需的数量。 基于记录的最大数量更新目标检查点值。