InSnowsight, the Query History user interface retains and displays executed query information for up to14 days. This includes query text, status, start/end timestamps, duration, warehouse usage, and result statistics. Snowsight also offers grouping by session, user, warehouse, and time windows for detailed analytics and troubleshooting.
It is important to distinguish Snowsight UI limits from SQL-based history functions. The table functionINFORMATION_SCHEMA.QUERY_HISTORY()returns only7 daysof history, whereas Snowsight visually retains 14 days. Snowflake’s Account Usage views (e.g., QUERY_HISTORY) retain data for longer periods but are meant for programmatic auditing rather than UI display.
Incorrect options:
7 days refers only to Information Schema.
21 or 28 days are not supported by Snowsight’s UI.
Thus, the correct visibility window in the Snowsight interface is14 days.
====================================================