<?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: Creating index and changing the table buffer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094597#M1705475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ask someone from your basis team to create index at OS level (DB Level) then only the index will work . once the index is created at DB level create index in DDIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow same process in production too but please check in development that it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sandeep katoch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2012 16:27:14 GMT</pubDate>
    <dc:creator>sandeep_katoch</dc:creator>
    <dc:date>2012-10-04T16:27:14Z</dc:date>
    <item>
      <title>Creating index and changing the table buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094594#M1705472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will changing the table buffer or creating index in a able have any impact in the same table in production when transporting the changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have abou 3.000.000 records in the table in the production system , and we need to create an index and fully buffer it&amp;nbsp; to improve performance, but I am worried about the data being deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we have yo use madat when creating index or only the field name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 11:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094594#M1705472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-04T11:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index and changing the table buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094595#M1705473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can follow this approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create index at OS level in development then create index in SAP data dictionary level test it.&lt;/P&gt;&lt;P&gt;If it works fine no need to transport the changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can follow the same appraoch in production but please remember to create an index at OS level first then create it in DDIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to only use the fieldname to create index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sandeep Katoch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 11:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094595#M1705473</guid>
      <dc:creator>sandeep_katoch</dc:creator>
      <dc:date>2012-10-04T11:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index and changing the table buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094596#M1705474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sandeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your quick answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure I understood the approach , how to create index at OS level and DDIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created one index in se11 directlly in the table in one client and tried it in another client , the table does not seem to be affected , the data is still there , but I am not sure about transporting to production&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 12:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094596#M1705474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-04T12:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index and changing the table buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094597#M1705475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ask someone from your basis team to create index at OS level (DB Level) then only the index will work . once the index is created at DB level create index in DDIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow same process in production too but please check in development that it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sandeep katoch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 16:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094597#M1705475</guid>
      <dc:creator>sandeep_katoch</dc:creator>
      <dc:date>2012-10-04T16:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index and changing the table buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094598#M1705476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malu, Hi Sandeep, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some doubts with the above approach for several reasons: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;buffering tables (on the application server) is advisable for comparatively small tables. 3 mio entries are quite a lot from my perspective&lt;/LI&gt;&lt;LI&gt;as far as I recall the table buffers are organized according to the primary key. Hence I don't think that a combination of buffering and secondary key is useful&lt;/LI&gt;&lt;LI&gt;client field in index: I don't recall that I have ever created an index without MANDT. But I agree that leaving it out should not cause any trouble when the fields are unique cross-client. Example: &lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Index 1: MANDT, GUID&lt;/LI&gt;&lt;LI&gt;Index 2: GUID -&amp;gt; should be ok to leave out the MANDT here&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand the suggestion to create the index first on DB level and then in DDIC. What is the advantage? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would create an index on such a table during a time with low system load, since the database might lock the table during index creation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 18:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094598#M1705476</guid>
      <dc:creator>schneidertho</dc:creator>
      <dc:date>2012-10-04T18:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index and changing the table buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094599#M1705477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thorsten,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you are right we should create an index during low system load only.&lt;/P&gt;&lt;P&gt;But our approach was according to the table as he has suggested is very big and having so many entries that was why I recommended him to first create it on DB level and then on SAP because as far as my knowledge this saves the lock time on table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second point regarding usage of MANDT that I written because madat was wrongly understood by me so thanks for correction. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1023/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sandeep Katoch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 04:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094599#M1705477</guid>
      <dc:creator>sandeep_katoch</dc:creator>
      <dc:date>2012-10-05T04:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index and changing the table buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094600#M1705478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys for the god discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will leav the buffering and keep the index , but my question is still about any impact in the table in production system when transporting the index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 06:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094600#M1705478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-05T06:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index and changing the table buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094601#M1705479</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;good idea to leave the buffering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding index creation on big tables in production systems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it can be a good idea to create it on DB level (have a DBA do this for you) because there&lt;/P&gt;&lt;P&gt;you can specify options such as create index online , parallel, ...which will minimize the time and the risk of locks. If you create the index through SE11 or a transport usually the default syntax is used&lt;/P&gt;&lt;P&gt;(not online, not parallel).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The procedure is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;create the index normally in SE14. &lt;/LI&gt;&lt;LI&gt;get the DDL statement (CREATE INDEX... ) for it e.g. from SE14 and the objectlog (maybe you need to first activate it) or use report RSORADDL (on ORACLE)&lt;/LI&gt;&lt;LI&gt;modify and Run the DDL in your production system on DB level (e.g. add online or parallelism)&lt;/LI&gt;&lt;LI&gt;transport the index (ddic definition)&lt;/LI&gt;&lt;LI&gt;transport log will contain a warning that the index exists already at db level but ddic will be imported&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many customers with big tabels / systems are doing it like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 07:30:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094601#M1705479</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2012-10-05T07:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index and changing the table buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094602#M1705480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hermann,&lt;/P&gt;&lt;P&gt;thanks for explaining what it helps to do it on DB level. Now I understand the suggestion.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 07:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094602#M1705480</guid>
      <dc:creator>schneidertho</dc:creator>
      <dc:date>2012-10-05T07:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index and changing the table buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094603#M1705481</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;Thank you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;closing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 11:32:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index-and-changing-the-table-buffer/m-p/9094603#M1705481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-05T11:32:35Z</dc:date>
    </item>
  </channel>
</rss>

