Why materialized views are created in __databricks_internal ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 02:40 AM - edited 03-21-2024 02:40 AM
Hello, I have a question about why materialized views are created in "__databricks_internal" catalog?
We specified catalog and schemas in the DLT Pipeline.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 07:09 AM
Hello @AxelBrsn
Materialized views created by Delta Live Tables (DLT) pipelines are stored in the __databricks_internal catalog for several reasons:
- Isolation: The __databricks_internal catalog is used to store system-generated tables, such as materializations, to prevent polluting the user-specified target catalog. Your specific catalog will only contains user-defined tables and views.
- Ownership and Access Control: The materialization schema within the __databricks_internal catalog is owned by the system rather than the pipeline owner. This way it is easier to manage and the pipeline owner doesn't have to manage access controls to the underlying tables.
- Governance: By storing materializations in a dedicated internal catalog, Databricks ensures that data governance and security policies are consistently applied.

