Skip to content

sql: possibly update crdb_internal.node_transaction_statistics schema to have int ID fields instead of string #55284

@arulajmani

Description

@arulajmani

Internally, the transactionID and statementIDs moved from being saved as strings to uint64s. crdb_internal.node_transaction_statistics, the internal table that inspects them, still includes them as strings in its schema. This is slightly complicated because these IDs are unsigned, so casting them to integers would make their value negative, which might be weird UX. Additionally, this would also mean that we see different values for these IDs in the admin UI as compared to crdb_internal.

cc @knz

Metadata

Metadata

Assignees

Labels

C-cleanupTech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions