<?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: table INDEX in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498598#M1257875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do run time analysis using TRACE ST05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will provide all the info regaring database hits and the index used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2009 07:48:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-22T07:48:50Z</dc:date>
    <item>
      <title>table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498596#M1257873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have created an index (Z04) in table RESB and I want to know if this index is being used in my customized program (ZPROGRAM)&lt;/P&gt;&lt;P&gt;Is there a SAP tcode wherein I can check if ZPROGRAM is using my Z04 index??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 07:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498596#M1257873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T07:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498597#M1257874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to t-code db05 and check whether your index is using or not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 07:35:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498597#M1257874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T07:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498598#M1257875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do run time analysis using TRACE ST05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will provide all the info regaring database hits and the index used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 07:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498598#M1257875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T07:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498599#M1257876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;but im confused of what is being displayed.. there is an existing Z01, Z02, Z03 in RESB and i created Z04.. how can i determine if it uses Z04?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result that being displayed in tcode DB05 is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date/time of analysis:                  2009.04.22  00:42:38&lt;/P&gt;&lt;P&gt;Analyzed table:                         RESB&lt;/P&gt;&lt;P&gt;Total number of rows:                      2,936,188 rows&lt;/P&gt;&lt;P&gt;Requested bytes per row:                       2,015 bytes per row&lt;/P&gt;&lt;P&gt;Requested bytes to be buffered 100%:   5,916,418,820 bytes&lt;/P&gt;&lt;P&gt;Current buffering mode:                           no buffering&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; client 320         9,231 rows                      18,600,465 bytes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Client 320&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Rows per      Distinct              1           11          101        1,001       10,001      100,001    more than&lt;/P&gt;&lt;P&gt;    generic key     values             - 10        - 100      - 1,000     - 10,000    - 100,000   -1,000,000    1,000,000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       Key fields               Number of areas that are specified by the generic key and contain the given number of rows&lt;/P&gt;&lt;P&gt;   1   MANDT        The following distribution table applies to client 320&lt;/P&gt;&lt;P&gt;   2   RSNUM             1,626        1,492          134&lt;/P&gt;&lt;P&gt;   3   RSPOS             9,231        9,231&lt;/P&gt;&lt;P&gt;   4   RSART             9,231        9,231&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 07:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498599#M1257876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T07:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498600#M1257877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Sql trace of the program.&lt;/P&gt;&lt;P&gt;ST05&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 07:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498600#M1257877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T07:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498601#M1257878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using index access depens on factors evaluated by DB optimizer. It is he, who decides wheter to access  table in certain case using index or without it. One query can lead to access using it, whereas the other can not use it. &lt;/P&gt;&lt;P&gt;To check this (by query) go to &lt;EM&gt;ST05&lt;/EM&gt; -&amp;gt; check &lt;EM&gt;SQL trace&lt;/EM&gt; -&amp;gt; &lt;EM&gt;Trace on&lt;/EM&gt; and run your program (having the query). Then go back here and use &lt;EM&gt;Trace off&lt;/EM&gt; . Dipslay the list with &lt;EM&gt;Trace list&lt;/EM&gt; and look for your query (the one with &lt;STRONG&gt;FETCH&lt;/STRONG&gt; operation for select statement). Place the cursor on it and choose &lt;EM&gt;Explain SQL&lt;/EM&gt; from application toolbar.&lt;/P&gt;&lt;P&gt;Now, depending on DB your system work you can see different views. I.e. for ORACLE you will statement expanded in a tree, you can see here how it is accessed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TABLE ACCESS BY INDEX ROWID SBOOK&lt;/EM&gt;  -&amp;gt; table is accessed via index&lt;/P&gt;&lt;P&gt;&lt;EM&gt;INDEX RANGE SCAN SBOOK~0&lt;/EM&gt;    -&amp;gt; here table is accessed using primary index (~0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find similar query for your index i.e. SBOOK~Z04 then you are sure the table is accessed using your index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 08:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498601#M1257878</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-04-22T08:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498602#M1257879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i use st05 and notice that when i click the RESB OPEN, it is using the first index which is Z01... how can i make sure that the program will use index Z04?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 08:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498602#M1257879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T08:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498603#M1257880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the index is used by your program using tcode DB05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 08:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498603#M1257880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T08:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498604#M1257881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Goto ST05 it will list out all the index being used in the Table.&lt;/P&gt;&lt;P&gt;Analsyse step by step.it will list out including secodry indexes also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 08:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498604#M1257881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T08:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498605#M1257882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; check the index is used by your program using tcode DB05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;used ???? not really,  ST05 shows the used index, which is the 01 Index in your case.&lt;/P&gt;&lt;P&gt;Only some databases show in the Explain (double-click on table) all available indexes,&lt;/P&gt;&lt;P&gt;nobody knows whether they are used at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your index ... does it fit to the statement?&lt;/P&gt;&lt;P&gt;Is is really created or only a DDIC diefinition? Are also the statistics created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check DB02, whether index exists on the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What database do you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 10:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498605#M1257882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T10:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: table INDEX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498606#M1257883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravolarte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which db are you using?&lt;/P&gt;&lt;P&gt;Have the statistics been reated for your index?&lt;/P&gt;&lt;P&gt;How looks your where condition? &lt;/P&gt;&lt;P&gt;What are the fields in index Z01 and index Z04?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind egards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 11:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-index/m-p/5498606#M1257883</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2009-04-22T11:11:10Z</dc:date>
    </item>
  </channel>
</rss>

