ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Ozerov <voze...@gridgain.com>
Subject Allow only one SQL table per cache
Date Wed, 19 Apr 2017 20:32:36 GMT
Folks,

Currently we allow multiple SQL tables per cache. This considered a bad
practice as single cache is getting polluted with unrelated key-value pairs.

Earlier this use case made sense due to high per-cache overhead and some
limitation of FairAffinityFunction which cannot guarantee equal partition
distribution. AFAIK both issues are resolved.

I think we have no reason to allow multiple tables per cache at the moment.
If we restrict it to one table we will be able to simplify significantly
query engine internals and improve performance a bit. Also it aligns nicely
with upcoming CREATE TABLE feature.

What do you think about this change?

Vladimir.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message