You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Vladimir Pligin <vo...@yandex.ru> on 2020/10/01 08:47:11 UTC
Re: Purging a partition
To be honest it doesn't look trivial.
I'm not sure at the moment why one could need that.
Could you please describe your use-case?
It will definitely help us to design a solution somehow.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Purging a partition
Posted by Stephen Darlington <st...@gridgain.com>.
I’ve seen this a few times. Most commonly is where you load in a days worth of data at a time and you want to remove the oldest days data. In some databases, you’d group the data together in a partition and issue a single command to delete the whole partition.
I’m not sure there’s a simple, efficient way to do it in the same way in Ignite — partitions mean something different in distributed systems — but a simpler way to bulk-delete data would be a nice feature.
> On 1 Oct 2020, at 09:47, Vladimir Pligin <vo...@yandex.ru> wrote:
>
> To be honest it doesn't look trivial.
> I'm not sure at the moment why one could need that.
> Could you please describe your use-case?
> It will definitely help us to design a solution somehow.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Purging a partition
Posted by Dmitry Lazurkin <di...@gmail.com>.
May be: ScanQuery with partition number and cache.localClearAll for keys.
On 01.10.2020 11:47, Vladimir Pligin wrote:
> To be honest it doesn't look trivial.
> I'm not sure at the moment why one could need that.
> Could you please describe your use-case?
> It will definitely help us to design a solution somehow.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/