# Athena Queries Clean Up

Agent Bill loads data to Quick Sight via Athena for each role. Depending on the number of refreshes that customer configure, there will be at least 6 queries each day of large datasets. Query results bucket should have a lifecycle rule that deletes bucket results every 30 days to avoid undue costs.&#x20;

<figure><img src="https://988932576-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbqCrcU65ULbgldtjmvZ%2Fuploads%2FoQe5SQ9qlrliYnmXohSe%2Fimage.png?alt=media&#x26;token=086f0ed5-bf5a-4a07-a26a-33712af26045" alt=""><figcaption></figcaption></figure>

<figure><img src="https://988932576-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbqCrcU65ULbgldtjmvZ%2Fuploads%2FkE2ddGx85lRTlZnN3p4H%2Fimage.png?alt=media&#x26;token=07a8aaf0-e60d-4993-bd86-13a86b47c2f5" alt=""><figcaption></figcaption></figure>
