Hi @xavier-d,
Thanks for your response!
I have connected the PostgresSQL and I manually checked how events are recorded in the events table. Below are my observations:
When you write any query and click on the “execute” button specifically, data is recorded in the events table under ‘execute’ action and another row is added under ‘execute query’ as data source is refreshed.
When you manually refresh a query, data source is refreshed so a row is added in the events table under ‘execute query’ action.
I could not find any entry for auto refresh or even how to separate ‘execute’ from manual refresh. Please let me know if your observations are different or you have found a pattern for recording refreshes.
I think we’ve discussed a few times in the past on the forum that the events table isn’t really meant to make these distinctions. We would absolutely review and merge a PR implementing a more robust separation between different kinds of executions.
With that out of the way:
Yep this is normal. The events table records actions which occur as a result of user interaction. Scheduled query executions are kicked-off by Redash itself and don’t appear here. They aren’t preserved anywhere.