Folks,

Partition map exchange (PME) will actually happen in both cases: PARTITIONED 
and REPLICATED.
We need to understand, which part of the destroy is the longest.

If you enable INFO logs, then you’ll see messages about partition map exchange 
happening when you destroy caches.
Check, whether PME takes most time, or it’s fast and something else is blocking 
the destruction.

Could you tell, how many nodes you have in your cluster?

Denis

> On 14 Aug 2019, at 18:11, Alexander Kor <[email protected]> wrote:
> 
> Hi,
>     Can you please share your cache configuration.  How many nodes do you 
> have in your cluster?
>     If you are running in PARTITONED mode then some exchange of information 
> will occur.  
>     More details here: https://apacheignite.readme.io/docs/cache-modes 
> <https://apacheignite.readme.io/docs/cache-modes>
>     Do you have a reproducer project?  
> Thanks, Alex
>   
> 
> On Wed, Aug 14, 2019 at 1:22 AM Shravya Nethula 
> <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi, 
> 
> I have created a cache using the following API: 
> IgniteCache<String, Object> cache = (IgniteCache<String, Object>) 
> ignite.getOrCreateCache(cacheCfg); 
> 
> Now when i try to delete the cache using IgniteCache.destroy() API, it is 
> taking about 12-13 seconds. 
> 
> Why is it taking more execution time? Will there be any exchange of cache 
> information among the nodes whenever a cache is deleted? 
> Is there any way in which, the execution time can be optimized? 
> 
> Regards, 
> Shravya Nethula.
> 
> 
> 
> Regards,
> Shravya Nethula,
> BigData Developer,
> <Outlook-5hxeghjc.png>
> Hyderabad.
> 

Reply via email to