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.
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.