What is INDEX Concept. What is Primary Index and Secondary
Index and Difference between Primary & Secondary Index
Answer Posted / uma mb
Index on a table or indexing a table can speed up record
access in the table. Index is a copy of the database table
but in its reduced form (only certain key fields exist in
the index along with a pointer)The data stored in the index
is in a sorted order of the primary key in a primary index
and secondary (alternate) key in a secondary index.
Primary index is automatically created when the table is
activated after creation. A secondary index is created
manually (by ABAP developer or admin person as per dictates
of the workshop) if it is felt that a large table is
accessed too many times based on some field (like employee
name in the EMPLOYEE MASTER) or fields that do not
participate in the primary key formation.
It is possible to specifiy while creating secondary index if
this index should be created on table activation. And then
these secondary indexes can give a performance gain only on
certain database systems and therefore these database
systems can be specified while creating the secondary index
so that such an index is created only on those specific
database systems. Also user created secondary indexes must
begin with Y or Z and can have three character position
names. Must not use 0 (zero) as this is reserved by SAP for
primary index.
| Is This Answer Correct ? | 28 Yes | 5 No |
Post New Answer View All Answers
What are interface/conversion programs in SAP?
Give 3 scenario of reporting due to which you require reporting help of ABAP consultant?
Events that can be used in both the classical and interactive reports
What has to be done to the packed fields before submitting to a BDC session.
How would you suppress the display of a parameter on the selection screen?
Explain what is sequence of event triggered in report?
What are the fields in a bdc_tab table? : abap bdc
What are the prerequisites for creating foreign key relationship?
How to use messages in lists?
What are client dependent objects in abap/sap?
what is diff between idocs,bdc,rfc and bapi. give real time answer
What is the difference between collect and sum?
what will happen if called program is not executable ?
What is the difference between ABAP and HR ABAP
How do you differentiate tax for different countries? : sap abap hr