Home icon

Index types supported in Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL using extensions (Bloom, pg_trgm, and pg_bigm)

Database Blog



This article explores three PostgreSQL extensions for specialized indexing in Aurora PostgreSQL and RDS for PostgreSQL: Bloom, pg_trgm, and pg_bigm.

  • Bloom indexes enable space-efficient multi-column equality filtering using probabilistic Bloom filters
  • pg_trgm provides fuzzy text matching and similarity searches using trigram (3-character) segments
  • pg_bigm optimizes full-text search for Asian languages using bigram (2-character) sequences
  • Bloom indexes support tunable accuracy parameters (length, col bits) but only work with equality operators
  • pg_trgm supports GIN and GiST indexes with configurable similarity thresholds for pattern matching
  • pg_bigm uses GIN indexes with gin_bigm_ops for efficient LIKE searches on non-whitespace languages
  • All three extensions trade-off index size, query flexibility, and accuracy for specialized search capabilities

This concludes a four-part series on PostgreSQL indexing strategies, providing comprehensive toolkit for optimizing diverse database workloads.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jun 3
2026
Index types supported in Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL using extensions (SP-GiST, Btree_Gin and Btree_Gist)
Jul 17
2024
Index types supported in Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL (B-tree)
Jul 17
2024
Index types supported in Amazon Aurora PostgreSQL and Amazon RDS for PostgreSQL (GIN, GiST, HASH, BRIN)
Jun 11
2026
Amazon Aurora now supports PostgreSQL major version 18

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.