Re: two dimensional statistics in Postgres - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: two dimensional statistics in Postgres
Date
Msg-id bc53125882aff5e17748a8dc61a13502.squirrel@2.emaily.eu
Whole thread Raw
In response to Re: two dimensional statistics in Postgres  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Responses Re: two dimensional statistics in Postgres  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
List pgsql-hackers
Dne 6 Listopad 2014, 11:50, Gavin Flower napsal(a):
>
> Could you store a 2 dimensional histogram in a one dimensional array:
> A[z] = value, where z = col * rowSize + row (zero starting index)?

How would that work for columns with different data types?

Tomas




pgsql-hackers by date:

Previous
From: "Tomas Vondra"
Date:
Subject: Re: two dimensional statistics in Postgres
Next
From: Fujii Masao
Date:
Subject: Re: Proposal : REINDEX SCHEMA