You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PageSource is used to get pages concurrently in Presto, so the Page objects generated by PageSource should not share the same set of column blocks. Otherwise, the consecutively generated Pages will be overwritten and thus have the same content.
However, using different blocks for pages will introduce more GC overhead. We try to support concurrent read without increasing the GC burden in this issue. A possible solution is to use the RecordCursor.
The text was updated successfully, but these errors were encountered:
1. Add the PixelsRecordSet and PixelsRecordCusor, which can be enabled/disabled by configuration properties, to pixels-presto.
2. Update PixelsRecordReaderImpl.readBatch, let users specify whether they want to reuse the returned result row batch.
Issue #172 is not completely resolved. Record cursor is much slower than the page source for wide tables (they have similar performance on TPC-H). We also tried to implement a context (buffer) of result row batches to automatically allocate, free, and reuse the result row batches. However, it reduces the query performance a lot. This issue can be solved by implementing the read path in C++ in the future.
PageSource is used to get pages concurrently in Presto, so the Page objects generated by PageSource should not share the same set of column blocks. Otherwise, the consecutively generated Pages will be overwritten and thus have the same content.
However, using different blocks for pages will introduce more GC overhead. We try to support concurrent read without increasing the GC burden in this issue. A possible solution is to use the RecordCursor.
The text was updated successfully, but these errors were encountered: