All Questions
Database Indexing hard

In LSM compaction strategies, 'Universal' (Tiered) compaction prioritizes what over 'Leveled' compaction?

  1. A Write Throughput. It significantly reduces write amplification by delaying the merging of files, though this leads to increased read latency.
  2. B Point-Lookup Performance. It ensures that every record is stored in exactly one physical file location to eliminate the need for cross-level merging.
  3. C Disk Space Efficiency. It utilizes aggressive compaction algorithms to ensure that the total disk usage never exceeds the actual live data size.
  4. D Memory Resident Caching. It automatically prioritizes the most frequently accessed data blocks for inclusion in the high-speed operating system page cache.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions