Deleted lots of websites with API now how to clean up the DB

Hi there,

On our testing piwik instance we’ve deleted about 13000 redundant test siteids. However, I can see that the archiver is still running and trying to collate the statistics for these sites and I’d like to clean up the database now that I’ve done this.

I expected that there would be some kind of tool to do this or a FAQ but I’ve not found one yet after a quick Google search.

Can someone direct me in the right direction, please?