Skip to main content

Hi There,

We would like to confirm if the indexing mechanism in the CDF operates in the same manner as it does in a relational database. Specifically, we need to understand the trade-offs of using indexes carefully in CDF. In relational databases, indexes occupy space on disk and memory when in use, which can be problematic if space or memory is limited. Additionally, maintaining indexes during data insertions, updates, or deletions can slow down these operations and lock tables (or parts of tables), potentially affecting query performance.

Given these considerations, do we need to manage indexes in CDF with the same level of caution as in relational databases?

Disadvantages of having an index in a relational database:

  • Space: Requires additional disk/memory space.
  • Write speed: Slows down INSERT, UPDATE, and DELETE operations.

 

An excellent question.

Yes, in general indexing in Data Modeling comes with the same cost as in a relational database.


Reply