[Glass] Clean possible unused indexes structures?

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Tue Aug 15 09:57:12 PDT 2017


You can get the list of all collections with nscs by executing the 
following:

   IndexManager current getAllNscRoots

Then you can send #removeAllIndexes to each of the collections that 
should not be indexed ... the process of removing all indexes will 
remove the collection from IndexManager so that the index structures and 
the collection itself can be gc'ed ...

Dale


On 08/15/2017 06:00 AM, Mariano Martinez Peck via Glass wrote:
> Hi Dale,
>
> I have read in the programming guide that one must remove indexes 
> prior to removing the collection containing them.  I am trying to 
> understand why my extent has grown way too much recently and I fear I 
> might have not deleted indexes in all cases.
>
> Is there some magic code to clean indexes structures of possibly 
> removed collections?
>
> Thanks in advance,
>
> -- 
> Mariano
> http://marianopeck.wordpress.com
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20170815/462d9da2/attachment.html>


More information about the Glass mailing list