GitHub user sfirke edited a comment on the discussion: How to clean up Event logging because it takes lot of storage in the EC2 instant
Over time, most of a Superset instance's database storage usage will be in the `logs` table. E.g., my instance had something like 1.9 million events in the logs table which took up about 1.3 GB. You may want this table to analyze usage of charts and dashboards; if so, back it up. If not, you can trim this data by connecting to your metadata DB (probably Postgres or MySQL) and running: ``` DELETE FROM logs WHERE dttm < '2025-05-10'; -- adjust date as needed ``` GitHub link: https://github.com/apache/superset/discussions/23110#discussioncomment-13162340 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
