<?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: Timeout settings for Postgresql external catalog connection? in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/timeout-settings-for-postgresql-external-catalog-connection/m-p/110672#M3027</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/23951"&gt;@ErikApption&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;there is no direct support for a &lt;CODE&gt;connectTimeout&lt;/CODE&gt; option in the connection settings through Unity Catalog as of now. You might need to explore these alternative timeout configurations or consider adjusting your database handling to manage complex queries more efficiently.&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;You can set the &lt;CODE&gt;statement_timeout&lt;/CODE&gt; parameter for your queries. This can be done in PostgreSQL by setting it through SQL commands:&lt;/P&gt;
&lt;DIV class="gb5fhw2"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-sql _1t7bu9hb hljs language-sql gb5fhw3"&gt;&lt;SPAN class="hljs-keyword"&gt;SET&lt;/SPAN&gt; statement_timeout &lt;SPAN class="hljs-keyword"&gt;TO&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;'5min'&lt;/SPAN&gt;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 19 Feb 2025 22:15:33 GMT</pubDate>
    <dc:creator>Alberto_Umana</dc:creator>
    <dc:date>2025-02-19T22:15:33Z</dc:date>
    <item>
      <title>Timeout settings for Postgresql external catalog connection?</title>
      <link>https://community.databricks.com/t5/administration-architecture/timeout-settings-for-postgresql-external-catalog-connection/m-p/110670#M3026</link>
      <description>&lt;P&gt;Is there any way to configure timeouts for external catalog connections? We are getting some timeouts with complex queries accessing a pgsql database through the catalog. We tried configuring the connection and we got this error&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; │ Error: cannot update connection: CONNECTION/CONNECTION_POSTGRESQL does not support the following option(s): connectTimeout. Supported options: host,port,user,password.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 21:31:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/timeout-settings-for-postgresql-external-catalog-connection/m-p/110670#M3026</guid>
      <dc:creator>ErikApption</dc:creator>
      <dc:date>2025-02-19T21:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout settings for Postgresql external catalog connection?</title>
      <link>https://community.databricks.com/t5/administration-architecture/timeout-settings-for-postgresql-external-catalog-connection/m-p/110672#M3027</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/23951"&gt;@ErikApption&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;there is no direct support for a &lt;CODE&gt;connectTimeout&lt;/CODE&gt; option in the connection settings through Unity Catalog as of now. You might need to explore these alternative timeout configurations or consider adjusting your database handling to manage complex queries more efficiently.&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;You can set the &lt;CODE&gt;statement_timeout&lt;/CODE&gt; parameter for your queries. This can be done in PostgreSQL by setting it through SQL commands:&lt;/P&gt;
&lt;DIV class="gb5fhw2"&gt;
&lt;PRE&gt;&lt;CODE class="markdown-code-sql _1t7bu9hb hljs language-sql gb5fhw3"&gt;&lt;SPAN class="hljs-keyword"&gt;SET&lt;/SPAN&gt; statement_timeout &lt;SPAN class="hljs-keyword"&gt;TO&lt;/SPAN&gt; &lt;SPAN class="hljs-string"&gt;'5min'&lt;/SPAN&gt;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Feb 2025 22:15:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/timeout-settings-for-postgresql-external-catalog-connection/m-p/110672#M3027</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2025-02-19T22:15:33Z</dc:date>
    </item>
  </channel>
</rss>

