Skip to content

Commit 2d192e7

Browse files
committed
Fix names
1 parent 99f5cb0 commit 2d192e7

File tree

4 files changed

+24
-36
lines changed

4 files changed

+24
-36
lines changed

src/components/MemoryViewer/MemoryViewer.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ $memory-type-colors: (
33
'SharedCacheConsumption': var(--g-color-base-info-medium-hover),
44
'MemTableConsumption': var(--g-color-base-warning-medium-hover),
55
'QueryExecutionConsumption': var(--g-color-base-positive-medium-hover),
6-
'ScanGroupedMemoryLimiterConsumption': var(--g-color-base-neutral-medium-hover),
7-
'CompGroupedMemoryLimiterConsumption': var(--g-color-base-misc-medium-hover),
8-
'BlobCacheConsumption': var(--g-color-base-light-simple-hover),
9-
'DataAccessorCacheConsumption': var(--g-color-base-danger-medium-hover),
6+
'ColumnTablesReadExecutionConsumption': var(--g-color-base-neutral-medium-hover),
7+
'ColumnTablesCompactionConsumption': var(--g-color-base-misc-medium-hover),
8+
'ColumnTablesCacheConsumption': var(--g-color-base-danger-medium-hover),
109
'Other': var(--g-color-base-generic-medium-hover),
1110
);
1211

src/components/MemoryViewer/i18n/en.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
"text_shared-cache": "Shared Cache",
55
"text_memtable": "MemTable",
66
"text_query-execution": "Query Execution",
7-
"text_scan-grouped-memory-limiter": "Scan Grouped Memory Limiter",
8-
"text_comp-grouped-memory-limiter": "Compaction Grouped Memory Limiter",
9-
"text_blob-cache": "Blob Cache",
10-
"text_data-accessor-cache": "Data Accessor Cache",
7+
"text_column-tables-read-execution": "Column Tables Read Execution",
8+
"text_column-tables-compaction": "Column Tables Compaction",
9+
"text_column-tables-cache": "Column Tables Cache",
1110
"text_usage": "Usage",
1211
"text_soft-limit": "Soft Limit",
1312
"text_hard-limit": "Hard Limit",

src/components/MemoryViewer/utils.ts

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,31 +38,24 @@ export function getMemorySegments(stats: TMemoryStats, memoryUsage: number): Mem
3838
isInfo: false,
3939
},
4040
{
41-
label: i18n('text_scan-grouped-memory-limiter'),
42-
key: 'ScanGroupedMemoryLimiterConsumption',
43-
value: getMaybeNumber(stats.ScanGroupedMemoryLimiterConsumption),
44-
capacity: getMaybeNumber(stats.ScanGroupedMemoryLimiterLimit),
41+
label: i18n('text_column-tables-read-execution'),
42+
key: 'ColumnTablesReadExecutionConsumption',
43+
value: getMaybeNumber(stats.ColumnTablesReadExecutionConsumption),
44+
capacity: getMaybeNumber(stats.ColumnTablesReadExecutionLimit),
4545
isInfo: false,
4646
},
4747
{
48-
label: i18n('text_comp-grouped-memory-limiter'),
49-
key: 'CompGroupedMemoryLimiterConsumption',
50-
value: getMaybeNumber(stats.CompGroupedMemoryLimiterConsumption),
51-
capacity: getMaybeNumber(stats.CompGroupedMemoryLimiterLimit),
48+
label: i18n('text_column-tables-compaction'),
49+
key: 'ColumnTablesCompactionConsumption',
50+
value: getMaybeNumber(stats.ColumnTablesCompactionConsumption),
51+
capacity: getMaybeNumber(stats.ColumnTablesCompactionLimit),
5252
isInfo: false,
5353
},
5454
{
55-
label: i18n('text_blob-cache'),
56-
key: 'BlobCacheConsumption',
57-
value: getMaybeNumber(stats.BlobCacheConsumption),
58-
capacity: getMaybeNumber(stats.BlobCacheLimit),
59-
isInfo: false,
60-
},
61-
{
62-
label: i18n('text_data-accessor-cache'),
63-
key: 'DataAccessorCacheConsumption',
64-
value: getMaybeNumber(stats.DataAccessorCacheConsumption),
65-
capacity: getMaybeNumber(stats.DataAccessorCacheLimit),
55+
label: i18n('text_column-tables-cache'),
56+
key: 'ColumnTablesCacheConsumption',
57+
value: getMaybeNumber(stats.ColumnTablesCacheConsumption),
58+
capacity: getMaybeNumber(stats.ColumnTablesCacheLimit),
6659
isInfo: false,
6760
},
6861
{

src/types/api/nodes.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,14 @@ export interface TMemoryStats {
8989
QueryExecutionConsumption?: string;
9090
QueryExecutionLimit?: string;
9191

92-
ScanGroupedMemoryLimiterConsumption?: string;
93-
ScanGroupedMemoryLimiterLimit?: string;
92+
ColumnTablesReadExecutionConsumption?: string;
93+
ColumnTablesReadExecutionLimit?: string;
9494

95-
CompGroupedMemoryLimiterConsumption?: string;
96-
CompGroupedMemoryLimiterLimit?: string;
95+
ColumnTablesCompactionConsumption?: string;
96+
ColumnTablesCompactionLimit?: string;
9797

98-
BlobCacheConsumption?: string;
99-
BlobCacheLimit?: string;
100-
101-
DataAccessorCacheConsumption?: string;
102-
DataAccessorCacheLimit?: string;
98+
ColumnTablesCacheConsumption?: string;
99+
ColumnTablesCacheLimit?: string;
103100

104101
HardLimit?: string;
105102
SoftLimit?: string;

0 commit comments

Comments
 (0)