xiangfu0 opened a new pull request, #20339:
URL: https://github.com/apache/pinot/pull/20339

   Read numeric min/max values on demand from the mapped sidecar. Read both 
bounds once per segment for an `IN` list, and reuse parsed `RANGE` literals 
across segments of the same type.
   
   With `pinot.server.instance.segment.metadata.mmap.enabled=true`, run `WHERE 
col BETWEEN 10 AND 20` or `WHERE col IN (10, 15, 20)`. Touching all 200 INT 
columns across 50,000 mapped segments reduced retained metadata heap from about 
1.06 GB to 0.50 GB. The eight-literal `IN` microbenchmark fell from 344 to 113 
ns per segment compared with the first on-demand implementation.
   
   Validation passed 79 focused tests and style checks. A local 400-segment 
broker-to-server benchmark returned identical results and pruning counts across 
all runs. End-to-end latency varied between forks, so the benchmark did not 
establish a repeatable speedup.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to