Hello,

Ignite can be thought as any other db where sequence of write doesn't
guarantee sequence of read. In case of querying data via sql, you can make
sure data is returned in sequence by using order by query of particular
column.

In Ignite cache, data is stored across partition and which record is stored
on which partition depends on somekind of hash of the key.

Best Regards,
Gaurav


On Wed, May 27, 2020, 2:19 PM rakshita04 <[email protected]>
wrote:

> Hi Team,
>
> If we use composite key as key to store data in apache ignite cache as
> <key,value> pair.
> Is the data stored in exact same sequence as we write it in? or its stored
> in some random order(may be on the basis of hash value of the key)?
> When we are trying to fetch the whole data stored in cache it is returning
> us the data in random order and not in the sequence which we used to write
> the data(we are using composite key which is combination of multiple
> columns)
> if you can please explain how data is stored in cache, we would be able to
> understand the behavior.
>
> regards,
> Rakshita
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to