Re: Retrieve disk usage & release disk space after delete

2020-06-23 Thread ChienHuaWang
Q1: I'm looking for the disk usage data in Solr admin - Solr Cloud/Nodes. Any way to get the Node data in table thru API call? Q2: Thanks for helpful information about deleting the data. The main issue I have now is for deleting collections, even if I delete by admin UI, this suppose not to hang

Re: Retrieve disk usage & release disk space after delete

2020-06-23 Thread Walter Underwood
We get disk usage on volumes using Telegraf. I’m planning on writing something that gathers size info (docs and bytes) by getting core info from the CLUSTERSTATUS request then using the CoreAdmin API to get the detailed info about cores. It doesn’t look hard, just complicated. Fire up Python and

Re: Retrieve disk usage & release disk space after delete

2020-06-23 Thread Erick Erickson
Q1: If you’re talking about disk space used up by deleted documents, then yes, optimize or expungeDeletes will recover it. The former will recover it all, the latter will rewrite segments with > 10% deleted documents. HOWEVER: optimize is an expensive operation, and can have deleter

Retrieve disk usage & release disk space after delete

2020-06-23 Thread ChienHuaWang
Hi Solr users, Q1: Wondering if there is any way to retrieve disk usage by host? Could we get thru metrics API or any other methods? I know the data shows in Solr Admin UI, but have other approach for this kind of data. Q2: After delete the collections, it seems not physically removed from the d