THPDFSpillStatistics Record

Reports the logical and physical sizes, the block compression mix and the async writer behaviour 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
LogicalBytesSize of the uncompressed data the stream shows to readers
PhysicalBytesSize the backing spill file on disk currently has
BlockCountHow many blocks in total are tracked in the block offset table
CompressedBlockCountBlocks kept in compressed form
RawBlockCountBlocks kept as-is because compression did not pay its way
AsyncWriteBatchCountWrite batches handed over to the background writer thread
AsyncWriteBlockCountBlocks the background writer actually wrote
ProducerWaitCountHow often the producing thread had to wait because the write queue was full
PeakQueuedBytesHigh-water mark for bytes queued up for asynchronous writing

Usage notes

Related APIs