Skip to main content

Understanding Index Trade-offs in CDF vs. Relational Databases

  • August 5, 2024
  • 1 reply
  • 47 views

Andre Alves
MVP
Forum|alt.badge.img+13

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.

 

1 reply

  • Practitioner
  • 3 replies
  • August 12, 2024

An excellent question.

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


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings