Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Index Recommended Approaches

Question
Yaniv Ben Malka · Oct 10, 2017

Index Recommended Approaches

Hi,

I have a class with around 400k lines and 60 columns. Class storage is Cache SQL storage (Mapped from a global).

 I want to create multiple indices on certain fields.

I am familiar with two approaches:

1. Create a new map (Index type) on a pointer global.

2. Create a bitmap index

Which approach is more recommended to be used in the case I described? If there are any other approaches, I will be happy to hear.

Thanks :)

#Globals #Indexing #SQL #Caché

Source URL:https://community.intersystems.com/post/index-recommended-approaches