You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "keith-turner (via GitHub)" <gi...@apache.org> on 2026/01/14 17:32:49 UTC

[I] Investigate changing scope of server side iterator resolution [accumulo]

keith-turner opened a new issue, #6055:
URL: https://github.com/apache/accumulo/issues/6055

   **Is your feature request related to a problem? Please describe.**
   
   For a scan, on the server side a session object is created.  This server side session is used to fetch one or more batches of data for a scan.   Currently for each batch of data fetched the scan iterator configuration is computed from table properties and per scan iterator settings. 
   
   **Describe the solution you'd like**
   
   Compute the scan iterator configuration once and store it on the session.  Then use this precomputed config  to construct iterators for each batch of data fetched. 
   
   **Describe alternatives you've considered**
   
   This is a potential performance improvement and it may not be worthwhile.   Need to do some performance testing on the cost of computing the scan iterator configuration to see if anything needs to be done.
   
   **Additional context**
   
   Noticed this potential improvement while looking at #6040
   
   When a scan has no per scan iterator settings then this case is already optimized.  For that case it will use a precomputed/preparsed per table iterator setting.
   
   If this seems worthwhile its possible the same change could be made for conditional mutations in addition to scan. 


-- 
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: notifications-unsubscribe@accumulo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Investigate changing scope of server side iterator resolution [accumulo]

Posted by "keith-turner (via GitHub)" <gi...@apache.org>.
keith-turner commented on issue #6055:
URL: https://github.com/apache/accumulo/issues/6055#issuecomment-3751536589

   This is the computation that could potentially be moved to the scan session level.
   
   https://github.com/apache/accumulo/blob/15e90019d06f5a7704f593436e6f067d897c2daa/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/ScanDataSource.java#L244-L249


-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org