PostgreSQL has a data type called JSONB, or JSON binary - JSON in binary form. This allows Postgres to know where every literal is in memory, making operations faster. Also, you can use a Generalized Inverted Index to index the JSON data itself, which can significantly improve query performance. JSONB queries can be just as efficient as equivalent NoSQL queries.