| From: | Сергей Соловьев <sergey(dot)soloviev(at)tantorlabs(dot)ru> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Cc: | David Rowley <dgrowleyml(at)gmail(dot)com> |
| Subject: | Re: Introduce Index Aggregate - new GROUP BY strategy |
| Date: | 2025-12-09 15:31:07 |
| Message-ID: | e04d5bce-101d-4d70-aa0e-9d1c241cda18@tantorlabs.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Previous message had bad table formatting. Here fixed version.
int
| amount | HashAgg | GroupAgg | IndexAgg |
| ------- | ----------- | ----------- | ----------- |
| 100 | 3249.929602 | 3501.174072 | 3765.727121 |
| 1000 | 504.420643 | 501.465754 | 575.255906 |
| 10000 | 50.528155 | 49.312322 | 54.510261 |
| 100000 | 4.775069 | 4.317584 | 4.791735 |
| 1000000 | 0.405538 | 0.406698 | 0.321379 |
bigint
| amount | HashAgg | GroupAgg | IndexAgg |
| ------- | ----------- | ----------- | ----------- |
| 100 | 3225.287886 | 3510.612641 | 3742.911726 |
| 1000 | 492.908092 | 491.530184 | 574.475159 |
| 10000 | 50.192018 | 49.555983 | 53.909437 |
| 100000 | 4.831086 | 4.430059 | 4.748821 |
| 1000000 | 0.401983 | 0.413218 | 0.318144 |
text
| amount | HashAgg | GroupAgg | IndexAgg |
| ------- | ----------- | ----------- | ----------- |
| 100 | 2647.030876 | 2553.503954 | 2946.282525 |
| 1000 | 348.464373 | 286.818555 | 342.771923 |
| 10000 | 32.891834 | 24.386304 | 28.249571 |
| 100000 | 2.934513 | 1.956983 | 2.237997 |
| 1000000 | 0.249291 | 0.148780 | 0.150943 |
uuid
| amount | HashAgg | GroupAgg | IndexAgg |
| ------- | ------- | ----------- | ----------- |
| 100 | N/A | 2282.812585 | 2432.713816 |
| 1000 | N/A | 282.637163 | 303.892131 |
| 10000 | N/A | 28.375838 | 28.924711 |
| 100000 | N/A | 2.649958 | 2.449907 |
| 1000000 | N/A | 0.255203 | 0.194414 |
bigtext
| HashAgg | GroupAgg | IndexAgg |
| ------- | -------- | -------- |
| N/A | 0.035247 | 0.041120 |
---
Sergey Soloviev
TantorLabs: https://tantorlabs.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ranier Vilela | 2025-12-09 16:06:35 | Avoid use scoped block variable |
| Previous Message | Sergey Soloviev | 2025-12-09 15:26:32 | Re: Introduce Index Aggregate - new GROUP BY strategy |