ui: add mvcc info to Database page#84037
Conversation
5573fd9 to
f42c356
Compare
kevin-v-ngo
left a comment
There was a problem hiding this comment.
Replication Size and Total doesn't seem to align. Any reason why? I would've guessed that Total was the non-replication size but that doesn't seem to be the case since they're so close. What's the replication factor of this cluster?
|
One note here is that it won't work in multi-tenant clusters as a general approach because we pack the tables together into a range. This isn't new and this does mean also that the live bytes calculation is garbage there too. We need some new tools. This fact imperils #81008. |
|
To clarify, the changes from this PR (and the one with the backend changes) will not affect the Database page on Cloud Dedicated and Serverless, since that is a completely different page. The changes here affect DB Console only. |
ok, but...
This fact remains true and endangers our roadmap for INI-214. Andrew and Marylia, could you collaborate to file a follow-up issue that describes the work needed to make this work on the DB Console of a multi-tenant dedicated cluster? Then you can set "Epic" field to CRDB-16704 in the issue description to link them together. cc @ajstorm for tracking. |
|
I filed #84105 to build a mechanism which we can use for sub-range storage calculations and epic linked it. It may not contain enough details about hooking up that new mechanism to all the various use cases. |
|
thank you! |
66131e6 to
73a6bf2
Compare
|
Updates made (commit and PR message/images) to show info about live instead of non-live |
|
@kevin-v-ngo nice catch! Turns out I forgot to update the percentage from non-live to live. Fixed now! I'll update the images later on |
This commit adds the mvcc info to: - Column on the tables list inside Database page - Table Details page Fixes cockroachdb#82617 Release note (ui change): Adds mvcc info to tables list inside the Database page and on the Tables details page.
|
TFTR! |
|
Build succeeded: |

This commit adds the mvcc info to:
Fixes #82617
Release note (ui change): Adds mvcc info to tables list inside
the Database page and on the Tables details page.