<?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: Intermittent SQL Failure on Databricks SQL Warehouse in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/intermittent-sql-failure-on-databricks-sql-warehouse/m-p/94626#M1640</link>
    <description>&lt;P&gt;We have a similar problem: our self service BI tool Looker is using SQL warehouse and queries that usually run in a few seconds randomly fail with this message (logged in Looker history explore) "Java::JavaSql::SQLException: [Databricks][JDBCDriver](500580) Operation is canceled.".&lt;BR /&gt;&lt;BR /&gt;We're talking about &amp;lt;1% of queries, but it's still something that we would like to avoid.&lt;/P&gt;&lt;P&gt;My suspicion is also that it is related to concurrency settings of the SQL warehouse.&lt;/P&gt;&lt;P&gt;I couldn't find anything in the docs or in threads about configuring concurrency settings for SQL warehouses.&lt;/P&gt;&lt;P&gt;Can you please help?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2024 16:59:24 GMT</pubDate>
    <dc:creator>198270</dc:creator>
    <dc:date>2024-10-17T16:59:24Z</dc:date>
    <item>
      <title>Intermittent SQL Failure on Databricks SQL Warehouse</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/intermittent-sql-failure-on-databricks-sql-warehouse/m-p/66293#M1276</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;I did setup a SQL Warehouse Cluster to support request from Mobile devices through REST API. I read through the documentation of concurrent query limit which is 10. But in my scenario I had 5 small clusters and the query monitoring indicated there is not peak load or query being queued. But however the front end initiate 2 queries at the same time to 2 different tables(Select query). No complex joins or transformation in the select statement.&amp;nbsp; These 2 queries gets executed most the of the time in less than a second. But there are scenarios where only one query completes in average of 10-11 seconds and the second query stays in the "Executing" phase and gets time out after 120 seconds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same query gets completed next time if the request comes in. So it is not about the query or data. I am not able to track out why the query fails as the query monitor is also not having much information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to understand:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Does databricks SQL Support concurrent read request ? if yes, what is definition of concurrency?&lt;/P&gt;&lt;P&gt;10 read request hitting at the same second/millisecond or max 10 request is processed by the cluster.&lt;/P&gt;&lt;P&gt;2. Does Databricks SQL has logging to trace back the request from the time it hit the SQL Warehouse to completion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 17:12:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/intermittent-sql-failure-on-databricks-sql-warehouse/m-p/66293#M1276</guid>
      <dc:creator>Ramakrishnan83</dc:creator>
      <dc:date>2024-04-15T17:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Intermittent SQL Failure on Databricks SQL Warehouse</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/intermittent-sql-failure-on-databricks-sql-warehouse/m-p/94626#M1640</link>
      <description>&lt;P&gt;We have a similar problem: our self service BI tool Looker is using SQL warehouse and queries that usually run in a few seconds randomly fail with this message (logged in Looker history explore) "Java::JavaSql::SQLException: [Databricks][JDBCDriver](500580) Operation is canceled.".&lt;BR /&gt;&lt;BR /&gt;We're talking about &amp;lt;1% of queries, but it's still something that we would like to avoid.&lt;/P&gt;&lt;P&gt;My suspicion is also that it is related to concurrency settings of the SQL warehouse.&lt;/P&gt;&lt;P&gt;I couldn't find anything in the docs or in threads about configuring concurrency settings for SQL warehouses.&lt;/P&gt;&lt;P&gt;Can you please help?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 16:59:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/intermittent-sql-failure-on-databricks-sql-warehouse/m-p/94626#M1640</guid>
      <dc:creator>198270</dc:creator>
      <dc:date>2024-10-17T16:59:24Z</dc:date>
    </item>
  </channel>
</rss>

