Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visibility Map in Postgres #7

Open
japananh opened this issue Sep 26, 2023 · 0 comments
Open

Visibility Map in Postgres #7

japananh opened this issue Sep 26, 2023 · 0 comments

Comments

@japananh
Copy link
Owner

Visibility Map in Postgres

The Visibility Map is a bitmap associated with each table in PostgreSQL, where each bit corresponds to a table data page. The VM tracks which pages in a table contain only tuples (rows) visible to all active transactions.

In the bitmap:

  • A set bit means that all tuples on the page are visible to all transactions.
  • An unset bit means the page might contain some tuples that are not visible to all transactions.

Ref: https://www.postgresql.org/docs/current/storage-vm.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant