Re: WIP: multivariate statistics / proof of concept
tv@fuzzy.cz
From: Tomas Vondra <tv@fuzzy.cz>
To: pgsql-hackers@postgresql.org
Date: 2014-11-15T18:35:53Z
Lists: pgsql-hackers
On 15.11.2014 18:49, Kevin Grittner > If you eliminate the quals besides the zipcode column you get 61 > rows and it gets much stranger, with legal municipalities that are > completely surrounded by Madison that the postal service would > rather you didn't use in addressing your envelopes, but they have > to deliver to anyway, and organizations inside Madison receiving > enough mail to (literally) have their own zip code -- where the > postal service allows the organization name as a deliverable > "city". > > If you want to have your own fun with this data, you can download > it here: > > http://federalgovernmentzipcodes.us/free-zipcode-database.csv > ... > > I bet there are all sorts of correlation possibilities with, for > example, latitude and longitude and other variables. With 81831 > rows and so many correlations among the columns, it might be a > useful data set to test with. Thanks for the link. I've been looking for a good dataset with such data, and this one is by far the best one. The current version of the patch supports only data types passed by value (i.e. no varlena types - text, ), which means it's impossible to build multivariate stats on some of the interesting columns (state, city, ...). I guess it's time to start working on removing this limitation. Tomas
Commits
-
Collect and use multi-column dependency stats
- 2686ee1b7ccf 10.0 landed
-
Implement SortSupport for macaddr data type
- f90d23d0c518 10.0 cited
-
Implement multivariate n-distinct coefficients
- 7b504eb282ca 10.0 landed
-
Generate fmgr prototypes automatically
- 352a24a1f9d6 10.0 cited