On Thu, Aug 17, 2017 at 1:47 PM, Yakov Zhdanov <[email protected]> wrote:
> Denis, you are absolutely right. Iterating through millions of objects is > indeed a very complex task. Ignite casts a secret spell instead.\ > Well, Ignite should cast a secret spell and do it in parallel, across multiple threads. This will make index creation faster, but will occupy more cores. Perhaps we should have both, single-threaded and multi-threaded options. > > --Yakov > > 2017-08-17 21:26 GMT+01:00 Denis Magda <[email protected]>: > > > Alex P., Vladimir, > > > > Having CREATE INDEX command we can define indexes in runtime. However, > > it’s unclear how a new index is built. > > > > Let’s imagine I have a field “name” that was in Person’s model for a > while > > and there are millions of such objects in the cluster. Now I turned the > > field into the index in runtime. How Ignite is going to built the index? > Do > > we iterate over the millions of objects with the field in background or > at > > the time of the CREATE INDEX execution blocking the latter? Or is there > > more sophisticated process? > > > > — > > Denis >
