You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by 18624049226 <18...@163.com> on 2020/04/21 02:39:18 UTC
How to clear table data quickly?
Hi community,
For some tables with a large amount of data, how to quickly clear the
data in this table?
Re: How to clear table data quickly?
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
You can do cache.clear() or you can drop and create table (or cache).
I'm not sure what will be faster. It depends, since the latter will cause a
Partition Map Exchange, while former will be executed entirely in
background.
Regards,
--
Ilya Kasnacheev
вт, 21 апр. 2020 г. в 05:39, 18624049226 <18...@163.com>:
> Hi community,
>
> For some tables with a large amount of data, how to quickly clear the
> data in this table?
>
>