mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-17 11:03:36 +08:00
The following fields are added: -num_compressed_hypertables -compressed_KIND_size -uncompressed_KIND_size Where KIND = heap, index, toast. `num_hypertables` field does NOT count the internal hypertables used for compressed data. We also removed internal continuous aggs tables from the `num_hypertables` count.
26 lines
714 B
C
26 lines
714 B
C
/*
|
|
* This file and its contents are licensed under the Apache License 2.0.
|
|
* Please see the included NOTICE for copyright information and
|
|
* LICENSE-APACHE for a copy of the license.
|
|
*/
|
|
#ifndef TIMESCALEDB_COMPRESSION_CHUNK_SIZE_H
|
|
#define TIMESCALEDB_COMPRESSION_CHUNK_SIZE_H
|
|
#include <postgres.h>
|
|
#include <compat.h>
|
|
|
|
extern TSDLLEXPORT int ts_compression_chunk_size_delete(int32 uncompressed_chunk_id);
|
|
|
|
typedef struct TotalSizes
|
|
{
|
|
int64 uncompressed_heap_size;
|
|
int64 uncompressed_toast_size;
|
|
int64 uncompressed_index_size;
|
|
int64 compressed_heap_size;
|
|
int64 compressed_toast_size;
|
|
int64 compressed_index_size;
|
|
} TotalSizes;
|
|
|
|
extern TSDLLEXPORT TotalSizes ts_compression_chunk_size_totals(void);
|
|
|
|
#endif
|