B-tree performance improvements in 8.x

From: jao(at)geophile(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: B-tree performance improvements in 8.x
Date: 2006-02-07 19:37:21
Message-ID: 20060207143721.66ercm8pc8g4wwcs@geophile.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm currently running postgresql 7.4.8. Our two biggest tables have
indexes on (x, y), where x, y are integers, and there are often
many y values per x value. The ratio can be anywhere from 1:1 to 200000:1.

In the 8.0 release notes, (section E.10.4.1), I noticed this
statement:

Improve B-tree index performance for duplicate keys (Dmitry Tkach, Tom)

This improves the way indexes are scanned when many duplicate
values exist in the index.

Can someone describe these improvements in more detail? How were such
scans done in 7.x, and what exactly is different in 8.x?

Jack Orenstein

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Browne 2006-02-07 19:47:58 Re: Why pg_hba not in table?
Previous Message Joshua D. Drake 2006-02-07 19:09:44 Re: Syncing Databases Weekly