Tagged articles

GIN Index

7 articles · Page 1 of 1
dbaplus Community
dbaplus Community
Sep 26, 2026 · Databases

PostgreSQL JSON vs JSONB: 1M Row Benchmark Shows 7x Query Speed Gap

This article benchmarks PostgreSQL JSON and JSONB types on 1 million rows, revealing JSONB delivers 6-9x faster queries and 26% less storage despite 31% slower writes, with practical guidance on when to choose each type and how to leverage GIN indexes for optimal performance.

Data TypesDatabase BenchmarkGIN Index
0 likes · 20 min read
PostgreSQL JSON vs JSONB: 1M Row Benchmark Shows 7x Query Speed Gap
Xiaolin Talks Programming
Xiaolin Talks Programming
Sep 16, 2026 · Databases

PostgreSQL JSONB with Spring Boot: Handle Custom Fields Without MongoDB

This article demonstrates how PostgreSQL's JSONB type combined with Spring Boot provides a practical alternative to MongoDB for managing dynamic custom fields in enterprise applications, covering storage, indexing, JPA mapping, partial updates, querying patterns, and performance tuning while preserving relational integrity.

Cursor PaginationGIN IndexHibernate
0 likes · 21 min read
PostgreSQL JSONB with Spring Boot: Handle Custom Fields Without MongoDB
JD Cloud Developers
JD Cloud Developers
Dec 24, 2021 · Databases

Boost Address Keyword Search with PostgreSQL: GIN, pg_trgm, and pg_bigm

This article explains how PostgreSQL's native full‑text search, GIN indexes, and extensions like pg_trgm, pg_bigm, and pg_jieba can dramatically improve the speed and accuracy of Chinese address keyword searches, offering a cost‑effective alternative to external search engines.

GIN IndexPostgreSQLaddress keyword search
0 likes · 6 min read
Boost Address Keyword Search with PostgreSQL: GIN, pg_trgm, and pg_bigm
Qunar Tech Salon
Qunar Tech Salon
Jul 11, 2017 · Databases

Applying PostgreSQL GIN Index for Real‑Time Deduplication, Precise Advertising, and TOB Profiling at Alibaba

The article presents several large‑scale Alibaba use cases—real‑time deduplication of shopping‑guide articles, precision ad targeting, TOB real‑time profiling, arbitrary field combination queries, and fuzzy matching—demonstrating how PostgreSQL’s array types, GIN indexes and pg_trgm extensions enable millisecond‑level responses on billions of records.

Database OptimizationGIN IndexPostgreSQL
0 likes · 20 min read
Applying PostgreSQL GIN Index for Real‑Time Deduplication, Precise Advertising, and TOB Profiling at Alibaba
Efficient Ops
Efficient Ops
Jul 9, 2017 · Databases

How Alibaba Scales Real‑Time Deduplication and Targeted Ads with PostgreSQL

This article explains how Alibaba Cloud leverages PostgreSQL’s GIN indexes, array types, and pg_trgm extension to achieve real‑time deduplication of massive guide articles, precise ad targeting, TOB profiling, arbitrary field combination, and fuzzy matching, delivering millisecond‑level latency while drastically reducing hardware requirements.

Ad TargetingGIN IndexPostgreSQL
0 likes · 18 min read
How Alibaba Scales Real‑Time Deduplication and Targeted Ads with PostgreSQL