Databricks Query History Table


      Databricks Query History Table

However, you have multiple options to access and work with query history information:

1. Databricks UI:

  • The most straightforward way is to use the built-in Query History section in the sidebar of the Databricks SQL workspace. This provides an interface to view query details, filter by various criteria, and even access execution plans for performance analysis.

2. Query History API:

  • Databricks offers a REST API (Query History API) that allows you to fetch query history data programmatically. You can build custom dashboards, integrate with external tools, or perform more advanced analysis.
  • Refer to the API documentation for details:

3. Steampipe (for Databricks SQL):

Important Considerations:

  • Retention Period: The query history in Databricks is typically retained for a limited period (e.g., 30 days). If you need to store the data for longer durations, make sure to factor this in.
  • Serverless Compute: If you use serverless compute in Databricks, the query history will also include queries run on that infrastructure.

Databricks Training Demo Day 1 Video:

You can find more information about Databricks Training in this Dtabricks Docs Link



Unogeeks is the No.1 IT Training Institute for Databricks Training. Anyone Disagree? Please drop in a comment

You can check out our other latest blogs on Databricks Training here – Databricks Blogs

Please check out our Best In Class Databricks Training Details here – Databricks Training

 Follow & Connect with us:


For Training inquiries:

Call/Whatsapp: +91 73960 33555

Mail us at:

Our Website ➜

Follow us:





Leave a Reply

Your email address will not be published. Required fields are marked *