Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

How to purge old analysis (DB size increase quickly) #1386

Open
dja-fr opened this issue Jul 22, 2022 · 1 comment
Open

How to purge old analysis (DB size increase quickly) #1386

dja-fr opened this issue Jul 22, 2022 · 1 comment

Comments

@dja-fr
Copy link

dja-fr commented Jul 22, 2022

Is this a request for help?: yes

Hello,

We are running an anchore instance used by our team for docker scan in their CICD pipeline.

We notice that the size of postgres database increase quickly.

Is there a way to purge old scan to recover space in DB ? (manually or cronjob)

thank

@brennoo
Copy link

brennoo commented Aug 2, 2022

Hi @dja-fr,
You can use Anchore analysis-archives rules to control the number of images into the working set

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants