THPDFSpillStatistics Record

Reports logical and physical sizes, block compression mix, and async writer behavior of a compressed spill stream

Declaration

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

Unit

HPDFObjs

Fields

FieldPurpose
LogicalBytesUncompressed data size the stream presents to readers
PhysicalBytesCurrent size of the backing spill file on disk
BlockCountTotal number of blocks tracked in the block offset table
CompressedBlockCountBlocks stored compressed
RawBlockCountBlocks stored as-is because compression did not pay off
AsyncWriteBatchCountWrite batches handed to the background writer thread
AsyncWriteBlockCountBlocks actually written by the background writer
ProducerWaitCountTimes the producing thread had to wait because the write queue was full
PeakQueuedBytesHigh-water mark of bytes queued for asynchronous writing

Usage notes

Related APIs