<?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 DB Connect - Query timed out Issue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-Query-timed-out-Issue/m-p/511728#M86883</link>
    <description>&lt;P&gt;Im setting up a new DB connect. While creating inputs i could execute the SQL query and get results in Batch Mode. Where as when i execute the same query in Rising Column mode (which adds Order by clause to the query) takes more time and i get query time out message.&lt;/P&gt;&lt;P&gt;I suspect this is because&amp;nbsp; the initial query pulls entire records which is around 13 Million records&lt;/P&gt;&lt;P&gt;Please suggest if there is any alternate method?&lt;/P&gt;&lt;P&gt;Query im using :&lt;/P&gt;&lt;P&gt;Select * from table_name where column_name1&amp;nbsp; LIKE %abc% AND&amp;nbsp;column_name2 &amp;gt; ? ORDER BY&amp;nbsp;column_name2 ASC&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 10:29:45 GMT</pubDate>
    <dc:creator>spl_unker</dc:creator>
    <dc:date>2020-07-30T10:29:45Z</dc:date>
    <item>
      <title>DB Connect - Query timed out Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-Query-timed-out-Issue/m-p/511728#M86883</link>
      <description>&lt;P&gt;Im setting up a new DB connect. While creating inputs i could execute the SQL query and get results in Batch Mode. Where as when i execute the same query in Rising Column mode (which adds Order by clause to the query) takes more time and i get query time out message.&lt;/P&gt;&lt;P&gt;I suspect this is because&amp;nbsp; the initial query pulls entire records which is around 13 Million records&lt;/P&gt;&lt;P&gt;Please suggest if there is any alternate method?&lt;/P&gt;&lt;P&gt;Query im using :&lt;/P&gt;&lt;P&gt;Select * from table_name where column_name1&amp;nbsp; LIKE %abc% AND&amp;nbsp;column_name2 &amp;gt; ? ORDER BY&amp;nbsp;column_name2 ASC&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 10:29:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-Query-timed-out-Issue/m-p/511728#M86883</guid>
      <dc:creator>spl_unker</dc:creator>
      <dc:date>2020-07-30T10:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect - Query timed out Issue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-Query-timed-out-Issue/m-p/511861#M86891</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;have the column_name2 index in dB? If not then I propose that it will be added. Otherwise the only option is increase timeout parameter for this input query.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 20:48:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-Query-timed-out-Issue/m-p/511861#M86891</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-07-30T20:48:00Z</dc:date>
    </item>
  </channel>
</rss>

