All Questions
Postgresql hard

PostgreSQL 11+ introduced JIT compilation using LLVM. Why might JIT actually degrade the performance of high-velocity OLTP workloads?

  1. A JIT disables the use of parallel workers, forcing every single transactional query into a serial path.
  2. B The time required to compile the query plan can exceed the physical execution time of small queries.
  3. C JIT forces the database to use uncompressed memory pages, leading to massive cache thrashing.
  4. D The LLVM compiler requires a dedicated physical CPU core that is isolated from the rest of the OS.

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

Get the app

Related questions