-
Notifications
You must be signed in to change notification settings - Fork 275
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
skip collecting mo_tables, mo_databases, mo_columns
and cluster tables for non-sys.
#16512
skip collecting mo_tables, mo_databases, mo_columns
and cluster tables for non-sys.
#16512
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Review 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
mo_tables, mo_databases, mo_columns
and cluster tables for non-sys.mo_tables, mo_databases, mo_columns
and cluster tables for non-sys.
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue ##16419
What this PR does / why we need it:
skip collecting
mo_tables, mo_databases, mo_columns
and cluster tables for non-sys whenmo_table_size, mo_table_rows and show accounts
.PR Type
Enhancement, Bug fix
Description
specialTableFilterForNonSys
function to filter outmo_tables
,mo_databases
,mo_columns
, and cluster tables for non-sys accounts.MoTableRows
andMoTableSize
functions.ctx
withfoolCtx
for database operations to ensure proper context handling.MoTableRows
.HandleStorageUsage
to prevent incorrect size calculations.HandleStorageUsage
.Changes walkthrough 📝
func_mo.go
Filter special tables for non-sys accounts and simplify context
handling
pkg/sql/plan/function/func_mo.go
specialTableFilterForNonSys
function to filter special tablesfor non-sys accounts.
ctx
withfoolCtx
for database operations.handle_debug.go
Disable special table size handling in storage usage
pkg/vm/engine/tae/rpc/handle_debug.go