PostgreSQL aggregation processing speed

Key takeaways &#xA; JSON is more efficient than JSONB when only reading data &#xA; JSONB is useful for data processing, when filtering data on the database. But in this test, the higher cost of creating JSONB is not worth it, and there is also a price to convert it back to text.