Microsoft's Extended RUM Index in DocumentDB for PostgreSQL Improves ESR Query Performance
By
Franck Pachot
Summary
Microsoft has fixed a limitation in the DocumentDB extension for PostgreSQL by introducing an Extended RUM index that preserves key ordering, enabling ordered scans instead of bitmap scans for efficient ESR (Equality, Sort, Range) queries. The article revisits pagination queries to demonstrate the performance improvements of this new indexing approach compared to the previous RUM index implementation.
Source
bskyMicrosoft's Extended RUM Index in DocumentDB for PostgreSQL Improves ESR Query Performancedev.toKey quotes
· 3 pulledLast year, I examined RUM indexes within this series on multi-key indexing, demonstrating that they cannot substitute MongoDB's compound indexes for sorted queries.
A year later, Microsoft has fixed this in the DocumentDB extension for PostgreSQL with an Extended RUM index that preserves the ordering of the keys, allowing an ordered scan rather than a bitmap scan.
Let's revisit our pagination query to see how it performs now.
You might also wanna read
Optimizing Top K Query Performance in PostgreSQL: Challenges and Solutions
This technical article examines the challenges of optimizing Top K queries in PostgreSQL databases, where 'Top K' refers to retrieving the K
Advanced PostgreSQL Optimization Techniques Beyond Conventional Methods
This article presents unconventional optimization techniques for PostgreSQL databases, moving beyond standard approaches like query rewritin
PostgreSQL Indexes: A Comprehensive Guide for Developers
This article provides a comprehensive introduction to PostgreSQL indexes for developers who understand the basic concept but want to learn a
Improving Postgres Write Performance: Challenges with Replication
The article discusses the development of pg_search, a Postgres extension for search and analytics, focusing on improving write throughput to
Rethinking Database Architecture for the SSD Era: Beyond Spinning Disk Constraints
The article explores how traditional relational databases (like Postgres, MySQL, SQLite) were designed for spinning disk era hardware and ex
Technical Analysis of Robin Hood Hash Table Implementation with Linear Probing
The article presents a technical discussion of a specific hash table implementation called "Robin Hood open-addressing with linear probing a
Comments
Sign in to join the conversation.
No comments yet. Be the first.
