Index only scan for cube and seg

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Index only scan for cube and seg
Date: 2017-10-26 10:22:29
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi hackers!

Here are patches enabling Index Only Scan for cube and seg extensions.

These patches follow this discussion [0].

For cube there is new default opclass. We cannot drop old opclass, because it could TOAST come cube values in rare occasions. Index Only Scan is enabled only for newly created indexes. Btw I can add fetch to old opclass so that IOS would be enabled.
For seg compress and decompress functions are dropped from opclass and extension. Index Only Scan is enabled.

There are two more functions which can be deleted
But it will not lead to any feasible consequences.


Attachment Content-Type Size
0001-Create-cube-opclass-without-toasting.patch application/octet-stream 4.5 KB
0001-Enable-Index-Only-Scan-in-seg.patch application/octet-stream 4.3 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-10-26 10:30:29 Re: Removing [Merge]Append nodes which contain a single subpath
Previous Message Ashutosh Bapat 2017-10-26 10:12:18 Re: Removing [Merge]Append nodes which contain a single subpath