<?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: QUESTION::LAKEHOUSE::SQL ENDPOINT::SYSTEM VIEWS in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4162929#M4177</link>
    <description>&lt;P&gt;OK so what is the best way to find the total size in GB of one or more tables if we cannot query system views?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2024 15:54:03 GMT</pubDate>
    <dc:creator>Element115</dc:creator>
    <dc:date>2024-09-20T15:54:03Z</dc:date>
    <item>
      <title>QUESTION::LAKEHOUSE::SQL ENDPOINT::SYSTEM VIEWS</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4140693#M3969</link>
      <description>&lt;P&gt;Using a Fabric Trial license.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why does Microsoft expose a bunch of views in schemas INFORMATION_SCHEMA and sys when these views cannot be queried?&amp;nbsp; What's the point?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-09-09 090228.jpg" style="width: 383px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1164490i16AD6DF0B1B22044/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-09-09 090228.jpg" alt="Screenshot 2024-09-09 090228.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every single time I try a JOIN on some user object_id to find out how much space one of my tables is using, I get an error message like this one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT * 
FROM sys.resource_usage;

==&amp;gt;  'resource_usage' is not supported.

&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either expose the views if the user can SELECT query them, or don't expose them if the user can't.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 13:11:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4140693#M3969</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-09-09T13:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION::LAKEHOUSE::SQL ENDPOINT::SYSTEM VIEWS</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4141583#M3985</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/268213"&gt;@Element115&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can reproduce your error.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhuijieymsft_0-1725931712283.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1164733iF2B9AA253620898A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vhuijieymsft_0-1725931712283.png" alt="vhuijieymsft_0-1725931712283.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some views in sys work fine.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhuijieymsft_1-1725931712292.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1164734i32D5AA868F364B2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vhuijieymsft_1-1725931712292.png" alt="vhuijieymsft_1-1725931712292.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These views are typically part of the system catalog and are intended to provide metadata about database objects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the case of a Trial license in Fabric, some views and features may be limited or not fully supported. There may be several reasons for this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Trial version may not include all of the functionality found in the full version, which may limit access to certain system views.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Although views are publicly available, query privileges may be restricted to ensure security and data integrity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any other questions please feel free to contact me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 01:29:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4141583#M3985</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-10T01:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION::LAKEHOUSE::SQL ENDPOINT::SYSTEM VIEWS</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4143060#M4003</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1__Are ALL the systeme views, including those in INFORMATION_SCHEMA, available for query if you have a paying SKU?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2__If my user has admin priv, will there still be some restriction?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 14:54:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4143060#M4003</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-09-10T14:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION::LAKEHOUSE::SQL ENDPOINT::SYSTEM VIEWS</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4161515#M4168</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/268213"&gt;@Element115&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some views are used internally for system operations and development purposes, and they might not be exposed for direct querying regardless of your license type or administrative privileges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just because a view is listed doesn’t mean it’s queryable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some views are for internal system use and not meant for direct access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While a paid SKU and admin privileges generally provide broader access, they don’t guarantee visibility of all system views.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 06:22:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4161515#M4168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-20T06:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION::LAKEHOUSE::SQL ENDPOINT::SYSTEM VIEWS</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4162929#M4177</link>
      <description>&lt;P&gt;OK so what is the best way to find the total size in GB of one or more tables if we cannot query system views?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 15:54:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4162929#M4177</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-09-20T15:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: QUESTION::LAKEHOUSE::SQL ENDPOINT::SYSTEM VIEWS</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4166748#M4213</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/268213"&gt;@Element115&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run the following two commands in Notebook to calculate the table size in lakehouse.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first command contains the table size in byte, my table is smaller, replace the products table with your own when using it.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;%%sql
DESCRIBE DETAIL delta.`Tables/products`&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The second command converts byte to GB, replacing 3213 with your own after running the first command.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;size_in_bytes = 3213

# byte swtich GB
size_in_gb = size_in_bytes / (1024 ** 3)
print(f “Table ‘products’ size: {size_in_gb:.8f} GB”)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhuijieymsft_0-1727082001141.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1171639i47CC6FF4C1ACEF71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vhuijieymsft_0-1727082001141.png" alt="vhuijieymsft_0-1727082001141.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 09:01:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/QUESTION-LAKEHOUSE-SQL-ENDPOINT-SYSTEM-VIEWS/m-p/4166748#M4213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-23T09:01:07Z</dc:date>
    </item>
  </channel>
</rss>

