company logo

DBIndex :: IsLarge - LARGE option

The option marks an index as large index, which causes the database storing key values in a B*-tree rather than in a list. Usually, collection indexes are stored as list, which becomes rather inefficient in case of large collections. When more than 1000 entries are expected for a collection, the large option should be set.

Notes:

For later versions, this feature becomes obsolete, since the database recognizes when a list needs to turned into a tree. Nevertheless, this option can be specified in future as well in order to indicate, that the index should be created as large index from the beginning.

Return value:  Return value ( logical  )

The function returns YES when the question was answered positively. Otherwise it returns NO .

Implementation details

logical DBIndex  :: IsLarge (  )