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