/** * Tool: get_query_statistics * Returns query and I/O statistics for a specific table */ export interface GetQueryStatisticsInput { schema: string; table: string; limit?: number; } export interface TableStatistics { seq_scan: number; seq_tup_read: number; idx_scan: number; idx_tup_fetch: number; n_tup_ins: number; n_tup_upd: number; n_tup_del: number; n_tup_hot_upd: number; n_live_tup: number; n_dead_tup: number; last_vacuum: string | null; last_autovacuum: string | null; last_analyze: string | null; last_autoanalyze: string | null; vacuum_count: number; autovacuum_count: number; analyze_count: number; autoanalyze_count: number; } export interface IOStatistics { heap_blks_read: number; heap_blks_hit: number; idx_blks_read: number; idx_blks_hit: number; toast_blks_read: number; toast_blks_hit: number; tidx_blks_read: number; tidx_blks_hit: number; cache_hit_ratio: number; } export interface IndexStatistics { index_name: string; idx_scan: number; idx_tup_read: number; idx_tup_fetch: number; idx_blks_read: number; idx_blks_hit: number; size: string; } export interface QueryStatisticsOutput { schema: string; table: string; table_statistics: TableStatistics; io_statistics: IOStatistics; index_statistics: IndexStatistics[]; bloat_estimate: { dead_tuple_percent: number; estimated_bloat: string; }; } /** * Gets query and I/O statistics for a table */ export declare function getQueryStatistics(input: GetQueryStatisticsInput): Promise; //# sourceMappingURL=getQueryStatistics.d.ts.map