Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

clarification regarding indexes

Former Member
0 Likes
667

dear ,

in one standard database table already one index is created for ebeln,ebelp,bwart and budat. but i want to make use of ebeln ebelp bwart and werks where werks is not an field in secondary index or primary key field. is it ok to use avaliable sec index (ebeln,ebelp,bwart and budat) or i have to create new index based on our requirment plz help .to get good db performance .

dear ,

in one standard database table already one index is created for ebeln,ebelp,bwart and budat. but i want to make use of ebeln ebelp bwart and werks where werks is not an field in secondary index or primary key field. is it ok to use avaliable sec index (ebeln,ebelp,bwart and budat) or i have to create new index based on our requirment plz help .to get good db performance .

5 REPLIES 5
Read only

Subhankar
Active Contributor
0 Likes
649

Hi ...

Just create another secondary index......That contain only ebeln ebelp bwart and werks

and use it in your select quarry.

Read only

Former Member
0 Likes
649

if werks is having large amount of data then you can go for makeing indexes otherwise it is not necessary you use the available one.

Amresh.

Edited by: Amresh kumar Panda on Aug 26, 2008 12:05 PM

Read only

Former Member
0 Likes
649

Hi manoj,

if ebeln ebelp bwart gives large count, then go for creating the secondary index ebeln ebelp bwart werks. Else not to go for a secondary index. Because too many secondary indexes are not suggestable.

Read only

Former Member
0 Likes
649

Hi Manoj,

If the previous indexes do not have the fields you have mentioned then you better create new index with ebeln ebelp bwart and werks . Database access through indexes is always faster.

regards,

Sujit

Read only

Former Member
0 Likes
649

create new index