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

Add a meta_caches system table for viewing configured metadata caches #25545

Open
Tracked by #25539
hiltontj opened this issue Nov 13, 2024 · 0 comments
Open
Tracked by #25539

Add a meta_caches system table for viewing configured metadata caches #25545

hiltontj opened this issue Nov 13, 2024 · 0 comments
Assignees
Labels

Comments

@hiltontj
Copy link
Contributor

hiltontj commented Nov 13, 2024

There will be a system table that can be queried via:

SELECT * FROM system.meta_caches WHERE table = 'cpu'

The table predicate is required. This will return results with columns for:

  • table the cache's target table name
  • name the name of the cache
  • column_ids as a list of ColumnIds, that the cache is configured on
  • column_names as a list of the column's names, that the cache is configured on
  • max_age or null if it is not configured for the cache
@hiltontj hiltontj added the v3 label Nov 13, 2024
@hiltontj hiltontj self-assigned this Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant