<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Distributed Partitioned Views / Federated Databases: Lessons Learned</title><link>http://blogs.msdn.com/sqlcat/archive/2007/06/20/distributed-partitioned-views-federated-databases-lessons-learned.aspx</link><description>Introduction This article contains information about the things we have learned while working with Federated Databases. Before beginning it is necessary to define the terms being used. Included in this article is one solution in production that is using</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Good Distributed Partitioned Views / Federated Databases Article</title><link>http://blogs.msdn.com/sqlcat/archive/2007/06/20/distributed-partitioned-views-federated-databases-lessons-learned.aspx#3444294</link><pubDate>Thu, 21 Jun 2007 17:47:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3444294</guid><dc:creator>Denis Gobo</dc:creator><description>&lt;p&gt;The Microsoft SQL Server Development Customer Advisory Team has a nice blog post about Distributed Partitioned&lt;/p&gt;
</description></item><item><title>re: Distributed Partitioned Views / Federated Databases: Lessons Learned</title><link>http://blogs.msdn.com/sqlcat/archive/2007/06/20/distributed-partitioned-views-federated-databases-lessons-learned.aspx#3569362</link><pubDate>Wed, 27 Jun 2007 23:01:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3569362</guid><dc:creator>darrenweiner</dc:creator><description>&lt;p&gt;Great overview/summary..thanks!&lt;/p&gt;
</description></item><item><title>re: Distributed Partitioned Views / Federated Databases: Lessons Learned</title><link>http://blogs.msdn.com/sqlcat/archive/2007/06/20/distributed-partitioned-views-federated-databases-lessons-learned.aspx#4625571</link><pubDate>Wed, 29 Aug 2007 10:46:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4625571</guid><dc:creator>EwanCourtney</dc:creator><description>&lt;p&gt;Good article. I have a question on Definition 3, around the GOOD and BAD examples for the partitioned view.&lt;/p&gt;
&lt;p&gt;If server1 hosts DB2005 locally, how will the same view work on server2? I can see how changing the linked server definition gives you indirection for the non-local databases, but what happens to the local database? What am I missing here? The BAD example looks to me to be the 'correct' (but inelegant) solution.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ewan&lt;/p&gt;
</description></item><item><title>re: Distributed Partitioned Views / Federated Databases: Lessons Learned</title><link>http://blogs.msdn.com/sqlcat/archive/2007/06/20/distributed-partitioned-views-federated-databases-lessons-learned.aspx#6969898</link><pubDate>Thu, 03 Jan 2008 20:21:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6969898</guid><dc:creator>tasmisr</dc:creator><description>&lt;p&gt;great article. I'm also having difficulty implementing definition 3 above:&lt;/p&gt;
&lt;p&gt;On Server1: when you create a linked server in sql server 2005, in the &amp;quot;New Linked Server&amp;quot; window / general Tab, If I use an alias like for example &amp;quot;Server2&amp;quot;, and then choose &amp;quot;Other data source&amp;quot;, and then I put in the server ip in the data source, it gets added, but I cannot run queries against it, I get the following error:&lt;/p&gt;
&lt;p&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;SERVER2&amp;quot; returned message &amp;quot;Login timeout expired&amp;quot;.&lt;/p&gt;
&lt;p&gt;OLE DB provider &amp;quot;SQLNCLI&amp;quot; for linked server &amp;quot;SERVER2&amp;quot; returned message &amp;quot;An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.&amp;quot;.&lt;/p&gt;
&lt;p&gt;but when I use the option &amp;quot;Sql Server&amp;quot; in the Sql type, it works but I cannot use the alias &amp;quot;Server2&amp;quot; in that case, hence I will not be able to do it like in definition 3.&lt;/p&gt;
</description></item><item><title>re: Distributed Partitioned Views / Federated Databases: Lessons Learned</title><link>http://blogs.msdn.com/sqlcat/archive/2007/06/20/distributed-partitioned-views-federated-databases-lessons-learned.aspx#7108718</link><pubDate>Mon, 14 Jan 2008 18:23:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7108718</guid><dc:creator>jadeflon</dc:creator><description>&lt;p&gt;Good article.&lt;/p&gt;
&lt;p&gt;May you post more articles about this theme.&lt;/p&gt;
&lt;p&gt;More detail would be welcome.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
</description></item><item><title>re: Distributed Partitioned Views / Federated Databases: Lessons Learned</title><link>http://blogs.msdn.com/sqlcat/archive/2007/06/20/distributed-partitioned-views-federated-databases-lessons-learned.aspx#7291356</link><pubDate>Mon, 28 Jan 2008 21:47:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7291356</guid><dc:creator>clientserverarch</dc:creator><description>&lt;p&gt;Good article.&lt;/p&gt;
&lt;p&gt;We have VLDB on SQL2000. Our primary table contains slightly less than 1B records, and I am anticipating 450M records per year.&lt;/p&gt;
&lt;p&gt;Thus we have implemented distributed view on 2000 across 6 clusters, and it works reasonably well. As we are migrating to SQL2005, I am not certain of the maturity of partitioning to migrate to that architecture, as well as having everything on a single server. My first reaction is to architect a hybrid solution, where I would use partitioning on the local servers, and then have a distributed view on top of all the partitions.&lt;/p&gt;
&lt;p&gt;I have concern implementing the above as MS is saying that distributed view is going to be removed from future releases, but I doubt that partitioning would be able to handle our data volume.&lt;/p&gt;
&lt;p&gt;Any thoughts would be appreciated.&lt;/p&gt;
</description></item><item><title>re: Distributed Partitioned Views / Federated Databases: Lessons Learned</title><link>http://blogs.msdn.com/sqlcat/archive/2007/06/20/distributed-partitioned-views-federated-databases-lessons-learned.aspx#7291856</link><pubDate>Mon, 28 Jan 2008 22:33:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7291856</guid><dc:creator>kevincox</dc:creator><description>&lt;p&gt;Distributed view is not going to be removed from future releases, at least not any time soon.&lt;/p&gt;
&lt;p&gt;Table Partitioning would handle your data volume as 1B records is not very much in today's world. &amp;nbsp;Of course that depends on what type of hardware you are running on. &amp;nbsp;But if you choose table partitioning you may be able to minimize the impact by marking some of the partitions with older data as read-only. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your hybrid solution could also work well because you can use table partitioning on the local servers as well as use a distributed view on top of all the tables. &amp;nbsp;The Optimizer is very good in this case to only touch the tables and partitions it needs if you supply all the partitioning keys in the queries.&lt;/p&gt;
</description></item><item><title>re: Distributed Partitioned Views / Federated Databases: Lessons Learned</title><link>http://blogs.msdn.com/sqlcat/archive/2007/06/20/distributed-partitioned-views-federated-databases-lessons-learned.aspx#7311643</link><pubDate>Tue, 29 Jan 2008 22:38:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7311643</guid><dc:creator>jadeflon</dc:creator><description>&lt;p&gt;If identities are not allowed in distributed views.&lt;/p&gt;
&lt;p&gt;May you help me underestand how do you handle non significant pk fields? do you use a separated table with a counter per table?&lt;/p&gt;
&lt;p&gt;Where can I get an detailed example?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Distributed Partitioned Views / Federated Databases: Lessons Learned</title><link>http://blogs.msdn.com/sqlcat/archive/2007/06/20/distributed-partitioned-views-federated-databases-lessons-learned.aspx#7336464</link><pubDate>Thu, 31 Jan 2008 03:23:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7336464</guid><dc:creator>kevincox</dc:creator><description>&lt;p&gt;A GUID is the most popular solution instead of using Identities when you want to create a partitioned view. &amp;nbsp;&lt;/p&gt;
</description></item></channel></rss>