I have been looking into how to "boost" display performance with data storage in SQL Server 2008 spatial format. Using SQL Server Management Studio (recent expensive queries) I noticed when Map Suite fetches data it uses the STIntersect. I have read several documents concerning SQL Server and they recommend using the STFilter instead of Intersect when the exact number of records returned in not critical.
I would be curious to know if Map Suite has tested the Filter method to improve drawing performance. I also did some reading that at the next release (SQL Server 2011), the filter time is even faster given some new indexing that will be put in place.
Go here and download the Word document, about SQL Server 2011:
sqlcat.com/whitepapers/archive/2010/11/09/new-spatial-features-in-sql-server-code-named-denali-community-technology-preview-1.aspx
See blogs.msdn.com/b/isaac/archive/2008/04/08/more-on-the-multi-level-grid.aspx about Filter vs Intersect
Q: What is the difference between STIntersects and Filter?
A: If there isn't an index, they do exactly the same thing. This can happen on the client, or on the server if you haven't defined an index (or if the index isn't chosen for some reason). When there is an index involved, Filter will not do any secondary filtering. I.e., it is only guaranteed to return a superset of the results an STIntersects predicate will return: it may return extras. This is useful for applications that are simply displaying results, are not sensitive to some extras, and want to avoid the cost of the secondary filter. If you need precise results, use STIntersects.
Thanks.
-John