Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

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

AbhijeetSrivastava
Level 2
Level 2

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?

3 Replies
craigthonis
Employee
Employee

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

Sukrity_Wadhwa
Employee
Employee

Hi @AbhijeetSrivastava,

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

Thanks!

Deb007
Level 5
Level 5

Hi @AbhijeetSrivastava ,

Pls can you put some pseudo code to explain this?

 

Thanks,

Deb