Commit Graph

8 Commits

Author SHA1 Message Date
benclive
dfb60dcaf0 fix: Metastore timerange filter (#19171) 2025-09-11 12:02:43 +00:00
Robert Fratto
f6091a67d1 chore(engine): move to toggleable section prefetching (#19142)
dataset.readerDownloader was originally introduced in #16429, an attempt to
balance peak memory usage of reading a section with read times by downloading a
configurable size of pages in advance.

In practice, each roundtrip to object storage adds too much of a latency hit,
and we've started to set the cache limit high enough to ensure that each reader
only needs a single prefetch. Given what we've found, it no longer makes sense
to control peak memory usage via the prefetch size. Other options, such as
downloading directly to disk, may be explored in the future.

In the meantime, this PR removes the ability to specify a cache size. All
non-pruned pages will be bulk requested using the range reader (#19067) on the
first read call. Pages which have left the potential read window will continue
to be eagerly removed for garbage collection.

However, we don't want to prefetch when the dataset is entirely in memory,
which is the case when the logs section builder is performing k-way merge over
in-memory sections. To lower the memory usage of builders, prefetching is
configurable. For this initial PR, prefetching is only disabled for the logs
section builder; all other reads force prefetching.

Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2025-09-09 11:54:34 -04:00
Robert Fratto
595715146f chore(dataobj)!: introduce new centralized dataset encoding format (#18871)
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2025-08-15 16:29:07 -04:00
Ashwanth
da4e59f8c6 chore(dataobj): store sort order information in section metadata (#18499) 2025-07-24 18:25:36 +05:30
benclive
077e4196ef chore: Add indexes to LogQL benchmarks (#18500) 2025-07-18 19:03:41 +00:00
benclive
517c317c97 chore: Integrate indexes with the new query engine (#18427) 2025-07-17 15:04:40 +00:00
benclive
a238816751 perf: Use map for InPredicate when reading dataobj (#18325) 2025-07-07 09:45:11 +01:00
benclive
9642af3ac6 chore: Add new pointers section type for dataobj (#18243) 2025-06-27 14:00:51 +01:00