<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/crunchydata/best-of/2025" -->

---
title: Best Crunchy Data posts of 2025 | daily.dev
description: The most upvoted Crunchy Data posts of 2025, curated by the daily.dev community.
canonical: https://daily.dev/sources/crunchydata/best-of/2025
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/crunchydata/best-of/2025
og:type: website
og:site_name: daily.dev
og:title: Best Crunchy Data posts of 2025 | daily.dev
og:description: The most upvoted Crunchy Data posts of 2025, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Crunchy Data — 2025

1. 1  
[](/posts/get-excited-about-postgres-18-0eq8zhjg7 "Get Excited About Postgres 18")  
[![crunchydata's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/689da8cf2d2a4fa4b09736e4f4b18fce)](/sources/[source]/best-of/[year])  
8m read time • Sep 12, 2025  
### Get Excited About Postgres 18  
PostgreSQL 18 introduces significant performance improvements including asynchronous I/O for faster reads, UUID v7 support for better indexing, B-tree skip scans for multi-column indexes, virtual generated columns as the default, and OAuth 2.0 authentication support. The async I/O feature allows workers to batch reads and optimize idle time, while UUID v7 provides better locality through timestamp-based prefixes. Skip scans enable using multi-column indexes even when leading columns aren't in query conditions, and virtual generated columns compute values on-the-fly without storage overhead.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/db545bed504312e09b7980ee9ce504f5?_a=AQAEulh)  
75  
2
2. 2  
[](/posts/postgres-18-new-default-for-data-checksums-and--mk3onhcn2 "Postgres 18 New Default for Data Checksums and...")  
[![crunchydata's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/689da8cf2d2a4fa4b09736e4f4b18fce)](/sources/[source]/best-of/[year])  
4m read time • Dec 11, 2025  
### Postgres 18 New Default for Data Checksums and...  
Postgres 18 now enables data checksums by default during database initialization, providing automatic protection against silent data corruption. Data checksums work by calculating and storing a digital fingerprint for each 8KB data page, then verifying it on read to detect corruption. While this improves data integrity out-of-the-box, it creates a compatibility challenge for pg\_upgrade users: both old and new clusters must have matching checksum settings. Existing databases without checksums can either use the new --no-data-checksums flag during upgrade initialization, or preferably enable checksums beforehand using the pg\_checksums utility (though this requires downtime).

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/dfda006d69592e60edec76d4cf7cc901?_a=AQAEulh)  
46  
1
3. 3  
[](/posts/postgres-18-old-and-new-rows-in-the-returning--kme2rdbwz "Postgres 18: OLD and NEW Rows in the RETURNING...")  
[![crunchydata's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/689da8cf2d2a4fa4b09736e4f4b18fce)](/sources/[source]/best-of/[year])  
2m read time • Sep 25, 2025  
### Postgres 18: OLD and NEW Rows in the RETURNING...  
PostgreSQL 18 introduces the ability to access both OLD and NEW row values in RETURNING clauses for INSERT, UPDATE, DELETE, and MERGE operations. This enhancement allows developers to see previous and current data states in a single query, making it easier to detect whether an upsert operation inserted a new row or updated an existing one without relying on internal implementation details like xmax values.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d218ecc2a012d8e650aa183163ef9dd4?_a=AQAEulh)  
42
4. 4  
[](/posts/indexing-jsonb-in-postgres-fntw8luqu "Indexing JSONB in Postgres")  
[![crunchydata's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/689da8cf2d2a4fa4b09736e4f4b18fce)](/sources/[source]/best-of/[year])  
5m read time • Aug 11, 2025  
### Indexing JSONB in Postgres  
PostgreSQL's JSONB datatype offers powerful querying capabilities, but requires proper indexing for optimal performance. GIN (Generalized Inverted Index) indexes are ideal for containment queries, key existence checks, and JSONB operators like @>, ?, ?|, and ?&. However, GIN indexes don't help with path-based navigation, comparisons, or pattern matching within JSONB values. For these cases, expression indexes using B-tree structures work better. GIN indexes have higher write overhead and can suffer from bloat, requiring periodic maintenance with REINDEX CONCURRENTLY. Best practices include using GIN for containment-style lookups, expression indexes for specific key queries, and combining both approaches for comprehensive JSONB performance optimization.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/1bc2ebaed262f1b668afc94e8e29c24e?_a=AQAEulh)  
34
5. 5  
[](/posts/citus-the-misunderstood-postgres-extension-7ylgmorwj "Citus: The Misunderstood Postgres Extension")  
[![crunchydata's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/689da8cf2d2a4fa4b09736e4f4b18fce)](/sources/[source]/best-of/[year])  
9m read time • Mar 18, 2025  
### Citus: The Misunderstood Postgres Extension  
Citus is an advanced Postgres extension that transforms Postgres into a sharded, distributed, horizontally scalable database suited for specific use cases. It excels in sharding multitenant applications and handling high data volume analytics with minimal user interaction. However, it is not ideal for scenarios with loose query controls or geographic residency requirements. Proper planning of shard keys and design considerations are crucial for success with Citus.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/543242b645701b2d8261d23db3c5b28c?_a=AQAEuj9)  
26
6. 6  
[](/posts/postgres-logging-for-performance-optimization-8gi0vt8kb "Postgres Logging for Performance Optimization")  
[![crunchydata's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/689da8cf2d2a4fa4b09736e4f4b18fce)](/sources/[source]/best-of/[year])  
21m read time • Aug 19, 2025  
### Postgres Logging for Performance Optimization  
PostgreSQL provides comprehensive logging capabilities for performance optimization and troubleshooting. Key configurations include setting up log collectors, choosing appropriate log formats (stderr, csvlog, jsonlog), and configuring severity levels. For performance monitoring, enable logging of slow queries with log\_min\_duration\_statement, lock waits with log\_lock\_waits, and temporary file usage with log\_temp\_files. The auto\_explain extension automatically logs query execution plans for analysis. Proper log rotation prevents disk space issues, while tools like pgBadger can parse logs into visual reports. Additional audit logging is available through the pgAudit extension for tracking user actions and data changes.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/de06bfdb698b6eee18f55b37d420ac90?_a=AQAEulh)  
13
7. 7  
[](/posts/postgres-scan-types-in-explain-plans-xgyzmaukf "Postgres Scan Types in EXPLAIN Plans")  
[![crunchydata's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/689da8cf2d2a4fa4b09736e4f4b18fce)](/sources/[source]/best-of/[year])  
9m read time • Dec 04, 2025  
### Postgres Scan Types in EXPLAIN Plans  
Explains the different scan types that appear in Postgres EXPLAIN plans and when each is used. Covers sequential scans (reading entire tables row-by-row), index scans (using B-tree indexes to locate data), bitmap index scans (hybrid approach creating in-memory bitmaps), parallel scans (using multiple workers concurrently), and index-only scans (retrieving all data from the index without touching the main table). Includes practical examples showing when each scan type is optimal and how to identify them in query plans.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/bbf04b7dd3d44749fb5f12d493877b19?_a=AQAEulh)  
10

[See all Crunchy Data archives](/sources/crunchydata/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/crunchydata/best-of/2025#page","url":"https://daily.dev/sources/crunchydata/best-of/2025","name":"Best Crunchy Data Posts of 2025","description":"The most upvoted Crunchy Data posts of 2025, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/crunchydata/best-of/2025#items","numberOfItems":7,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/get-excited-about-postgres-18-0eq8zhjg7","name":"Get Excited About Postgres 18"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/postgres-18-new-default-for-data-checksums-and--mk3onhcn2","name":"Postgres 18 New Default for Data Checksums and..."},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/postgres-18-old-and-new-rows-in-the-returning--kme2rdbwz","name":"Postgres 18: OLD and NEW Rows in the RETURNING..."},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/indexing-jsonb-in-postgres-fntw8luqu","name":"Indexing JSONB in Postgres"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/citus-the-misunderstood-postgres-extension-7ylgmorwj","name":"Citus: The Misunderstood Postgres Extension"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/postgres-logging-for-performance-optimization-8gi0vt8kb","name":"Postgres Logging for Performance Optimization"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/postgres-scan-types-in-explain-plans-xgyzmaukf","name":"Postgres Scan Types in EXPLAIN Plans"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Crunchy Data","item":"https://daily.dev/sources/crunchydata"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/crunchydata/best-of"},{"@type":"ListItem","position":5,"name":"2025"}]}]}
```

