[Geoserver-users] Most efficient way to remove thousands of layers

As part of my experiments, I now have to clear up the monstrous
workspace with 60000+ layers I mentioned in another thread.

Trying to delete it from the web interface kept me waiting for hours,
and then timed out. I expect I will have to write a script to loop
over each and every coverage, delete them all, then delete each and
every layer, and block the server for at least two or three days.

Am I missing a more efficient way to do that? That workspace is the
only one on that Geoserver instance.

Max

You should be able to delete the files from the data_dir and get geoserver to reload the config.
________________________________________
From: Max [basiliosz@anonymised.com]
Sent: 21 March 2016 09:06
To: geoserver-users
Subject: [Geoserver-users] Most efficient way to remove thousands of layers

As part of my experiments, I now have to clear up the monstrous
workspace with 60000+ layers I mentioned in another thread.

Trying to delete it from the web interface kept me waiting for hours,
and then timed out. I expect I will have to write a script to loop
over each and every coverage, delete them all, then delete each and
every layer, and block the server for at least two or three days.

Am I missing a more efficient way to do that? That workspace is the
only one on that Geoserver instance.

Max

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users