/* tslint:disable */ /* eslint-disable */ /** * Admin API * The Admin API is used to manage the ApeCloud platform. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import type { ClickhouseDiskUsage } from './clickhouse-disk-usage'; /** * * @export * @interface ClickhouseTableSpace */ export interface ClickhouseTableSpace { /** * Database name. * @type {string} * @memberof ClickhouseTableSpace */ 'database'?: string; /** * Table name. * @type {string} * @memberof ClickhouseTableSpace */ 'table'?: string; /** * Table engine. * @type {string} * @memberof ClickhouseTableSpace */ 'engine'?: string; /** * Physical bytes_on_disk across all hosts and disks. * @type {number} * @memberof ClickhouseTableSpace */ 'bytesOnDisk'?: number; /** * Sum of data_compressed_bytes. * @type {number} * @memberof ClickhouseTableSpace */ 'dataCompressedBytes'?: number; /** * Sum of data_uncompressed_bytes. * @type {number} * @memberof ClickhouseTableSpace */ 'dataUncompressedBytes'?: number; /** * data_compressed_bytes / data_uncompressed_bytes. * @type {number} * @memberof ClickhouseTableSpace */ 'compressionRatio'?: number; /** * Sum of active part rows. * @type {number} * @memberof ClickhouseTableSpace */ 'rows'?: number; /** * Active part count used for the Too many parts risk check. * @type {number} * @memberof ClickhouseTableSpace */ 'activeParts'?: number; /** * Distinct partitions across disks and hosts. * @type {number} * @memberof ClickhouseTableSpace */ 'partitionCount'?: number; /** * Number of hosts that own active parts for this table. * @type {number} * @memberof ClickhouseTableSpace */ 'hosts'?: number; /** * Latest part modification time in RFC3339 UTC. * @type {string} * @memberof ClickhouseTableSpace */ 'lastModifiedAt'?: string; /** * normal, warning (parts >= parts_to_delay_insert) or critical (parts >= parts_to_throw_insert). * @type {string} * @memberof ClickhouseTableSpace */ 'risk'?: string; /** * Per-disk and per-host breakdown. * @type {Array} * @memberof ClickhouseTableSpace */ 'disks'?: Array; }