cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Knowledge Sharing Hub
Dive into a collaborative space where members like YOU can exchange knowledge, tips, and best practices. Join the conversation today and unlock a wealth of collective wisdom to enhance your experience and drive success.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to enable unity catalog system tables?

DouglasMoore
New Contributor III
New Contributor III

Unity Catalog system tables provide lots of metadata & log data related to the operations of Databricks. System tables are organized into separate schemas containing one to a few tables owned and updated by Databricks. The storage and the cost of the system tables are on Databricks while the customer pays for the compute the query the system tables. To enable the system schemas, you have to be a Databricks Account Admin. A quick run down of enabling the system tables via command line. This article assumes you have setup the databricks command line interface (cli).

First, obtain the METASTORE_ID with the command:

databricks metastores current --profile <DATABRICKS_CONFIG_PROFILE>

To list the available schemas:

databricks system-schemas list <METASTORE_ID> --profile <DATABRICKS_CONFIG_PROFILE>

Enable the `query` schema, containing query history, via command line:

databricks system-schemas enable <METASTORE_ID> query --profile <DATABRICKS_CONFIG_PROFILE>

 

1 REPLY 1

NandiniN
Honored Contributor
Honored Contributor

Hi @DouglasMoore ,

Thank you for sharing this. Until now I used to check the information schema.

I am not able to find these details in any official doc. Do you have a reference? 

 

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!