System and method for switching a data partition
    1.
    发明授权
    System and method for switching a data partition 有权
    用于切换数据分区的系统和方法

    公开(公告)号:US07624120B2

    公开(公告)日:2009-11-24

    申请号:US10880271

    申请日:2004-06-29

    IPC分类号: G06F7/00

    摘要: A method of mapping data into a table includes identifying pointers of a source portion and target portion and switching the metadata pointers of the target portion to be those of the source portion. Upon switching the metadata pointers, the data of the source portion is mapped into the target portion of the table. The method of mapping exhibits the advantage of performing the mapping operation by moving metadata and not table content data. The method may be used on any portion of a database including files, tables, partitions, and indexes. In one embodiment, the switching of pointers includes copying the target portion metadata into temporary storage, copying source portion metadata into the target portion metadata, and copying metadata from the temporary storage into the source portion metadata.

    摘要翻译: 将数据映射到表中的方法包括识别源部分和目标部分的指针,并且将目标部分的元数据指针切换为源部分的元数据指针。 在切换元数据指针时,源部分的数据被映射到表的目标部分。 映射的方法表现出通过移动元数据而不是表内容数据执行映射操作的优点。 该方法可用于数据库的任何部分,包括文件,表,分区和索引。 在一个实施例中,指针的切换包括将目标部分元数据复制到临时存储器中,将源部分元数据复制到目标部分元数据中,以及将元数据从临时存储器复制到源部分元数据中。