<?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: Production run of code - Indexing - Massive Logs in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Production-run-of-code-Indexing-Massive-Logs/m-p/842312#M333073</link>
    <description>I have a table i have built with a few thousand records. I created the index on the key I am matching against. The table I am matching against is a Table in our EDW. Nothing fancy in other words just :&lt;BR /&gt;Create table XYZ&lt;BR /&gt;as&lt;BR /&gt;Select a.* from EDW.TABLE as A&lt;BR /&gt;inner join MYTABLE as B&lt;BR /&gt;where a.COA = b.COA;&lt;BR /&gt;quit;</description>
    <pubDate>Thu, 03 Nov 2022 13:32:08 GMT</pubDate>
    <dc:creator>Jyuen204</dc:creator>
    <dc:date>2022-11-03T13:32:08Z</dc:date>
    <item>
      <title>Production run of code - Indexing - Massive Logs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Production-run-of-code-Indexing-Massive-Logs/m-p/842306#M333070</link>
      <description>&lt;P&gt;I have a script in which I applied an Index. I noticed that in a production run while monitoring the job that when the index is applied the logs are massive&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;246 +proc sql; &lt;BR /&gt;247 +create index CUST_ID on CTC_TB(CUST_ID); &lt;BR /&gt;INFO: Multiple concurrent threads will be used to create the index. &lt;BR /&gt;NOTE: Simple index CUST_ID has been defined. &lt;BR /&gt;248 +run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I pulled the above from the log where it cerates the index.&lt;/P&gt;
&lt;P&gt;After that, when it runs the part of the script where it utilized the index i get pages upon pages of this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;INFO: Index CUST_ID selected for WHERE clause optimization. &lt;BR /&gt;INFO: Use of index CUST_ID for WHERE clause optimization canceled. &lt;BR /&gt;INFO: Index CUST_ID selected for WHERE clause optimization. &lt;BR /&gt;INFO: Use of index CUST_ID for WHERE clause optimization canceled. &lt;BR /&gt;INFO: Index CUST_ID selected for WHERE clause optimization.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The code runs and all. But I just wanted to know if this was normal or if I am applying the index inefficiently/incorrectly.&lt;/P&gt;
&lt;P&gt;TIA!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 13:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Production-run-of-code-Indexing-Massive-Logs/m-p/842306#M333070</guid>
      <dc:creator>Jyuen204</dc:creator>
      <dc:date>2022-11-03T13:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Production run of code - Indexing - Massive Logs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Production-run-of-code-Indexing-Massive-Logs/m-p/842311#M333072</link>
      <description>&lt;P&gt;Is it possible to share the log for the step that queries the table?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 13:24:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Production-run-of-code-Indexing-Massive-Logs/m-p/842311#M333072</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-11-03T13:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Production run of code - Indexing - Massive Logs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Production-run-of-code-Indexing-Massive-Logs/m-p/842312#M333073</link>
      <description>I have a table i have built with a few thousand records. I created the index on the key I am matching against. The table I am matching against is a Table in our EDW. Nothing fancy in other words just :&lt;BR /&gt;Create table XYZ&lt;BR /&gt;as&lt;BR /&gt;Select a.* from EDW.TABLE as A&lt;BR /&gt;inner join MYTABLE as B&lt;BR /&gt;where a.COA = b.COA;&lt;BR /&gt;quit;</description>
      <pubDate>Thu, 03 Nov 2022 13:32:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Production-run-of-code-Indexing-Massive-Logs/m-p/842312#M333073</guid>
      <dc:creator>Jyuen204</dc:creator>
      <dc:date>2022-11-03T13:32:08Z</dc:date>
    </item>
  </channel>
</rss>

