What's so exciting about Postgres?

Topics covered
Popular Clips
Episode Highlights
JSON & JSONB
PostgreSQL's support for JSON and JSONB data types offers flexibility in handling semi-structured data. explains that JSON was initially integrated into PostgreSQL as a simple text field, allowing developers to store and validate JSON data without complex migrations 1. JSONB, introduced later, provides a binary representation that enhances performance by enabling indexing and efficient querying 2. This makes JSONB ideal for applications requiring dynamic data structures, such as feature flags or user settings, where flexibility is key 3.
JSONB is usually what you want when you're developing. In most cases.
---
Kerstiens emphasizes that while JSON is useful for storing logs or API responses, JSONB is preferred for most development scenarios due to its advanced capabilities.
Extensions
PostgreSQL's extensibility is a standout feature, with over 250 extensions available that significantly enhance its capabilities. highlights that these extensions, written in languages like C or SQL, allow developers to add new data types, functions, and access methods, effectively transforming PostgreSQL's core functionality 4. Examples include PostGIS for geospatial data and PLV8 for running JavaScript within the database 5.
Extensions are absolutely huge, and what you can do with them is kind of unbelievable.
---
This flexibility enables PostgreSQL to adapt to various use cases, from simple HTTP requests to complex data science tasks, demonstrating its versatility and power 6.
Pluggable Storage
The introduction of pluggable storage in PostgreSQL marks a significant advancement, allowing for customizable storage engines. notes that this feature, still in its early stages, promises to address common issues like vacuuming by offering alternative backend types 7. Columnar storage, for example, optimizes data compression and retrieval, making it ideal for time-series data 8.
Pluggable storage to me is one of those next big frontiers.
---
This innovation could redefine PostgreSQL's role in data warehousing and analytics, expanding its utility beyond traditional transactional applications.
Related Episodes


Just Postgres
Answers 383 questions

Taking Postgres serverless
Answers 383 questions

It all starts with Postgres (Interview)
Answers 383 questions

Supabase is all in on Postgres
Answers 383 questions

Why SQLite succeeded as a database
Answers 383 questions

Why is GraphQL so cool?
Answers 383 questions

Python, Django, and Channels
Answers 383 questions

Django Dash, Python, Ruby (Interview)
Answers 383 questions

State of the “log” 2020
Answers 383 questions

RethinkDB, Databases, the Realtime Web
Answers 383 questions

RethinkDB (Interview)
Answers 383 questions

Let's talk Elixir!
Answers 383 questions

MongoDB, NoSQL, Web Scale (Interview)
Answers 383 questions

The state of the 2023 tech market
Answers 383 questions

Elasticsearch and doubling down on "open"
Answers 383 questions
