Self-optimizing database objects using virtual segments

    公开(公告)号:US12287784B2

    公开(公告)日:2025-04-29

    申请号:US18138242

    申请日:2023-04-24

    Abstract: Techniques are provided for optimizing storage of database data records in segments using sub-segments. A segment may be comprised of a plurality of extents that contain data blocks and a plurality of references to sub-segments. Sub-segments are containers that contain other extents. A request to insert a set of records into a segment may be received by a database management system. Upon receiving the request, a particular sub-segment is selected to temporarily store the set of records. The set of records are inserted into data blocks belonging to an extent of the sub-segment. Access frequency for the set of records is monitored to determine whether the access frequency is less than a first threshold. When the access frequency of a subset of records is less than a first threshold, the subset of records is compressed and inserted into a particular extent of a particular segment.

    SELF-OPTIMIZING DATABASE OBJECTS USING VIRTUAL SEGMENTS

    公开(公告)号:US20240354299A1

    公开(公告)日:2024-10-24

    申请号:US18138242

    申请日:2023-04-24

    CPC classification number: G06F16/2453 G06F16/113 G06F16/214 G06F16/282

    Abstract: Techniques are provided for optimizing storage of database data records in segments using sub-segments. A segment may be comprised of a plurality of extents that contain data blocks and a plurality of references to sub-segments. Sub-segments are containers that contain other extents. A request to insert a set of records into a segment may be received by a database management system. Upon receiving the request, a particular sub-segment is selected to temporarily store the set of records. The set of records are inserted into data blocks belonging to an extent of the sub-segment. Access frequency for the set of records is monitored to determine whether the access frequency is less than a first threshold. When the access frequency of a subset of records is less than a first threshold, the subset of records is compressed and inserted into a particular extent of a particular segment.

Patent Agency Ranking