<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unity Catalog Metric Views to be accessible to Custom Apps outside of DBX environment in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165532#M5515</link>
    <description>&lt;P&gt;Is this in the future roadmap for Databricks team to consider?&lt;BR /&gt;This is annoying to build. It would be good to have it from DBX itself to have an option to expose them.&lt;/P&gt;&lt;P&gt;I was reviewing AtScale and Cube or even Denodo who support as part of their platform. I know I am comparing with other products here, but it would be good if DBX team considers it.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Aug 2026 16:19:56 GMT</pubDate>
    <dc:creator>vkondepati</dc:creator>
    <dc:date>2026-08-12T16:19:56Z</dc:date>
    <item>
      <title>Unity Catalog Metric Views to be accessible to Custom Apps outside of DBX environment</title>
      <link>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165520#M5511</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P class=""&gt;We have a requirement to expose &lt;STRONG&gt;Databricks Unity Catalog Metric Views&lt;/STRONG&gt; to custom applications running outside the Databricks environment.&lt;/P&gt;&lt;P&gt;The application team would like to consume governed KPIs and metrics through APIs such as &lt;STRONG&gt;REST or GraphQL&lt;/STRONG&gt;, rather than accessing them directly through Databricks applications or SQL interfaces.&lt;/P&gt;&lt;P&gt;I’d like to understand the recommended Databricks architecture for this use case:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Does Databricks provide an &lt;STRONG&gt;out-of-the-box REST or GraphQL API&lt;/STRONG&gt; for querying Unity Catalog Metric Views from external applications?&lt;/LI&gt;&lt;LI&gt;If not, is the recommended approach to build a &lt;STRONG&gt;custom API/service layer&lt;/STRONG&gt; that queries the Metric Views through Databricks SQL?&lt;/LI&gt;&lt;LI&gt;For applications requiring &lt;STRONG&gt;high concurrency and millisecond-level response times&lt;/STRONG&gt;, would it make sense to materialize or synchronize the calculated metric data into &lt;STRONG&gt;Lakebase&lt;/STRONG&gt; and expose it through an application/API layer?&lt;/LI&gt;&lt;LI&gt;Would this introduce duplication between the governed Metric Views in Unity Catalog and the serving layer in Lakebase? If so, what is the recommended approach for keeping the metric definitions and serving data consistent?&lt;/LI&gt;&lt;LI&gt;From an architecture perspective, which pattern would Databricks recommend:&lt;BR /&gt;&lt;STRONG&gt;Custom App → API → Databricks SQL → UC Metric Views&lt;/STRONG&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;STRONG&gt;Custom App → API → Lakebase ← Metric Views / Databricks pipelines&lt;/STRONG&gt;?&lt;/LI&gt;&lt;LI&gt;Are there other Databricks-native capabilities better suited for providing &lt;STRONG&gt;low-latency, highly concurrent access to governed metrics&lt;/STRONG&gt; for external applications?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The main objective is to maintain &lt;STRONG&gt;Unity Catalog Metric Views as the governed semantic/metrics layer&lt;/STRONG&gt;, while providing external applications with a scalable, low-latency API-based consumption model.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Venkat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 15:12:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165520#M5511</guid>
      <dc:creator>vkondepati</dc:creator>
      <dc:date>2026-08-12T15:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unity Catalog Metric Views to be accessible to Custom Apps outside of DBX environment</title>
      <link>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165524#M5512</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/187220"&gt;@vkondepati&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;,&lt;/P&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;1. Out-of-the-box REST/GraphQL for metric views?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&lt;SPAN&gt;Databricks does not appear to provide a Metric View-specific REST or GraphQL query API. Metric Views are queried through the Databricks SQL engine using SQL, including the MEASURE()&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;function for measures.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;However, external applications do not necessarily need a custom database connector. Databricks provides the &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;SQL Statement Execution REST API&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, which can execute SQL against a SQL warehouse and return the result. Therefore, an external API/service can query Metric Views through this API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So the basic pattern would be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Custom Application → Application/API layer → Databricks Statement Execution API → SQL Warehouse → UC Metric View&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;2. Custom API/service layer?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&lt;SPAN&gt;For workloads where interactive analytical latency is acceptable, I would keep the Metric View as the authoritative semantic layer and query it directly through Databricks SQL.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Metric Views now also support &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;native materialization&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;. Check docs.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.databricks.com/aws/en/uc-semantics/metric-views/materialization" rel="noopener" target="_blank"&gt;Materialization for metric views | Databricks on AWS&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;3. Latency/Concurrency&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN&gt;Lakehouse//RT is currently Beta and is specifically positioned for low-latency, high-concurrency analytical workloads, including serving analytical data to custom applications. Databricks documents sub-second SQL reads for hundreds to thousands of concurrent users, and &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Metric Views are explicitly supported&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;If you need such high QPS then it's worth a try.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;4. Lakebase&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&lt;SPAN&gt;Lakebase is better aligned with &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;operational application-serving patterns&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;: millisecond-style key lookups, transactional workloads, large numbers of application connections, or situations where application data and analytical data need to be queried together.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Databricks provides &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;synced tables&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, which replicate Unity Catalog tables, views, and materialized views into Lakebase Postgres specifically for low-latency application access. The synchronization is managed through Lakeflow pipelines.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In addition, Lakebase now provides a &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Data API&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, a PostgREST-compatible REST interface that automatically generates REST endpoints from the Postgres schema. This can potentially remove the need to build a simple CRUD/read API service at all.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Aug 2026 15:39:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165524#M5512</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2026-08-12T15:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unity Catalog Metric Views to be accessible to Custom Apps outside of DBX environment</title>
      <link>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165530#M5513</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your response and comments.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So the basic pattern would be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Custom Application → Application/API layer → Databricks Statement Execution API → SQL Warehouse → UC Metric View&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We still need to develop the API layer and use&amp;nbsp;Databricks Statement Execution API to get access to the data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just want to confirm.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Venkat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 16:00:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165530#M5513</guid>
      <dc:creator>vkondepati</dc:creator>
      <dc:date>2026-08-12T16:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unity Catalog Metric Views to be accessible to Custom Apps outside of DBX environment</title>
      <link>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165531#M5514</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/187220"&gt;@vkondepati&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes, you get it right. If you need to improve performance then you can try to use materialized metrics views&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 16:05:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165531#M5514</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2026-08-12T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unity Catalog Metric Views to be accessible to Custom Apps outside of DBX environment</title>
      <link>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165532#M5515</link>
      <description>&lt;P&gt;Is this in the future roadmap for Databricks team to consider?&lt;BR /&gt;This is annoying to build. It would be good to have it from DBX itself to have an option to expose them.&lt;/P&gt;&lt;P&gt;I was reviewing AtScale and Cube or even Denodo who support as part of their platform. I know I am comparing with other products here, but it would be good if DBX team considers it.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 16:19:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unity-catalog-metric-views-to-be-accessible-to-custom-apps/m-p/165532#M5515</guid>
      <dc:creator>vkondepati</dc:creator>
      <dc:date>2026-08-12T16:19:56Z</dc:date>
    </item>
  </channel>
</rss>

