Open deivK opened 2 months ago
Hi @deivK this seems like something abnormal, 94GB is huge 🤯
A few questions:
data
and postgres
directories inside .steampipe/db/14.2.0
?Hi, thank you for your reply.
Thanks again
Have you tried analyzing the steampipe postgres database directory to see the main driver of the space usage?
Perhaps follow some steps in this StackOverflow article?
Will be interesting to learn what you see?
Hi all, I started steampipe as a service so that I could connect to the postgres database. I manually ran some VACUUM and the database size dropped to 700M. Maybe, because the service was not running, the autovacuum were not executed? I'm leaving the service running, even if we are running queries as batch queries, and monitoring the db size,
Interesting that autovacuum fixed it. How were you running Steampipe that it grew to that size? Keen to learn from your setup / experience...
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Hi, we are using the aws plugin to collect some data from AWS. Every day we run some batch queries for each account and store data in another postgres db we use for analysis. The issue is that the steampipe postgres, the one under .steampipe/db/14.2.0, is increasing out of control: the /.steampipe/db/14.2.0/data folder has reached 94 GB.
How can we reduce the size of this db and how can we keep it under control?
Many thanks Davide