All Questions
Postgresql medium

What is the specific architectural advantage of using the `LATERAL` keyword in a PostgreSQL join statement?

  1. A It enables the use of parallel hardware acceleration for joins involving JSON/B data types.
  2. B It allows subqueries to access data from preceding tables in the join, similar to a 'For-Each' loop.
  3. C It forces the query planner to use a Merge Join instead of a Hash Join to preserve memory.
  4. D It transparently encrypts the communication channel between the SQL parser and the storage layer.

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

Get the app

Related questions