Skip to main content
Level 2
Mar 24, 2021 6:35 AM UTC
Question

How to remove out of the box index from a custom shcema permanently.

I wan to remove out of the box index from my customized schema. When I do that using DROP Index script,the index gets removed but whenever I do a update database structure on that schema, the indexes gets added again. Is there a way to remove the out of the box indexes permanently?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Craig_Thonis
Adobe Employee
Adobe Employee
Mar 24, 2021 3:09 PM UTC

Hi Abhijeet,

 

Can you provide us with an understanding of the use case as to why you'd want to remove the indexes on the OOTB schemas? Those indexes have been added for performance reasons and it isn't recommended to remove these.

 

Additionally can you tell us which schemas and which indexes you are trying to remove?

 

Thanks,

Craig

Translate
Sukrity_Wadhwa
Level 4
Mar 31, 2021 8:05 AM UTC

Hi @abhisr,

Were you able to resolve this query or do you still need more help here? Do let us know.

Thanks!

Translate
Sukrity Wadhwa
Level 6
Mar 31, 2021 11:22 AM UTC

Hi @abhisr ,

Pls can you put some pseudo code to explain this?

 

Thanks,

Deb

Translate
Level 2
Oct 19, 2022 1:18 PM UTC

I'm considering removing a few of the indexes from the recipient table of ACC due to bloat and general space usage. 

 

The indexes I'm considering deleting are: 
@2362510 - since the field is not in use

@3583986 - since the field is not in use

@2503248 - since there are 2 indexes where one is searchFromStart which I'd keep

@lastName - see firstName

 

//Peter

Translate
Sukrity_Wadhwa
Level 4
Nov 2, 2022 8:42 AM UTC

Hey @craig_thonis,

Could you please help @plundmark further here?

Thanks!

Translate
Sukrity Wadhwa