THPDFSpillStatistics 记录

报告压缩溢写流的逻辑与物理大小、块压缩构成以及异步写入器行为

声明

THPDFSpillStatistics= record
  LogicalBytes: Int64;
  PhysicalBytes: Int64;
  BlockCount: Integer;
  CompressedBlockCount: Integer;
  RawBlockCount: Integer;
  AsyncWriteBatchCount: Int64;
  AsyncWriteBlockCount: Int64;
  ProducerWaitCount: Int64;
  PeakQueuedBytes: Int64;
end;

单元

HPDFObjs

字段

字段用途
LogicalBytes流呈现给读取方的未压缩数据大小
PhysicalBytes磁盘上后备溢写文件的当前大小
BlockCount块偏移表中跟踪的块总数
CompressedBlockCount以压缩形式存储的块数
RawBlockCount因压缩不划算而原样存储的块数
AsyncWriteBatchCount交给后台写入线程的写入批次数
AsyncWriteBlockCount后台写入器实际写出的块数
ProducerWaitCount因写入队列已满而导致生产线程等待的次数
PeakQueuedBytes排队等待异步写入的字节峰值

使用说明

相关 API