# Which Snowflake history should I use to investigate an account activity event?

Exam: COF-C03 — SnowPro Core Certification Exam
Knowledge domain: Account Management and Data Governance
Updated: 2026-11-25T08:00:21.541774+00:00
HTML: https://learningpathx.com/faq/COF-C03/cofc03-snowflake-account-activity-evidence.html

## Also asked as

- How do I tell who signed in, ran a statement, or accessed a Snowflake object?
- Which history shows Snowflake logins, data access, task runs, or data loads?

Choose the history that records the event you need to explain. Use `LOGIN_HISTORY` for authentication attempts, `QUERY_HISTORY` for statement, user, and role information, and `ACCESS_HISTORY` for supported object access and lineage. Account Usage `ACCESS_HISTORY` requires Enterprise Edition or higher and appropriate access to the shared database views. Each history has its own latency, retention, and visibility.

For an investigation, start with the account, actor or object, and bounded time range. Capture a query ID when available. It can connect a statement to corresponding access records. Use grant and policy metadata for permission changes, and inspect `TASK_HISTORY` or load and pipe histories for the execution status of a specific scheduled or ingestion workflow. Query tags can help identify an application when the workload supplies them.

Normalize timestamps before correlating sources. If evidence is missing, check edition, coverage of the operation, time window, ingestion delay, and the monitoring role’s visibility before drawing a conclusion. Grant investigators only the relevant views.

[QUERY\_HISTORY](https://docs.snowflake.com/en/sql-reference/account-usage/query_history) · [ACCESS\_HISTORY](https://docs.snowflake.com/en/sql-reference/account-usage/access_history) · [LOGIN\_HISTORY](https://docs.snowflake.com/en/sql-reference/account-usage/login_history) · [TASK\_HISTORY](https://docs.snowflake.com/en/sql-reference/account-usage/task_history) · [COPY\_HISTORY](https://docs.snowflake.com/en/sql-reference/account-usage/copy_history) · [Account Usage view roles and latency](https://docs.snowflake.com/en/sql-reference/account-usage)

Source: [Monitoring Queries, Warehouses, Storage, and Account Activity](https://learningpathx.com/news/monitoring-queries-warehouses-storage-and-account-activity.html)
