After deleting segment is there a way to delete associated data too?

Hello, I noticed that after deleting a segment, there are still its data in the archives. Is there a way to get rid of it?

And not so fast with deleting the archive tables :slight_smile: There are also data imported from Google Analytics for which I don’t have the log entries, so they are only in the archives (same as deleting log after archiving I guess)

I couldn’t find a UI/API way and the segment hash seems to be extremely cumbersome to use.

So far I was thinking more about: Traversing the archive tables and for almost identical lines (same name + idsite + date1 + date2 + period) but from different segment (different idarchive + value), keep the one with:

  • the bigger value?
  • or perhaps the lower idarchive?

If there is a more straightforward way I am eager to know it, thank you in advance :slight_smile: