<?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 doesn't return a response for a very long time without errors in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/DB-doesn-t-return-a-response-for-a-very-long-time-without-errors/m-p/859566#M26002</link>
    <description>&lt;P&gt;Hello everyone&lt;BR /&gt;I often encounter a problem and I think it is not unique. The problem sometimes happens on a prod environment. The usual select * from the database freezes on routine tasks. DBA say that there are no problems on their part. This usually happens with several campaigns on the schedule at the same time.&lt;/P&gt;
&lt;P&gt;How to set, for example, read timeout or something else so that such requests fall with an error, and not remain dead?&lt;/P&gt;
&lt;P&gt;Or does anyone have any idea why this happens at all?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DB - SQLServer via SAS ACCESS to SQLServer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually this request takes 1-3 minutes and the data did not differ from those previously:&lt;/P&gt;
&lt;P&gt;MPRINT(EXEC_MACRO.MAEXP.MAUSREXP.MINJECTION.MCOMMUNICATION.MCHECKATTRTYPES.MGETVARTYPESQL):&lt;BR /&gt;MPRINT(EXEC_MACRO.MAEXP.MAUSREXP.MINJECTION.MCOMMUNICATION.MCHECKATTRTYPES):&lt;BR /&gt;SQLSRV: Called SQLTables with schema of cdm&lt;BR /&gt;NOTE: 2 table(s) not displayed/returned because the name is too long.&lt;BR /&gt;SQLSRV: AUTOCOMMIT is NO for connection 5&lt;BR /&gt;SQLSRV: AUTOCOMMIT turned ON for connection id 5с&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SQLSRV_14: Prepared: on connection 5&lt;BR /&gt;SELECT * FROM "cdm"."MA CONTACT HISTORY"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: No rows were selected.&lt;BR /&gt;MPRINT (EXEC_MACRO.MAEXP .MAUSREXP .MINJECTION.MCOMMUNICATION.MCHECKATTRTYPES) :&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;real time 2:08:24.06&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user cpu time 0.13 seconds&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;system cpu time 0.05 seconds&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;memory 5593.12k&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OS Memory 39616.00k&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Timestamp 17.02.2023 09:21:40&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Step Count 435 Switch Count 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Page Faults 0&lt;/P&gt;</description>
    <pubDate>Sat, 18 Feb 2023 21:00:21 GMT</pubDate>
    <dc:creator>John_Wick</dc:creator>
    <dc:date>2023-02-18T21:00:21Z</dc:date>
    <item>
      <title>DB doesn't return a response for a very long time without errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB-doesn-t-return-a-response-for-a-very-long-time-without-errors/m-p/859566#M26002</link>
      <description>&lt;P&gt;Hello everyone&lt;BR /&gt;I often encounter a problem and I think it is not unique. The problem sometimes happens on a prod environment. The usual select * from the database freezes on routine tasks. DBA say that there are no problems on their part. This usually happens with several campaigns on the schedule at the same time.&lt;/P&gt;
&lt;P&gt;How to set, for example, read timeout or something else so that such requests fall with an error, and not remain dead?&lt;/P&gt;
&lt;P&gt;Or does anyone have any idea why this happens at all?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DB - SQLServer via SAS ACCESS to SQLServer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Usually this request takes 1-3 minutes and the data did not differ from those previously:&lt;/P&gt;
&lt;P&gt;MPRINT(EXEC_MACRO.MAEXP.MAUSREXP.MINJECTION.MCOMMUNICATION.MCHECKATTRTYPES.MGETVARTYPESQL):&lt;BR /&gt;MPRINT(EXEC_MACRO.MAEXP.MAUSREXP.MINJECTION.MCOMMUNICATION.MCHECKATTRTYPES):&lt;BR /&gt;SQLSRV: Called SQLTables with schema of cdm&lt;BR /&gt;NOTE: 2 table(s) not displayed/returned because the name is too long.&lt;BR /&gt;SQLSRV: AUTOCOMMIT is NO for connection 5&lt;BR /&gt;SQLSRV: AUTOCOMMIT turned ON for connection id 5с&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SQLSRV_14: Prepared: on connection 5&lt;BR /&gt;SELECT * FROM "cdm"."MA CONTACT HISTORY"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: No rows were selected.&lt;BR /&gt;MPRINT (EXEC_MACRO.MAEXP .MAUSREXP .MINJECTION.MCOMMUNICATION.MCHECKATTRTYPES) :&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;real time 2:08:24.06&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;user cpu time 0.13 seconds&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;system cpu time 0.05 seconds&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;memory 5593.12k&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OS Memory 39616.00k&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Timestamp 17.02.2023 09:21:40&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Step Count 435 Switch Count 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Page Faults 0&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2023 21:00:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB-doesn-t-return-a-response-for-a-very-long-time-without-errors/m-p/859566#M26002</guid>
      <dc:creator>John_Wick</dc:creator>
      <dc:date>2023-02-18T21:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: DB doesn't return a response for a very long time without errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB-doesn-t-return-a-response-for-a-very-long-time-without-errors/m-p/859580#M26009</link>
      <description>&lt;P&gt;Since it appears you are using a SAS product which is automatically generating SQL you would be best to open a Tech Support track for this issue.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 02:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB-doesn-t-return-a-response-for-a-very-long-time-without-errors/m-p/859580#M26009</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-02-19T02:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: DB doesn't return a response for a very long time without errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB-doesn-t-return-a-response-for-a-very-long-time-without-errors/m-p/859614#M26018</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I see this in the log &lt;STRONG&gt;"NOTE: 2 table(s) not displayed/returned because the name is too long."&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;SAS has limit of 32 character&amp;nbsp; for table names whereas SQL server has a limit of 128 Character for table names.&lt;/P&gt;
&lt;P&gt;Please review this.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 14:10:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB-doesn-t-return-a-response-for-a-very-long-time-without-errors/m-p/859614#M26018</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2023-02-19T14:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: DB doesn't return a response for a very long time without errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/DB-doesn-t-return-a-response-for-a-very-long-time-without-errors/m-p/859621#M26020</link>
      <description>&lt;P&gt;What are these macros you are running?&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;MPRINT(EXEC_MACRO.MAEXP.MAUSREXP.MINJECTION.MCOMMUNICATION.MCHECKATTRTYPES.MGETVARTYPESQL):&lt;/PRE&gt;
&lt;P&gt;Perhaps one of them is very slow?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2023 15:12:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/DB-doesn-t-return-a-response-for-a-very-long-time-without-errors/m-p/859621#M26020</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-02-19T15:12:23Z</dc:date>
    </item>
  </channel>
</rss>

