Yes. On Wed, Apr 25, 2018 at 10:28 PM, Dmitriy Setrakyan <dsetrak...@apache.org> wrote:
> On Wed, Apr 25, 2018 at 5:45 PM, Vladimir Ozerov <voze...@gridgain.com> > wrote: > > > Yakov, > > > > Thread-per-partition is hardly applicable for general SQL use case as > user > > operates on arbitrary data sets. But in general we may track size deltas > > for partitions on transaction level. If transaction span one or several > > partitions, we may hold this data in a single long or Map. If transaction > > spans a lot of partitions, we may store this data in array. > > > > What do you think? > > > > Vova, I think you are suggesting maintaining the size as you go. This does > sound like a right approach, assuming that it does not carry noticeable > overhead. > > D. >