<?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: Lakebase error logs in Lakebase Discussions</title>
    <link>https://community.databricks.com/t5/lakebase-discussions/lakebase-error-logs/m-p/149928#M53</link>
    <description>&lt;P&gt;Thanks for the detailed response. We resolved the error. Turns out the Tableau connection was pointing to the wrong schema and in the Lakebase database someone had created the same table in 2 different schemas so this was not clear at first.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2026 18:07:15 GMT</pubDate>
    <dc:creator>pdiamond</dc:creator>
    <dc:date>2026-03-05T18:07:15Z</dc:date>
    <item>
      <title>Lakebase error logs</title>
      <link>https://community.databricks.com/t5/lakebase-discussions/lakebase-error-logs/m-p/141773#M50</link>
      <description>&lt;P&gt;Anyone know where to see any logs related to Lakebase/Postgres? I have a Tableau Prep flow that is failing but the error is not clear and I'm trying to find out what the database is capturing.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 16:51:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/lakebase-discussions/lakebase-error-logs/m-p/141773#M50</guid>
      <dc:creator>pdiamond</dc:creator>
      <dc:date>2025-12-12T16:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Lakebase error logs</title>
      <link>https://community.databricks.com/t5/lakebase-discussions/lakebase-error-logs/m-p/141803#M51</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/132493"&gt;@pdiamond&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You can try to use Lakebase monitoring tools to capture query generated by Tableau Prep.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/oltp/projects/monitor#lakebase-monitoring-tools" target="_blank"&gt;Monitor | Databricks on AWS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1765645944440.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/22268i4718176CE874218B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1765645944440.png" alt="szymon_dybczak_0-1765645944440.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Alternatively, it seems that you can also use external monitoring tools. So you can connect to your lakebase instance using pgAdmin which allows you to v&lt;SPAN&gt;iew performance metrics, analyze queries, and manage database operations through a web interface.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/oltp/projects/monitor#external-monitoring-tools" target="_blank"&gt;Monitor | Databricks on AWS&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Dec 2025 17:14:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/lakebase-discussions/lakebase-error-logs/m-p/141803#M51</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-12-13T17:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Lakebase error logs</title>
      <link>https://community.databricks.com/t5/lakebase-discussions/lakebase-error-logs/m-p/149924#M52</link>
      <description>&lt;P&gt;There are multiple ways of monitoring Lakebase errors and warnings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will let you see what Tableau is actually sending and how it behaves (e.g., repeated failing INSERT).&lt;/P&gt;
&lt;HR /&gt;
&lt;H3&gt;3. Control‑plane / audit logs for Lakebase&lt;/H3&gt;
&lt;P&gt;Databricks &lt;STRONG&gt;audit logs&lt;/STRONG&gt; include a &lt;CODE&gt;databaseInstances&lt;/CODE&gt; service for Lakebase (create/delete/modify DB instances, not per‑row SQL errors).&lt;/P&gt;
&lt;P&gt;If you’re using the &lt;STRONG&gt;audit log system table&lt;/STRONG&gt;, you can run:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-sql"&gt;SELECT *
FROM system.access.audit
WHERE service_name = 'databaseInstances'
  AND event_time &amp;gt;= '&amp;lt;approx time&amp;gt;'
  AND event_time &amp;lt;  '&amp;lt;approx time + interval&amp;gt;';
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That can help answer “did something happen to this instance?” but won’t show the Tableau Prep SQL error itself.&lt;/P&gt;
&lt;HR /&gt;
&lt;H3&gt;4. Next steps for what to try&lt;/H3&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Capture the exact SQL&lt;/STRONG&gt; Tableau Prep is sending (from Prep logs or by turning on verbose logging there).&lt;/LI&gt;
&lt;LI&gt;Run that same SQL directly against Lakebase from DBSQL / psql and check the full Postgres error (often clearer than the Tableau UI).&lt;/LI&gt;
&lt;LI&gt;In parallel, check:
&lt;UL&gt;
&lt;LI&gt;Lakebase &lt;STRONG&gt;Monitor&lt;/STRONG&gt; (if Autoscaling) for failed queries around that time.&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;pg_stat_activity&lt;/CODE&gt; / &lt;CODE&gt;pg_stat_statements&lt;/CODE&gt; to confirm the query text and behavior.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 05 Mar 2026 17:40:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/lakebase-discussions/lakebase-error-logs/m-p/149924#M52</guid>
      <dc:creator>Lu_Wang_ENB_DBX</dc:creator>
      <dc:date>2026-03-05T17:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Lakebase error logs</title>
      <link>https://community.databricks.com/t5/lakebase-discussions/lakebase-error-logs/m-p/149928#M53</link>
      <description>&lt;P&gt;Thanks for the detailed response. We resolved the error. Turns out the Tableau connection was pointing to the wrong schema and in the Lakebase database someone had created the same table in 2 different schemas so this was not clear at first.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2026 18:07:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/lakebase-discussions/lakebase-error-logs/m-p/149928#M53</guid>
      <dc:creator>pdiamond</dc:creator>
      <dc:date>2026-03-05T18:07:15Z</dc:date>
    </item>
  </channel>
</rss>

