Skip to content

Conversation

@arseny114
Copy link
Contributor

Six functions have been developed to extract information from the pages of the RUM index:

  1. rum_metapage_info() -- is used to examine the information that is placed on the meta page (flags: {meta}).
  2. rum_page_opaque_info() -- is used to examine information that is placed in the opaque area of the index page (any index page).
  3. rum_leaf_data_page_items() -- is used to examine the information that is placed on the leaf pages of the posting tree (flags: {leaf, data}).
  4. rum_internal_data_page_items() -- it is intended for viewing information that is located on the internal pages of the posting tree (flags {data}).
  5. rum_leaf_entry_page_items() -- it is intended for viewing information that is located on the leaf pages of the entry tree (flags {leaf}).
  6. rum_internal_entry_page_items() -- it is intended for viewing information that is located on the internal pages of the entry tree (flags {}).

To extract information, all these functions need to pass the index name and the page number.

Tags: rum

@arseny114 arseny114 changed the title Added functions for exploring the pages of the rum index. [PGPRO-12159] Added functions for exploring the pages of the rum index. May 13, 2025
@arseny114 arseny114 force-pushed the PGPRO-12159 branch 3 times, most recently from d13ae48 to 63ecfd5 Compare May 15, 2025 09:01
@arseny114 arseny114 force-pushed the PGPRO-12159 branch 6 times, most recently from e1ddf10 to 94bf9c1 Compare July 3, 2025 11:45
@arseny114 arseny114 force-pushed the PGPRO-12159 branch 4 times, most recently from f6af174 to fd282ce Compare July 23, 2025 13:53
@arseny114 arseny114 force-pushed the PGPRO-12159 branch 6 times, most recently from af94bb0 to ec20040 Compare September 23, 2025 07:32
@arseny114 arseny114 force-pushed the PGPRO-12159 branch 2 times, most recently from d95d4cf to b4016c5 Compare October 7, 2025 15:48
@arseny114 arseny114 force-pushed the PGPRO-12159 branch 3 times, most recently from 4ac9e42 to 062e3d8 Compare October 27, 2025 16:14
@arseny114 arseny114 force-pushed the PGPRO-12159 branch 2 times, most recently from d966e2c to 1a71c3a Compare October 29, 2025 12:52
…pages.

This commit adds six functions for low-level inspect of the RUM index pages:

1. rum_metapage_info() -- returns information about a RUM index metapage.

2. rum_page_opaque_info() -- returns information from the opaque area of the
   index's RUM page.

3. rum_internal_entry_page_items() -- returns information that is stored on
   the internal pages of the entry tree.

4. rum_leaf_entry_page_items() -- returns information that is stored on the
   leaf pages of the entry tree.

5. rum_internal_data_page_items() -- returns information that is stored on
   the internal pages of the posting tree.

6. rum_leaf_data_page_items() -- returns information that is stored on the
   leaf pages of the posting tree.

To extract information, all these functions need to pass the index name and
the page number.

These functions are described in more detail in README.md

Tags: rum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant