2012 Dec 27 9:14 AM
Hi,
what is the main use of primary and secondary indexes in Data dictionary,in which case we use indexes.
2012 Dec 27 11:25 AM
Hi Sravani,
Indexes are use for fast retrieval of data from database.
Primary Index:
Primary index is created automatically on key fields of data when table is created in SAP.
Secondary Index:
The secondary idex is required when there is retrieval of data on non-key fields.Secondary index is not created automatically.It is created menually depends on the requirement.
Hi,
what is the main use of primary and secondary indexes in Data dictionary,in which case we use indexes.
2012 Dec 27 11:25 AM
Hi Sravani,
Indexes are use for fast retrieval of data from database.
Primary Index:
Primary index is created automatically on key fields of data when table is created in SAP.
Secondary Index:
The secondary idex is required when there is retrieval of data on non-key fields.Secondary index is not created automatically.It is created menually depends on the requirement.
2012 Dec 27 3:44 PM
hi umar,
thanxs, what is the main use of includes in data dictionary...how they differ from structure...
2012 Dec 27 5:19 PM
Hi Sravani,
Customizing includes are used for extending table and will start with name CI_ and customizing included can only be attached with one table. append structure will start customer name space zz or YY.Append structure can be attached with multiple table.
2020 Aug 18 12:50 PM
Hi
There are two type of indexes in ddic i,e primary index,seconadary index
primary index- PI is automatically created by system using primary key of table.
seconadry index-In some case primary index not work due to huge no data or we have to search some record based on non primary key so at that time we create secondary index...
when we create secondary index system will generate one table in backend which is combination of some field (which are selected by us)+some of the filed system will take their own+pointer(which point to real position of record) and while searching record secondary index follow binary search(it will sort the record in asending order use divide and conqure method) to search record faster
2020 Aug 19 2:40 PM
Hi,
Primary index : -
Secondary index : -
example for Oracle database
select * from <table name>
into table <internal table name>
%_HINTS ORACLE ' index ' ('table name', 'secondary index').