<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; SQL Server Spatial Data</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/sql-server-spatial-data/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 01:12:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Getting 2008 voting data inside Spatial</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/getting-2008-voting-data-inside-spatial/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/getting-2008-voting-data-inside-spatial/#comments</comments>
		<pubDate>Mon, 04 Mar 2013 15:16:31 +0000</pubDate>
		<dc:creator>lloydia</dc:creator>
				<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server Spatial Data]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/getting-2008-voting-data-inside-spatial/</guid>
		<description><![CDATA[New Answer by Michael Tidmarsh]]></description>
				<content:encoded><![CDATA[New Answer by Michael Tidmarsh]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/getting-2008-voting-data-inside-spatial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spatial query optimizing</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/spatial-query-optimizing/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/spatial-query-optimizing/#comments</comments>
		<pubDate>Sat, 29 May 2010 23:32:53 +0000</pubDate>
		<dc:creator>Overtech</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Express]]></category>
		<category><![CDATA[SQL Server query optimization]]></category>
		<category><![CDATA[SQL Server Spatial Data]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have a development machine and a production machine with identical databases, but I&#8217;m getting huge differences in execution plans when running a spatial query. First, my development machine: It&#8217;s SQL Server Express x64 with Reporting Services running on Win7 with 8Gb RAM. Then my production machine: SQL Server with Reporting Services running on Windows [...]]]></description>
				<content:encoded><![CDATA[<p>I have a development machine and a production machine with identical databases, but I&#8217;m getting huge differences in execution plans when running a spatial query.</p>
<p>First, my development machine:<br />
It&#8217;s SQL Server Express x64 with Reporting Services running on Win7 with 8Gb RAM.</p>
<p>Then my production machine:<br />
SQL Server with Reporting Services running on Windows Server 2008 with 8Gb RAM (x86 though, so only 4Gb usable).</p>
<p>I have a table that contains about 3000+ records containing polygon coordinates.  The database that holds the table is identical on both machines.  A sample query I&#8217;m running on the dev machine executes in a fraction of a second but takes 11 seconds on the production machine.  When I looked at the execution plans, I was surprised to see that they are completely different on the two machines.</p>
<p>The query is:</p>
<pre>
SELECT *
FROM USCounties
WHERE geography::STGeomFromText('POINT(-86.7535 33.6499)', 4326).STIntersects(Polygon) = 1
</pre>
<p>On the production machine the execution plan shows 3 steps:<br />
SELECT Cost: 0%<br />
Filter Cost: 97%<br />
Clustered Index Scan Cost: 3%</p>
<p>But on the dev machine the execution plan is much more complex and includes things like &#8220;Nested Loops&#8221;, &#8220;Hash Match&#8221; and &#8220;Compute Scalar&#8221;.  The indexes on the two machines look identical from what I can see and the data is identical.  I would expect a performance difference just based on x86 vs x64, but I don&#8217;t understand the difference in execution plans&#8230;</p>
<p>I really don&#8217;t know much of anything about db optimization, any tips from the experts here?</p>
<p> - Dave</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/spatial-query-optimizing/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Free Chapter &#8211; Beginning Spatial with SQL Server 2008</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/free-chapter-beginning-spatial-with-sql-server-2008/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/free-chapter-beginning-spatial-with-sql-server-2008/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 12:09:56 +0000</pubDate>
		<dc:creator>BrentSheets</dc:creator>
				<category><![CDATA[Alastair Aitchison]]></category>
		<category><![CDATA[Apress]]></category>
		<category><![CDATA[Free Chapters]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server Spatial Data]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Another free chapter download is available on the IT Bookworm Blog. Written by: Alastair Aitchison Book: Beginning Spatial with SQL Server 2008 Overview: &#8220;Microsoft SQL Server 2008 introduces new geography and geometry spatial datatypes that enable the storage of structured data describing the shape and position of objects in space. This is an interesting and [...]]]></description>
				<content:encoded><![CDATA[<p>Another free chapter download is available on the IT Bookworm Blog.</p>
<p> <b>Written by:</b> Alastair Aitchison<br />
 <b>Book:</b> Beginning Spatial with SQL Server 2008</p>
<p> <b>Overview:</b> &#8220;Microsoft SQL Server 2008 introduces new geography and geometry spatial datatypes that enable the storage of structured data describing the shape and position of objects in space. This is an interesting and exciting new feature, with many potentially useful applications. Beginning Spatial with SQL Server 2008 covers everything you need to know to begin using these new spatial datatypes, and explains how to apply them in practical situations involving the spatial relationships of people, places, and things on the earth.&#8221;</p>
<p><b>Download the free chapter at the link below:</b><br />
<a href="http://itknowledgeexchange.techtarget.com/bookworm/implementing-spatial-data-in-sql-server-2008/">Chapter 2: Implementing Spatial Data in SQL Server 2008</a></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/free-chapter-beginning-spatial-with-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/16 queries in 0.019 seconds using memcached
Object Caching 445/489 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 05:20:52 -->