Skip to content

Add the access_log extension#361

Merged
andr-sokolov merged 6 commits intoOPENGPDB_STABLEfrom
access_log
Mar 25, 2026
Merged

Add the access_log extension#361
andr-sokolov merged 6 commits intoOPENGPDB_STABLEfrom
access_log

Conversation

@andr-sokolov
Copy link
Copy Markdown
Contributor

When we need to reduce the used amount of disk space, we should drop some tables
or partitions. In this case, we need to find out tables or partitions which are
not read from. This extension logs when and which user initializes Seq Scan on
which partition or table. The log file name is pg_log/access.log.
Add a new hook - init_scan_hook which is called from InitScanRelation.

When we need to reduce the used amount of disk space, we should drop some tables
or partitions. In this case, we need to find out tables or partitions which are
not read from. This extension logs when and which user initializes Seq Scan on
which partition or table. The log file name is pg_log/access.log.
Add a new hook - init_scan_hook which is called from InitScanRelation.
@andr-sokolov andr-sokolov merged commit c75b5de into OPENGPDB_STABLE Mar 25, 2026
79 of 85 checks passed
@andr-sokolov andr-sokolov deleted the access_log branch March 25, 2026 11:00
andr-sokolov added a commit that referenced this pull request Mar 25, 2026
When we need to reduce the used amount of disk space, we should drop some tables
or partitions. In this case, we need to find out tables or partitions which are
not read from. This extension logs when and which user initializes Seq Scan on
which partition or table. The log file name is pg_log/access.log.
Add a new hook - init_scan_hook which is called from InitScanRelation.
andr-sokolov added a commit that referenced this pull request Mar 25, 2026
When we need to reduce the used amount of disk space, we should drop some tables
or partitions. In this case, we need to find out tables or partitions which are
not read from. This extension logs when and which user initializes Seq Scan on
which partition or table. The log file name is pg_log/access.log.
Add a new hook - init_scan_hook which is called from InitScanRelation.
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.

2 participants