<?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 Steps for creating a database index in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401103#M193875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do we just create it from SE11? Does Basis needs to be involved for any furthur steps?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jun 2006 18:19:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-26T18:19:55Z</dc:date>
    <item>
      <title>Steps for creating a database index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401103#M193875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do we just create it from SE11? Does Basis needs to be involved for any furthur steps?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 18:19:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401103#M193875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-26T18:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Steps for creating a database index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401104#M193876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can just create it via SE11.  No need to have Basis involved, but I would make them aware of it.   It really depends on your procedures.  Are you supposed to make them aware?  Is this for a custom DB, or a standard SAP table.  If it is a standard SAP table, I would suggest making them aware, so that they can monitor any spikes in performance during UPDATES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_470/helpdata/en/cf/21eb20446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_470/helpdata/en/cf/21eb20446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_470/helpdata/en/cf/21eb47446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_470/helpdata/en/cf/21eb47446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 18:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401104#M193876</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-26T18:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Steps for creating a database index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401105#M193877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Amrutha,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Index:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;You can create an index (also called a secondary key) to make it quicker to find data records in a table. An index is a database object that can be defined for an individual column or a series of columns in a database table. An index consists of one or more inversion lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index name must be unique when combined with the table name. When defining an index, you determine whether the column values of different rows in the indexed columns have to be unique or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since indexes are derived entirely from data already in the database, you can delete them without data being lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that, in certain circumstances, the database system may have to update the index corresponding to any data changes, which takes time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index can have the following statuses:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Check these out too..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/1c/252640632cec01e10000000a155106/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/1c/252640632cec01e10000000a155106/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/c7/55833c4f3e092de10000000a114027/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/c7/55833c4f3e092de10000000a114027/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 18:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401105#M193877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-26T18:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Steps for creating a database index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401106#M193878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amrutha ,&lt;/P&gt;&lt;P&gt;         this is satish raju from hyderabad.ur question is very simple to answer ,many people have said their own way of answering.&lt;/P&gt;&lt;P&gt;Q ]. steps for creating a database index.&lt;/P&gt;&lt;P&gt;first think to keep it mind that we have two type of indexes 1.primary index &lt;/P&gt;&lt;P&gt;        2. secondary index or database index.&lt;/P&gt;&lt;P&gt;by defalult when we assign the field as a primary key in database table it creates a primary index for that field or column.&lt;/P&gt;&lt;P&gt; why do we use indexes ?&lt;/P&gt;&lt;P&gt;we use indexes inorder to fetch data fasteror extract data faster.when we create index on a field the system automatically generates a unique id for that column entries.for columns with primary key gets retrieval of data much faster.&lt;/P&gt;&lt;P&gt;so when we wana fetch data with other than primary key field we use secondary index or data base index.&lt;/P&gt;&lt;P&gt;create a table which is having three fields .1st field and 2 nd field are primary key columns.&lt;/P&gt;&lt;P&gt;3rd field is ordinary field.select the field and click on index button at right top.automatically secondary index will be created on that key field.now to check whether the data retrieval is faster use select statement in a program by using a where condition and use the secondary index field to retrieve data in where condition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finally what i wana say is we use database indexes only for data retrieval to be faster.try this ones and doubts call me if ur in andhrapradesh.&lt;/P&gt;&lt;P&gt;             bye &lt;/P&gt;&lt;P&gt;        satish raju&lt;/P&gt;&lt;P&gt;        9948054163&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 19:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401106#M193878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-26T19:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Steps for creating a database index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401107#M193879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amrutha ,&lt;/P&gt;&lt;P&gt; i wana say u something of that we can create a max of 9 seconary indexes for a table . this is an important note.&lt;/P&gt;&lt;P&gt;ok bye .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 19:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401107#M193879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-26T19:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Steps for creating a database index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401108#M193880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Satis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your statement about a max of 9 secondary indexes might be a fact on your current system.  But that is a decision made and/or forced by your current SAP R/3 and DB set-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just created 10 secondary indexes on a table in our 5.0 env with an Oracle DB underneath it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2006 20:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401108#M193880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-26T20:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Steps for creating a database index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401109#M193881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorrry yaar , actually the max no of secondary indexes is max up to 15 .i have seen this yesterday in a book .confirm and make it sure and also try for that .ok give reply for this .where r u working .r u indian or from states friend.bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 18:44:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401109#M193881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T18:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Steps for creating a database index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401110#M193882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amrutha,&lt;/P&gt;&lt;P&gt;Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan). The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE. If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVING clause, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set. You specify the fields of secondary indexes using the Abap Dictionary. You can also determine whether the index is unique or not. However, you should not create secondary indexes to cover all possible combinations of fields. Only create one if you select data by fields that are not contained in another index, and the performance is very poor. Furthermore, you should only create secondary indexes for database tables from which you mainly read, since indexes have to be updated each time the database table is changed. As a rule, secondary indexes should not contain more than four fields, and you should not have more than five indexes for a single database table. If a table has more than five indexes, you run the risk of the optimizer choosing the wrong one for a particular operation. For this reason, you should avoid indexes with overlapping contents. Secondary indexes should contain columns that you use frequently in a selection, and that are as highly selective as possible. The fewer table entries that can be selected by a certain column, the higher that column's selectivity. Place the most selective fields at the beginning of the index. Your secondary index should be so selective that each index entry corresponds to at most five percent of the table entries. If this is not the case, it is not worth creating the index. You should also avoid creating indexes for fields that are not always filled, where their value is initial for most entries in the table. If all of the columns in the SELECT clause are contained in the index, the system does not have to search the actual table data after reading from the index. If you have a SELECT clause with very few columns, you can improve performance dramatically by including these columns in a secondary index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Index: &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb20446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb20446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating Secondary Index&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2006 19:28:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/steps-for-creating-a-database-index/m-p/1401110#M193882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-28T19:28:08Z</dc:date>
    </item>
  </channel>
</rss>

