Mariano Re
06/23/2025, 8:43 PM- elementary.volume_anomalies:
timestamp_column: last_updated_timestamp
time_bucket:
period: day
count: 1
seasonality: day_of_week
config:
severity: warn
and I do not want to have the metadata in S3 infinitely. What would be a good lifecycle policy for the output bucket so I can visualize the required metadata information but also be able to expire unused rows in the tables?kapa.ai
06/23/2025, 8:43 PMkapa.ai
06/23/2025, 8:44 PMMariano Re
06/24/2025, 2:48 PMkapa.ai
06/24/2025, 2:48 PMkapa.ai
06/24/2025, 2:48 PMdbt_run_results and dbt_invocations tables after just one day is not typical based on the information available in the knowledge sources. While these tables are incremental and will grow as more runs are logged, most users report much smaller sizes, even after extended use. For example, one user with 806,350 rows in elementary_test_results was told this "doesn't sound a lot" and that the tables "shouldn't be that big," indicating that your observed size is unusually large and may point to an issue such as excessive logging, misconfiguration, or an unexpected volume of runs or tests being recorded [Community discussion on table size](https://slack.com/archives/C02CTC89LAX/p1674656787251049). If you are seeing such rapid growth, it is recommended to: - Check how many rows are in each table. - Review your dbt and Elementary configurations for anything that might be causing excessive data generation. - Consider whether you are running with a very high frequency or logging more detail than necessary. If this growth is unexpected, you may want to investigate further or reach out to Elementary support for help diagnosing the cause. The knowledge sources do not mention any scenario where 2 TB per table per day would be expected or normal.Mariano Re
06/24/2025, 2:58 PMSELECT count(*) FROM "elementary"."dbt_run_results" returns 5626 rows but in S3 I have 2.5 TB and 133286 objects.kapa.ai
06/24/2025, 2:58 PMkapa.ai
06/24/2025, 2:58 PMdbt_run_results table but 2.5 TB and 133,286 objects in S3 is not normal or expected. There is no documentation or community report indicating that Elementary should generate such a large volume of S3 objects or data for this number of rows. A similar user case mentioned noticing hundreds of files for just a few megabytes of data in the dbt_run_results table and questioned if that was normal. The response from Elementary support was that this behavior was "pretty weird" and not something they had encountered before, and they suggested checking the number of rows in the table as a diagnostic step [Unexpected file count in dbt_run_results](https://slack.com/archives/C02CTC89LAX/p1693529286448229). Given your numbers, this suggests a possible misconfiguration, an issue with how data is being written to S3, or an underlying problem with the storage format or integration. This is not standard behavior for Elementary, and you should investigate further or reach out to Elementary support for assistance. Summary: - 5,626 rows should not result in 2.5 TB and 133,286 S3 objects. - This is not normal or expected based on available knowledge. - Further investigation is needed to identify the root cause.