diff --git a/pkg/ui/workspaces/cluster-ui/src/api/databaseDetailsApi.ts b/pkg/ui/workspaces/cluster-ui/src/api/databaseDetailsApi.ts
index 756ee115ca11..1448bfc514db 100644
--- a/pkg/ui/workspaces/cluster-ui/src/api/databaseDetailsApi.ts
+++ b/pkg/ui/workspaces/cluster-ui/src/api/databaseDetailsApi.ts
@@ -83,7 +83,6 @@ function newDatabaseDetailsSpanStatsResponse(): DatabaseDetailsSpanStatsResponse
approximate_disk_bytes: 0,
live_bytes: 0,
total_bytes: 0,
- range_count: 0,
},
error: undefined,
};
@@ -332,7 +331,6 @@ export type DatabaseSpanStatsRow = {
approximate_disk_bytes: number;
live_bytes: number;
total_bytes: number;
- range_count: number;
};
function formatSpanStatsExecutionResult(
@@ -357,7 +355,6 @@ function formatSpanStatsExecutionResult(
if (txnResult.rows.length === 1) {
const row = txnResult.rows[0];
out.spanStats.approximate_disk_bytes = row.approximate_disk_bytes;
- out.spanStats.range_count = row.range_count;
out.spanStats.live_bytes = row.live_bytes;
out.spanStats.total_bytes = row.total_bytes;
} else {
@@ -511,7 +508,6 @@ export function createDatabaseDetailsSpanStatsReq(
): SqlExecutionRequest {
const statement = {
sql: `SELECT
- sum(range_count) as range_count,
sum(approximate_disk_bytes) as approximate_disk_bytes,
sum(live_bytes) as live_bytes,
sum(total_bytes) as total_bytes
diff --git a/pkg/ui/workspaces/cluster-ui/src/databasesPage/databasesPage.tsx b/pkg/ui/workspaces/cluster-ui/src/databasesPage/databasesPage.tsx
index ed446a1ae0e8..96aae47eaee6 100644
--- a/pkg/ui/workspaces/cluster-ui/src/databasesPage/databasesPage.tsx
+++ b/pkg/ui/workspaces/cluster-ui/src/databasesPage/databasesPage.tsx
@@ -571,29 +571,6 @@ export class DatabasesPage extends React.Component<
className: cx("databases-table__col-table-count"),
name: "tableCount",
},
- {
- title: (
-
- Range Count
-
- ),
- cell: database => (
-
- {database.spanStats?.range_count}
-
- ),
- sort: database => database.spanStats?.range_count,
- className: cx("databases-table__col-range-count"),
- name: "rangeCount",
- },
{
title: (
{
spanStats: {
approximate_disk_bytes: 100,
live_bytes: 200,
- range_count: 300,
total_bytes: 400,
error: undefined,
},
diff --git a/pkg/ui/workspaces/db-console/src/util/api.spec.ts b/pkg/ui/workspaces/db-console/src/util/api.spec.ts
index 1f9f2928915d..00029c6a3409 100644
--- a/pkg/ui/workspaces/db-console/src/util/api.spec.ts
+++ b/pkg/ui/workspaces/db-console/src/util/api.spec.ts
@@ -119,7 +119,6 @@ describe("rest api", function () {
approximate_disk_bytes: 100,
live_bytes: 200,
total_bytes: 300,
- range_count: 400,
},
],
},
@@ -130,7 +129,6 @@ describe("rest api", function () {
expect(res.results.spanStats.approximate_disk_bytes).toEqual(100);
expect(res.results.spanStats.live_bytes).toEqual(200);
expect(res.results.spanStats.total_bytes).toEqual(300);
- expect(res.results.spanStats.range_count).toEqual(400);
});
});
});