OPTIMAL SORT KEY COMPRESSION AND INDEX REBUILDING

    公开(公告)号:US20190034467A1

    公开(公告)日:2019-01-31

    申请号:US15658671

    申请日:2017-07-25

    Applicant: SAP SE

    CPC classification number: G06F16/2272 G06F16/2228 G06F16/23

    Abstract: A system and method, including determining, by a processor, distinction bit positions for index keys of a database index; determining, by the processor, concatenation of the bits of the index keys; and generating a record of the concatenation. Other systems and methods include collecting, by a processor, index keys of a database index in parallel, wherein data pages of a target table are evenly distributed to a plurality of processor cores; scanning, by each of the cores the data pages to extract compressed keys and corresponding record identifiers; sorting, by a plurality of the processor cores, pairs of the compressed key and corresponding record identifier in accordance with a parallel sorting algorithm; generating an index tree in a bottom-up fashion; and storing a record of the generated index tree.

    Optimal sort key compression and index rebuilding

    公开(公告)号:US10671586B2

    公开(公告)日:2020-06-02

    申请号:US15658671

    申请日:2017-07-25

    Applicant: SAP SE

    Abstract: A system and method, including determining, by a processor, distinction bit positions for index keys of a database index; determining, by the processor, concatenation of the bits of the index keys; and generating a record of the concatenation. Other systems and methods include collecting, by a processor, index keys of a database index in parallel, wherein data pages of a target table are evenly distributed to a plurality of processor cores; scanning, by each of the cores the data pages to extract compressed keys and corresponding record identifiers; sorting, by a plurality of the processor cores, pairs of the compressed key and corresponding record identifier in accordance with a parallel sorting algorithm; generating an index tree in a bottom-up fashion; and storing a record of the generated index tree.

Patent Agency Ranking