Paul Ramsey
758c70c790
Fixed spelling mistake in header text.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@529 b70326c6-7e19-0410-871a-916f4a2858ee
2004-04-28 22:26:02 +00:00
Sandro Santilli
06de6c418a
Added calls to vacuum_delay_point() to give backend a chance of
...
interrupting geometry stats computation.
Set default DEBUG_GEOMETRY_STATS to 0.
git-svn-id: http://svn.osgeo.org/postgis/trunk@488 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-15 17:07:05 +00:00
Sandro Santilli
8fe67f4636
Removed useless code blocks in histogram builder
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@480 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-09 00:21:02 +00:00
Sandro Santilli
4c6b5a4ad6
estimator applies a gain of AOI/cell_area on each cell it intersects (reverted to previous behaviour)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@479 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-09 00:09:56 +00:00
Sandro Santilli
d1b5a5262b
postgis_gist_sel(): added warnings if search_box goes outside of histogram grid
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@462 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-04 13:50:45 +00:00
Sandro Santilli
497f1a8e81
The selectivity estimator does add the full value of each cell it overlaps,
...
regardless of the actual overlapping area. Final gain is not applied
(formerly 1 / minimun between average feature cells occupation and
search_box cells occupation)
git-svn-id: http://svn.osgeo.org/postgis/trunk@461 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-04 09:44:57 +00:00
Sandro Santilli
d40c6739cf
added check to keep selectivity value in the range of validity (suggested by m.cave)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@460 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-03 21:59:48 +00:00
Sandro Santilli
8031bec86a
histogram's boxesPerSide computed as a function of the column's statistic target
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@457 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-01 16:02:41 +00:00
Sandro Santilli
894f7054c0
bug fix in postgis_gist_sel (for PG75): SysCache is not released if not acquired
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@456 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-29 21:53:42 +00:00
Sandro Santilli
5517c8cab0
Fixed bugs reported by Mark Cave-Ayland <m.cave-ayland@webbased.co.uk>.
...
Re-introduced previously removed estimate value incrementation by
the fractional part of each of the cells' value computed as the fraction
of overlapping area.
git-svn-id: http://svn.osgeo.org/postgis/trunk@453 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-26 16:42:59 +00:00
Sandro Santilli
937737f7ac
Added handling for point features in histogram creation (add 1 instead of AOI/cell_area when AOI is 0).
...
Fixed a wrong cast of BOX3D to BOX (called the convertion func).
Added some comments and an implementation on how to change evaluation
based on the average feature and search box cells occupation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@451 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-25 12:00:32 +00:00
Sandro Santilli
90512cef28
initial version of && selectivity estimation for PG75
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@450 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-25 00:46:26 +00:00
Sandro Santilli
8985aab216
geometry analyzer builds the histogram
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@449 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-23 21:59:16 +00:00
Sandro Santilli
f557a4cf46
added skeleton functions for pg75 stats integration
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@448 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-23 12:18:55 +00:00
Sandro Santilli
7f6776e50a
Added support for PG74
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@353 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-11 10:14:57 +00:00
Paul Ramsey
cd876cbd2e
Moved Cygwin endian define out of source files into postgis.h common
...
header file.
git-svn-id: http://svn.osgeo.org/postgis/trunk@280 b70326c6-7e19-0410-871a-916f4a2858ee
2003-07-25 17:08:37 +00:00
Paul Ramsey
d6f7f47e2d
Added CVS revision headers.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@278 b70326c6-7e19-0410-871a-916f4a2858ee
2003-07-01 18:30:55 +00:00
David Blasby
e1d087579d
applied Mark Cave-Ayland's new patch that is a bit cleaner and has a
...
user-defined FETCH limit for creating a histogram.
git-svn-id: http://svn.osgeo.org/postgis/trunk@232 b70326c6-7e19-0410-871a-916f4a2858ee
2003-01-22 17:07:39 +00:00
David Blasby
a8ca9583d6
added patch from Mark Cave-Ayland that saves memory during histogram
...
calculations by using cursors instead of loading all the BOXs at once.
git-svn-id: http://svn.osgeo.org/postgis/trunk@231 b70326c6-7e19-0410-871a-916f4a2858ee
2003-01-21 17:46:08 +00:00
David Blasby
3fd8a10c37
Added support to turn off the postgis_gist_sel() computations (see Makefile).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@200 b70326c6-7e19-0410-871a-916f4a2858ee
2002-10-16 20:33:45 +00:00
David Blasby
2a6741a9d2
New file with original estimation methods.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@197 b70326c6-7e19-0410-871a-916f4a2858ee
2002-10-11 22:52:31 +00:00