All Questions
Postgresql easy

When storing document-based data in PostgreSQL, why is the `jsonb` type typically preferred over the legacy `json` type for production workloads?

  1. A It preserves the exact white-space of the raw input to ensure a perfect character-level audit log.
  2. B It utilizes a decomposed binary format that supports indexing and allows for faster object processing.
  3. C It compresses the JSON strings using GZIP to minimize the physical disk footprint of large documents.
  4. D It automatically converts all numeric values to high-precision floats to prevent rounding errors.

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

Get the app

Related questions