You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by ashishb888 <as...@gmail.com> on 2020/09/30 10:47:42 UTC
Purging a partition
Is is possible to purge a Ignite partition? If yes, how can we achieve? and
will it advisable to do so?
BR,
Ashish
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Purging a partition
Posted by Dmitry Lazurkin <di...@gmail.com>.
This leads to problem with indexes.
On 30.09.2020 14:38, Ilya Kasnacheev wrote:
> Hello!
>
> Why would you want to do this?
>
> Try removing part-NNN.bin from your persistence to achieve this. Be
> sure to check in on testing first.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> ср, 30 сент. 2020 г. в 13:47, ashishb888 <ashish.bhosle008@gmail.com
> <ma...@gmail.com>>:
>
> Is is possible to purge a Ignite partition? If yes, how can we
> achieve? and
> will it advisable to do so?
>
> BR,
> Ashish
>
>
>
> --
> 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/
Re: Purging a partition
Posted by Vladimir Pligin <vo...@yandex.ru>.
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 ashishb888 <as...@gmail.com>.
Thank you!
Actually I do not use persistence, and all the data stored in the RAM.
Do we have similar things for the data stored in the RAM?
BR,
Ashish
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Purging a partition
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
Why would you want to do this?
Try removing part-NNN.bin from your persistence to achieve this. Be sure to
check in on testing first.
Regards,
--
Ilya Kasnacheev
ср, 30 сент. 2020 г. в 13:47, ashishb888 <as...@gmail.com>:
> Is is possible to purge a Ignite partition? If yes, how can we achieve? and
> will it advisable to do so?
>
> BR,
> Ashish
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>