<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://prologika.com/CS/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Prologika (Teo Lachev&amp;#39;s Weblog)</title><subtitle type="html">Teo Lachev is a consultant, mentor, and author focusing on the design and development of Microsoft business intelligence solutions. Read about Teo&amp;#39;s work and life. Registered users can post comments.</subtitle><id>http://prologika.com/CS/blogs/blog/atom.aspx</id><link rel="alternate" type="text/html" href="http://prologika.com/CS/blogs/blog/default.aspx" /><link rel="self" type="application/atom+xml" href="http://prologika.com/CS/blogs/blog/atom.aspx" /><generator uri="http://communityserver.org" version="4.1.40407.4157">Community Server</generator><updated>2012-02-07T11:42:07Z</updated><entry><title>Analysis Services Processing and CXPACKET Waits</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/05/14/analysis-services-processing-and-cxpacket-waits.aspx" /><id>/CS/blogs/blog/archive/2012/05/14/analysis-services-processing-and-cxpacket-waits.aspx</id><published>2012-05-15T02:12:14Z</published><updated>2012-05-15T02:12:14Z</updated><content type="html">&lt;p&gt;Performance tuning – my favorite! This blog originated from a quest to reduce the processing time of an SSAS cube which loads some 2.5 billion rows and includes DISCINTCT COUNT measure groups. The initial time to fully process the cube was about 50 minutes on a dedicated DELL PowerEdge R810 server, with 256 GB RAM and two physical processors (32 cores total). Both the SSAS and database servers were underutilizing the CPU resources with SSAS about 60-70 utilizations and the database server about 20-30 CPU utilization. What was the bottleneck?
&lt;/p&gt;&lt;p&gt;By using the sys.dm_os_waiting_tasks DMV like the statement below (you can use also the SQL Server Activity Monitor), we saw a high number of CXPACKET wait types. 
&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:blue;"&gt;SELECT&lt;/span&gt;
			&lt;span style="color:teal;"&gt;dm_ws&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;wait_duration_ms&lt;span style="color:gray;"&gt;,&lt;/span&gt;
					&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_ws&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;wait_type&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:blue;"&gt;status&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_t&lt;span style="color:gray;"&gt;.&lt;span style="color:blue;"&gt;TEXT&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_qp&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;query_plan&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_ws&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;session_ID&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;cpu_time&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;memory_usage&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;logical_reads&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;total_elapsed_time&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:fuchsia;"&gt;program_name&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:fuchsia;font-family:Consolas;font-size:9pt;"&gt;DB_NAME&lt;span style="color:gray;"&gt;(&lt;span style="color:teal;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;database_id&lt;span style="color:gray;"&gt;)&lt;/span&gt; DatabaseName&lt;span style="color:gray;"&gt;,&lt;/span&gt;
						&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:green;"&gt;-- Optional columns&lt;/span&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_ws&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;blocking_session_id&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;wait_resource&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;login_name&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;command&lt;span style="color:gray;"&gt;,&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:teal;font-family:Consolas;font-size:9pt;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;last_wait_type&lt;/span&gt;
			&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:blue;"&gt;FROM&lt;/span&gt;
			&lt;span style="color:green;"&gt;sys&lt;span style="color:gray;"&gt;.&lt;span style="color:green;"&gt;dm_os_waiting_tasks&lt;/span&gt;
					&lt;span style="color:teal;"&gt;dm_ws&lt;/span&gt;
				&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:gray;"&gt;INNER&lt;/span&gt;
			&lt;span style="color:gray;"&gt;JOIN&lt;/span&gt;
			&lt;span style="color:green;"&gt;sys&lt;span style="color:gray;"&gt;.&lt;span style="color:green;"&gt;dm_exec_requests&lt;/span&gt;
					&lt;span style="color:teal;"&gt;dm_r&lt;/span&gt;
					&lt;span style="color:blue;"&gt;ON&lt;/span&gt;
					&lt;span style="color:teal;"&gt;dm_ws&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;session_id&lt;/span&gt; =&lt;/span&gt; dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;session_id&lt;/span&gt;
						&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:gray;"&gt;INNER&lt;/span&gt;
			&lt;span style="color:gray;"&gt;JOIN&lt;/span&gt;
			&lt;span style="color:green;"&gt;sys&lt;span style="color:gray;"&gt;.&lt;span style="color:green;"&gt;dm_exec_sessions&lt;/span&gt;
					&lt;span style="color:teal;"&gt;dm_es&lt;/span&gt;
					&lt;span style="color:blue;"&gt;ON&lt;/span&gt;
					&lt;span style="color:teal;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;session_id&lt;/span&gt; =&lt;/span&gt; dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;session_id&lt;/span&gt;
						&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:gray;"&gt;CROSS&lt;/span&gt;
			&lt;span style="color:gray;"&gt;APPLY&lt;/span&gt;
			&lt;span style="color:green;"&gt;sys&lt;span style="color:gray;"&gt;.&lt;span style="color:green;"&gt;dm_exec_sql_text&lt;span style="color:blue;"&gt;
							&lt;span style="color:gray;"&gt;(&lt;span style="color:teal;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:blue;"&gt;sql_handle&lt;span style="color:gray;"&gt;)&lt;/span&gt;
											&lt;span style="color:teal;"&gt;dm_t&lt;/span&gt;
										&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:gray;"&gt;CROSS&lt;/span&gt;
			&lt;span style="color:gray;"&gt;APPLY&lt;/span&gt;
			&lt;span style="color:green;"&gt;sys&lt;span style="color:gray;"&gt;.&lt;span style="color:green;"&gt;dm_exec_query_plan&lt;span style="color:blue;"&gt;
							&lt;span style="color:gray;"&gt;(&lt;span style="color:teal;"&gt;dm_r&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;plan_handle&lt;span style="color:gray;"&gt;)&lt;/span&gt; dm_qp&lt;/span&gt;
									&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Consolas;font-size:9pt;"&gt;&lt;span style="color:blue;"&gt;WHERE&lt;/span&gt;
			&lt;span style="color:teal;"&gt;dm_es&lt;span style="color:gray;"&gt;.&lt;span style="color:teal;"&gt;is_user_process&lt;/span&gt; =&lt;/span&gt; 1
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;The typical advice given to address CXPACKET waits is to decrease the SQL parallelism by using the MAXDOP setting. This might help in some isolated scenarios, such as UPDATE or DELETE queries. However, the SQL Sentry Plan Explorer showed that each processing query is highly parallelized to utilize all cores. Notice in the screenshot below, that thread 16 fetches only 14,803 rows.
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/051512_0211_AnalysisSer1.png" alt="" /&gt;
	&lt;/p&gt;&lt;p&gt;Therefore, the CXPACKET waits were simply caused by faster threads waiting for other threads to finish. In other words, CXPACKET wait is just a coordination mechanism between the threads being parallelized.  To confirm this, we set the SQL Server MAXDOP setting to 1. Surely, the CXPACKET waits disappeared but the overall cube processing time went up as well. In our case, the biggest benefit was realized not by decreasing the SQL Server parallelism but by increasing it, by increasing the maximum number of database connections. This resulted in decreasing the overall processing time some 20%. 
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/051512_0211_AnalysisSer2.png" alt="" /&gt;
	&lt;/p&gt;&lt;p&gt;You need to be careful here though. While increasing the connections to max out the CPU on the SSAS server will yield the biggest gain, it might also slow down other processing, such as reports that query the cube while the database is being processed. So, as a rule of thumb, target no more than 80% CPU utilization to leave room for other tasks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5511" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Analysis Services" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Analysis+Services/default.aspx" /><category term="Data Warehousing" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Data+Warehousing/default.aspx" /></entry><entry><title>SQL Server 2012 ETL Framework Features in the New SSIS Project Deployment Model</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/04/29/sql-server-2012-etl-framework-features-in-the-new-ssis-project-deployment-model.aspx" /><id>/CS/blogs/blog/archive/2012/04/29/sql-server-2012-etl-framework-features-in-the-new-ssis-project-deployment-model.aspx</id><published>2012-04-29T21:06:00Z</published><updated>2012-04-29T21:06:00Z</updated><content type="html">&lt;p&gt;When moving to SQL Server 2012, ETL developers would need to rethink custom ETL frameworks. If you embrace the new project deployment model, SQL Server 2012 offers a lot of plumbing features out of the box. &lt;a href="http://jenunderwood.com/"&gt;Jen Underwood&lt;/a&gt; wrote a great &lt;a href="http://www.sswug.org/DEVELOPMENT/default.aspx?id=59199"&gt;SQL Server 2012 ETL Framework Features in the New SSIS Catalog&lt;/a&gt; article about what supported and what&amp;#39;s missing. I guess in most cases developers will find that they&amp;#39;ll need to implement incremental features on top of the Microsoft provided toolset that are not supported, such as restartability and execution control, while letting SSIS 2012 handle logging and performance reporting. Another great resource for getting started with the new project deployment model is the &lt;a href="http://sqlblog.com/blogs/jamie_thomson/archive/2011/07/16/ssis-logging-in-denali.aspx"&gt;SSIS Logging&lt;/a&gt; in Denali blog by Jammie Thompson. &lt;/p&gt;
&lt;p&gt;We ran into an interesting &lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/727219/login-failure-message-during-ssis-2012-package-validation"&gt;snag&lt;/a&gt; when validating and executing packages using the new project deployment model with Windows integrated security: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Developer initiates the validation and execution in SSMS from his machine. &lt;/li&gt;
&lt;li&gt;Packages are deployed to a dedicated SQL Server and packages use Windows integrated security to connect to a SQL Server database on a different server. &lt;/li&gt;
&lt;li&gt;The source SQL Server database is on a different server. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As you&amp;#39;ve probably guessed it, this scenario requires configuring Kerberos delegation and registering SPNs for &lt;strong&gt;both&lt;/strong&gt; the SQL Server hosting the SSIS packages and the SQL Server hosting the source database. That&amp;#39;s because validation and execution happen under your login and a double-hop is required to delegate your credentials to the source SQL Server. This can be avoided by using standard security (username and password) to establish connections from your packages to the source SQL Server. This wasn&amp;#39;t an option in our case because customer requirements dictated using Windows security to SQL Server. &lt;/p&gt;
&lt;p&gt;I personally believe that the new Integration Services enhancements alone warrant upgrading to SQL Server 2012.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5509" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Integration Services" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Integration+Services/default.aspx" /></entry><entry><title>Reducing Analysis Services Index Processing Time</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/04/15/reducing-analysis-services-index-processing-time.aspx" /><id>/CS/blogs/blog/archive/2012/04/15/reducing-analysis-services-index-processing-time.aspx</id><published>2012-04-15T13:26:55Z</published><updated>2012-04-15T13:26:55Z</updated><content type="html">&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;: Processing a 100 GB SSAS 2012 cube on a dedicated DELL PowerEdge server (128 GB RAM with 32 logical cores) reveals that 50% of the time is spent on processing the cube indexes and building aggregations with only 20% average CPU utilization and not even a small dent to the memory consumption.  It was clear that SSAS doesn&amp;#39;t utilize the server resources and additional tuning is required to increase the parallelism of this phase.
&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Solution&lt;/strong&gt;: Following Greg Galloway&amp;#39;s advice, we&amp;#39;ve changed the OLAP\Process\AggregationMemoryLimitMin to 2 and OLAP\Process\AggregationMemoryLimitMin to 3 to increase the parallelism of the index processing. This led to 25% reduction of the overall processing time and increased the CPU utilization to 70-80%. As to how we derived to these numbers, James Rogers has a great &lt;a href="http://geekswithblogs.net/ManicArchitect/archive/2010/11/02/142558.aspx"&gt;write-up&lt;/a&gt;.  For the sake of preserving the precious formulas:
&lt;/p&gt;&lt;p&gt;AggregationMemoryLimitMax=Ceiling(100/(&amp;lt;number processing cores&amp;gt;-2))&lt;span style="font-family:Verdana;font-size:12pt;"&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;p&gt;AggregationMemoryLimitMin=Ceiling(100/((&amp;lt;number processing cores&amp;gt;-2)*1.5))
&lt;/p&gt;&lt;p&gt;In case you&amp;#39;re curious about what these setting do, the amount of memory needed to build an aggregation is unknown up front. The engine has to estimate it based of certain factors (estimated rows, granularity attributes, measures, etc.) – and it uses the AggregationMemoryLimitMin value to ensure that if it&amp;#39;s estimate is wrong, that at least there will be a sufficient buffer for underestimation. Similarly, if the estimate is wrong in the upward direction, it will use the AggregationMemoryLimitMax value to trim the max value downward.&lt;span style="font-family:Verdana;font-size:12pt;"&gt;
		&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5497" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Analysis Services" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Analysis+Services/default.aspx" /></entry><entry><title> Presenting at SQL Saturday</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/04/09/presenting-at-sql-saturday.aspx" /><id>/CS/blogs/blog/archive/2012/04/09/presenting-at-sql-saturday.aspx</id><published>2012-04-09T13:17:54Z</published><updated>2012-04-09T13:17:54Z</updated><content type="html">&lt;p&gt;I have a talk &lt;a href="http://www.sqlsaturday.com/111/schedule.aspx"&gt;&amp;quot;The Personal-Team-Organizational BI Conundrum&amp;quot;&lt;/a&gt; at SQL Saturday on April 14&lt;sup&gt;th&lt;/sup&gt; at 9 AM. 
&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;em&gt;Confused about the BI alphabetical soup? Not sure which one makes sense for your organization? Join this session to learn you can use the Microsoft BI platform to address various analytical needs. Discover how to implement the Personal-Team-Organizational continuum on a single platform. I&amp;#39;ll also discuss how Tabular and Multidimensional compare.
&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;I hope you can make it. SQL Saturday is always a good show and this year we have great speakers and great BI content.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5485" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Events" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Events/default.aspx" /></entry><entry><title>Report Builder Connectivity Issues</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/03/28/report-builder-connectivity-issues.aspx" /><id>/CS/blogs/blog/archive/2012/03/28/report-builder-connectivity-issues.aspx</id><published>2012-03-28T13:38:00Z</published><updated>2012-03-28T13:38:00Z</updated><content type="html">&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;: Previewing a Report Builder report connected to Analysis Services works in Report Designer but it fails in Report Builder 3.0 with the following error: &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;An existing connection was forcibly closed by the remote host &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;---------------------------- &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:Courier New;font-size:9pt;"&gt;---------------------------- &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Further, SQL Profiler reveals that an Anonymous connection is attempted to Analysis Services even though you use an embedded report data source (using a shared data source on the server will run the report on the server while with an embedded data source results the report runs on the client).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;strong&gt;Resolution&lt;/strong&gt;: Check if Report Builder is connected to a report server running in SharePoint mode by examining the status bar. If it is, click the Disconnect link. Report preview should now work.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://prologika.com/CS/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/blog/3465.rb.png"&gt;&lt;img src="http://prologika.com/CS/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/blog/3465.rb.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5478" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Reporting Services" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Reporting+Services/default.aspx" /></entry><entry><title>Finding Source Column Names in PowerPivot</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/03/28/find-source-column-name-in-powerpivot.aspx" /><id>/CS/blogs/blog/archive/2012/03/28/find-source-column-name-in-powerpivot.aspx</id><published>2012-03-28T13:29:00Z</published><updated>2012-03-28T13:29:00Z</updated><content type="html">&lt;p&gt;&lt;strong&gt;Question&lt;/strong&gt;: How do I find the source column name in PowerPivot if I&amp;#39;ve renamed and moved columns around? &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Answer&lt;/strong&gt;: Assuming that the table doesn&amp;#39;t use a custom query to import data or it wasn&amp;#39;t derived from an Excel linked table or Windows Clipboard, you can use the table properties to find the source column name as follows: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the PowerPivot Window, click the table to select it. &lt;/li&gt;
&lt;li&gt;In the Design ribbon tab, click Table Properties. &lt;/li&gt;
&lt;li&gt;Make sure that the Column Names From radio button is set to Source. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/032812_1329_FindSourceC1.png" alt="" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5477" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="PowerPivot" scheme="http://prologika.com/CS/blogs/blog/archive/tags/PowerPivot/default.aspx" /></entry><entry><title>VertiPaq Rebranded as xVelocity</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/03/22/vertipaq-rebranded-as-xvelocity.aspx" /><id>/CS/blogs/blog/archive/2012/03/22/vertipaq-rebranded-as-xvelocity.aspx</id><published>2012-03-22T12:40:07Z</published><updated>2012-03-22T12:40:07Z</updated><content type="html">&lt;p&gt;Apparently, the name &amp;quot;VertiPaq&amp;quot; wasn&amp;#39;t catchy enough so Microsoft &lt;a href="http://blogs.technet.com/b/dataplatforminsider/archive/2012/03/08/introducing-xvelocity-in-memory-technologies-in-sql-server-2012-for-10-100x-performance.aspx"&gt;rebranded&lt;/a&gt; it as xVelocity (probably got tipped by Comcast). This is just a name change, no new features.
&lt;/p&gt;&lt;h2&gt;Glossary 
&lt;/h2&gt;&lt;p&gt;
		&lt;strong&gt;xVelocity&lt;/strong&gt;: The SQL Server family of technologies that utilize in-memory columnar storage to achieve very high-performance in query processing.
&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;xVelocity for Business Intelligence&lt;br /&gt;&lt;/strong&gt;Introduced as VertiPaq in the SQL Server 2008 R2 release, this in-memory columnar storage technology is the analytical engine that powered PowerPivot in that release, and is now in both PowerPivot and SQL Server Analysis Services in Tabular mode for the SQL Server 2012 release. xVelocity for BI consists of:
&lt;/li&gt;&lt;/ol&gt;&lt;ul style="margin-left:72pt;"&gt;&lt;li&gt;xVelocity In-memory Analytics Engine in SSAS 2012 Tabular Mode (used for enterprise-grade, scalable BI)
&lt;/li&gt;&lt;li&gt;&lt;div&gt;xVelocity In-memory Analytics Engine (previously called Vertipaq) in PowerPivot (used for self-service and team-oriented BI scenarios), available in PowerPivot for Excel and SharePoint Server
&lt;/div&gt;&lt;p&gt;
 &lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;xVelocity for Data Warehousing&lt;br /&gt;&lt;/strong&gt;Memory-optimized columnar (columnstore) index technology for use with SQL Server Data Warehouses. Data is stored in column-wise fashion that can be used to answer a query just like data in any other type of index. A columnstore index appears as an index on a table when examining catalog views or the Object Explorer in Management Studio. The query optimizer considers the columnstore index as a data source for accessing data just like it considers other indexes when creating a query plan.
&lt;/li&gt;&lt;/ol&gt;&lt;h2&gt;Exceptions
&lt;/h2&gt;&lt;p&gt;In cases where the VertiPaq name appears in the product (VertiPaqpagingpolicy parameter, VertiPaq SE event, etc.), please continue to use VertiPaq, or xVelocity (VertiPaq) if necessary to avoid confusion. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5473" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Business Intelligence" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Business+Intelligence/default.aspx" /></entry><entry><title>BIDS Helper 1.6 Beta Released</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/03/20/bids-helper-1-6-beta-released.aspx" /><id>/CS/blogs/blog/archive/2012/03/20/bids-helper-1-6-beta-released.aspx</id><published>2012-03-20T17:54:57Z</published><updated>2012-03-20T17:54:57Z</updated><content type="html">&lt;p&gt;Fellow MVPs have just released the latest public beta build of &lt;a href="http://bidshelper.codeplex.com/"&gt;BIDS Helper&lt;/a&gt;, which should one of the first utilities you install after you install SQL Server on your machine.  Besides fixes and updates, this release adds support for SQL Server 2012 and new features specific to Analysis Services Tabular.
&lt;/p&gt;&lt;p&gt;This beta release is the first to support SQL Server 2012 (in addition to SQL Server 2005, 2008, and 2008 R2). Since it is marked as a beta release, we are looking for bug reports in the next few months as you use BIDS Helper on real projects. In addition to getting all existing BIDS Helperfunctionality working appropriately in SQL Server 2012 (SSDT), the following features are new.
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Analysis Services Tabular 
&lt;/li&gt;&lt;li&gt;Smart Diff 
&lt;/li&gt;&lt;li&gt;Tabular Actions Editor 
&lt;/li&gt;&lt;li&gt;Tabular HideMemberIf 
&lt;/li&gt;&lt;li&gt;Tabular Pre-Build&lt;/li&gt;&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5471" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="General" scheme="http://prologika.com/CS/blogs/blog/archive/tags/General/default.aspx" /></entry><entry><title>Hiding SQL Server 2012 Reporting Services Extensions in SharePoint</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/03/15/hiding-sql-server-2012-reporting-services-extensions-in-sharepoint.aspx" /><id>/CS/blogs/blog/archive/2012/03/15/hiding-sql-server-2012-reporting-services-extensions-in-sharepoint.aspx</id><published>2012-03-15T17:16:34Z</published><updated>2012-03-15T17:16:34Z</updated><content type="html">&lt;p&gt;To continue my Report Server Settings in SQL Server 2012 SharePoint Integration Mode &lt;a href="http://prologika.com/CS/blogs/blog/archive/2011/11/15/report-server-settings-in-sql-server-2012-sharepoint-integration-mode.aspx"&gt;blog&lt;/a&gt;, here is another example of how to use the new PowerShell-based configuration mechanism to hide a rendering extension. In this case, the script finds an SSRS application called SQL Server SSRS (replace with the name of your SSRS application from SharePoint Central Admin) and hides the XML renderer so the XML export option doesn&amp;#39;t appear  in the Actions drop-down.
&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;$apps = Get-SPRSServiceApplication  | where {$_.name -like &amp;quot;SQL Server SSRS&amp;quot;}
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;Set-SPRSExtension -identity $apps -ExtensionType &amp;quot;Render&amp;quot; -name &amp;quot;XML&amp;quot; -ExtensionAttributes &amp;quot;&amp;lt;Visible&amp;gt;False&amp;lt;/Visible&amp;gt;&amp;quot;
&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5470" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Reporting Services" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Reporting+Services/default.aspx" /><category term="SharePoint" scheme="http://prologika.com/CS/blogs/blog/archive/tags/SharePoint/default.aspx" /></entry><entry><title>Can’t Activate Reporting Services Service in SharePoint</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/03/15/can-t-activate-reporting-services-service-in-sharepoint.aspx" /><id>/CS/blogs/blog/archive/2012/03/15/can-t-activate-reporting-services-service-in-sharepoint.aspx</id><published>2012-03-15T15:12:00Z</published><updated>2012-03-15T15:12:00Z</updated><content type="html">&lt;p&gt;I upgraded SQL Server 2012 from RC0 to RTM today on a SharePoint application server which was configured for Reporting Services integration. The upgrade went with no errors but I got this error when requesting reports: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;span style="color:#676767;font-family:Verdana;font-size:8pt;"&gt;The requested service, &amp;#39;http://amatltapp02:32843/1dacf49a2f7a4a6daa8db5768539893f/ReportingWebService.svc&amp;#39; could not be activated. See the server&amp;#39;s diagnostic trace logs for more information. &lt;/span&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="color:#676767;font-family:Verdana;font-size:8pt;"&gt;The requested service, &amp;#39;http://amatltapp02:32843/1dacf49a2f7a4a6daa8db5768539893f/ReportingWebService.svc&amp;#39; could not be activated. See the server&amp;#39;s diagnostic trace logs for more information. &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And, when browsing directly the service:&lt;span&gt; &lt;/span&gt;
&lt;p&gt;After some digging out, we solved the issue by changing the Enable 32-Bit Applications property of the IIS application pool for the SharePoint web application to False. &lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.prologika.com/blog/031512_1512_CantActivat1.png" alt="" /&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Server Error in &amp;#39;/1dacf49a2f7a4a6daa8db5768539893f&amp;#39; Application. 
&lt;hr /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;The farm is unavailable.&lt;/i&gt;&lt;/h2&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5469" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Reporting Services" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Reporting+Services/default.aspx" /><category term="SharePoint" scheme="http://prologika.com/CS/blogs/blog/archive/tags/SharePoint/default.aspx" /></entry><entry><title>Presenting at SQL Server Special Ops Tour Atlanta</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/03/02/presenting-at-sql-server-special-ops-tour-atlanta.aspx" /><id>/CS/blogs/blog/archive/2012/03/02/presenting-at-sql-server-special-ops-tour-atlanta.aspx</id><published>2012-03-02T21:59:42Z</published><updated>2012-03-02T21:59:42Z</updated><content type="html">&lt;p&gt;I&amp;#39;ve been honored to be selected by Microsoft to present the Self-service BI using PowerPivot and Power View session for the &lt;a href="http://www.regonline.com/Register/Checkin.aspx?EventID=1058831"&gt;SQL Server Special Ops Tour&lt;/a&gt; in Atlanta on Monday, March 5&lt;sup&gt;th&lt;/sup&gt;. 
&lt;/p&gt;&lt;div&gt;&lt;table style="border-collapse:collapse;" border="0"&gt;&lt;colgroup&gt;&lt;col style="width:123px;" /&gt;&lt;col style="width:280px;" /&gt;&lt;col style="width:234px;" /&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr style="height:17px;background:red;"&gt;&lt;td colspan="3" style="padding-left:7px;padding-right:7px;border-top:solid black 0.5pt;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="color:white;font-size:10pt;"&gt;&lt;strong&gt;EVENT AGENDA&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height:17px;background:gray;"&gt;&lt;td colspan="2" style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="color:white;font-size:10pt;"&gt;&lt;strong&gt;Agenda&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="color:white;font-size:10pt;"&gt;&lt;strong&gt;Speaker&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height:19px;"&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;12:30pm – 1:30pm&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Registration Opens 
&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;1:30pm – 2:30pm&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;SQL Server 2012 – The New World of Data
&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI;font-size:9pt;"&gt;Dandy Weyn – FTE – Sr. Tech Prod Mgr&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;2:30pm – 3:15pm  &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Introduction to SQL Server 2012 AlwaysON – Availability Groups&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI;font-size:9pt;"&gt;Geoff Hiten – MVP – Community &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;3:15pm – 3:30pm
&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Break – drinks and light snacks&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;strong&gt;3:30pm – 4:15pm&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&lt;strong&gt;Self-Service BI using PowerPivot and Power View
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI;font-size:9pt;"&gt;&lt;strong&gt;Teo Lachev – MVP – Community&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;4:15pm – 4:45pm&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Understanding Microsoft Training &amp;amp; Certifications for Microsoft SQL Server 2012&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-family:Segoe UI;font-size:9pt;"&gt;Bob Taylor – FTE – Principal PFE&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:solid black 0.5pt;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;4:45pm – 5:15pm&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;In Summary
&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:none;border-left:none;border-bottom:solid black 0.5pt;border-right:solid black 0.5pt;"&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;All speakers&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;Join us to celebrate SQL Server 2012!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5465" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Events" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Events/default.aspx" /></entry><entry><title>Finding Reporting Services Service in SharePoint</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/03/02/finding-reporting-services-service-in-sharepoint.aspx" /><id>/CS/blogs/blog/archive/2012/03/02/finding-reporting-services-service-in-sharepoint.aspx</id><published>2012-03-02T21:47:00Z</published><updated>2012-03-02T21:47:00Z</updated><content type="html">&lt;p&gt;&lt;strong&gt;&lt;em&gt;SharePoint is a like an ocean &amp;ndash; the further you go, the deeper it gets &lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Ancient proverb&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Scenario&lt;/strong&gt;: Configure SQL Server 2012 Reporting Services on a multi-server SharePoint farm with the following topology: &lt;/p&gt;
&lt;p&gt;WEB1 &amp;ndash; Web front-end Server 1 &lt;/p&gt;
&lt;p&gt;WEB2 &amp;ndash; Web front-end Server 2 &lt;/p&gt;
&lt;p&gt;APP1 &amp;ndash; Application server 1 that hosts the Central Administration site &lt;/p&gt;
&lt;p&gt;APP2 &amp;ndash; Needs SSRS 2012 &lt;/p&gt;
&lt;p&gt;APP2 &amp;ndash; Needs SSRS 2012&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;: I couldn&amp;#39;t find the SQL Server Reporting Services Service Application option when I expanded the New button in Central Administration &lt;span style="font-family:Wingdings;"&gt;&amp;eth;&lt;/span&gt; Manage Service Applications&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Resolution&lt;/strong&gt;: Although the SQL Server 2012 Reporting Services service and Reporting Services Add-in were installed on APP2 and APP3, the SQL Server Reporting Services service wasn&amp;#39;t registered at a farm level. As a result, I couldn&amp;#39;t find the SQL Server Reporting Services Service in Central Admin -&amp;gt; Manage Services on Server on none of the application servers. As it turned out, the SSRS service must be also registered on the application server hosting Central Administration (APP1 in my case) as Prash Shirolkar explains in his &lt;a href="http://blogs.msdn.com/b/prash/archive/2011/07/01/do-not-see-the-ssrs-shared-service-in-ca-after-installing-ssrs-quot-denali-quot-sharepoint-mode.aspx"&gt;blog&lt;/a&gt;:&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remote in to APP1. &lt;/li&gt;
&lt;li&gt;Install the Reporting Services add-in to get the SSRS PowerShell cmdlets. In my case, I installed only the add-in and not the Reporting Services service since I didn&amp;#39;t want it on APP1. &lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Run the SharePoint 2010 PowerShell as admin and execute the three commands in the Install and Start the Reporting Services SharePoint Service in the Install Reporting Services SharePoint Mode as a Single Server Farm &lt;a href="http://technet.microsoft.com/en-us/library/gg492276(v=sql.110).aspx"&gt;document&lt;/a&gt;: &lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Install-SPRSService &lt;/li&gt;
&lt;li&gt;Install-SPRSServiceProxy &lt;/li&gt;
&lt;li&gt;get-spserviceinstance -all |where {$_.TypeName -like &amp;quot;SQL Server Reporting*&amp;quot;} | Start-SPServiceInstance&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Interestingly, the first two commands don&amp;#39;t echo any output. The third command, however, should show you a message that the SSRS service has been provisioned. Now, you can go to Central Administration &lt;span style="font-family:Wingdings;"&gt;&amp;eth;&lt;/span&gt; Manage Services on Server and you should be able to find the SQL Server Reporting Services Service. More importantly, you should be able to go to Central Administration &lt;span style="font-family:Wingdings;"&gt;&amp;eth;&lt;/span&gt; Manage Service Applications, expand the New button and then click SQL Server Reporting Services Service Application to finalize the Reporting Services setup.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Possible alternative resolution path &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Although I haven&amp;#39;t tried it because the client woudn&amp;#39;t allow farm configuration changes, another potential resolution path could be to temporarily switch the application server that hosts the Central Administration utility to one of the SSRS application server (APP2 or APP3) as explained in the &lt;a href="http://kirkbarrett.wordpress.com/2010/06/22/how-to-change-central-admin-host-in-sharepoint-2010/"&gt;blog post&lt;/a&gt;, &amp;quot;How to change Central Admin Host in SharePoint 2010&amp;quot; by Kirk Barrett. Then, you can register the SSSRS service on that server by executing the steps in item 3 above. Finally, switch back the Central Administration host server to the original server (APP1). &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5464" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Reporting Services" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Reporting+Services/default.aspx" /><category term="SharePoint" scheme="http://prologika.com/CS/blogs/blog/archive/tags/SharePoint/default.aspx" /><category term="SQL Server 11" scheme="http://prologika.com/CS/blogs/blog/archive/tags/SQL+Server+11/default.aspx" /></entry><entry><title>Presenting Personal BI with PowerPivot v2</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/02/23/presenting-personal-bi-with-powerpivot-v2.aspx" /><id>/CS/blogs/blog/archive/2012/02/23/presenting-personal-bi-with-powerpivot-v2.aspx</id><published>2012-02-23T17:52:35Z</published><updated>2012-02-23T17:52:35Z</updated><content type="html">&lt;p&gt;I&amp;#39;ll be presenting &amp;quot;Personal BI with PowerPivot v2&amp;quot; for the Atlanta BI Group on Monday, February 27th. Join us to learn when personal BI makes sense and why PowerPivot is the best tool on the market when it does. The focus will be on the new features of PowerPivot version 2 which launch officially in a week or so.
&lt;/p&gt;&lt;p&gt;For more information and to register visit our &lt;a href="http://atlantabi.sqlpass.org/"&gt;Atlanta BI home page&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.prologika.com/blog/022312_1752_PresentingP1.png" alt="" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5457" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="PowerPivot" scheme="http://prologika.com/CS/blogs/blog/archive/tags/PowerPivot/default.aspx" /></entry><entry><title>Announcing My New Book</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/02/11/announcing-my-new-book.aspx" /><id>/CS/blogs/blog/archive/2012/02/11/announcing-my-new-book.aspx</id><published>2012-02-11T14:55:00Z</published><updated>2012-02-11T14:55:00Z</updated><content type="html">&lt;p&gt;&lt;a href="http://www.prologika.com/Books/0976635356/Book.aspx"&gt;&lt;img height="194" width="157" src="http://www.prologika.com/blog/021112_1455_AnnouncingM1.png" align="left" border="0" style="margin:0px 15px 10px 0px;" alt="" /&gt;&lt;/a&gt;My new &lt;a href="http://www.prologika.com/Books/0976635356/Book.aspx"&gt;book&lt;/a&gt;, Applied Microsoft SQL Server 2012 Analysis Services (Tabular Modeling), will start shipping in a week with all popular resellers, such as Amazon, B&amp;amp;N, etc. I&amp;#39;ve been working on it for a few months and I&amp;#39;m excited to have it done. While waiting to buy the book, check the following resources to get you started with PowerPivot and Tabular: &lt;/p&gt;
&lt;p&gt;- A &lt;a href="http://www.prologika.com/Books/0976635356/Resources/sample_chapters.pdf"&gt;sample chapter&lt;/a&gt; &amp;ndash; &amp;quot;Introducing Business Intelligence Semantic Model&amp;quot; &lt;/p&gt;
&lt;p&gt;- &lt;a href="http://www.prologika.com/Books/0976635356/Video/amas2012.html"&gt;Video demos&lt;/a&gt; &amp;ndash; I recorded over three hours of video content for selected exercises in the book &lt;/p&gt;
&lt;p&gt;An insightful tour that provides an authoritative yet independent view of this exciting technology, this guide introduces the Tabular side of the innovative Business Intelligence Semantic Model (BISM) that promotes rapid professional and self-service BI application development. Business analysts and power users will learn how to integrate data from multiple data sources, implement self-service BI applications with Excel, and deploy them to SharePoint. Business intelligence professionals and database administrators will discover how to build corporate solutions powered by BISM Tabular, delivering supreme performance with large data volumes, and how to implement a wide range of solutions for the entire spectrum of personal-team-organizational BI needs. &lt;/p&gt;
&lt;p&gt;WHAT&amp;#39;S INSIDE:&lt;br /&gt;Chapter 1: Introducing Business Intelligence Semantic Model&lt;/p&gt;
&lt;p&gt;PART I: PERSONAL BI WITH POWERPIVOT FOR EXCEL&lt;br /&gt;Chapter 2: Personal BI Basics&lt;br /&gt;Chapter 3: Importing Data&lt;br /&gt;Chapter 4: Refining the Model&lt;br /&gt;Chapter 5: Analyzing Data&lt;br /&gt;Chapter 6: Implementing Calculations&lt;/p&gt;
&lt;p&gt;PART II: TEAM BI WITH POWERPIVOT FOR SHAREPOINT&lt;br /&gt;Chapter 7: Team BI Basics&lt;br /&gt;Chapter 8: SharePoint Insights&lt;br /&gt;Chapter 9: Managing PowerPivot for SharePoint&lt;/p&gt;
&lt;p&gt;PART III: ORGANIZATIONAL BI WITH ANALYSIS SERVICES TABULAR&lt;br /&gt;Chapter 10: Organizational BI Basics&lt;br /&gt;Chapter 11: Designing Storage and Security&lt;br /&gt;Chapter 12: Managing Tabular Models&lt;/p&gt;
&lt;p&gt;Enoy!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5450" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author><category term="Books" scheme="http://prologika.com/CS/blogs/blog/archive/tags/Books/default.aspx" /></entry><entry><title>ProcessUpdate and Partition Scans</title><link rel="alternate" type="text/html" href="/CS/blogs/blog/archive/2012/02/07/processupdate-and-partition-scans.aspx" /><id>/CS/blogs/blog/archive/2012/02/07/processupdate-and-partition-scans.aspx</id><published>2012-02-07T16:42:07Z</published><updated>2012-02-07T16:42:07Z</updated><content type="html">&lt;p&gt;I&amp;#39;m working on minimizing the cube processing for a cube with some two billion rows in a fact table. I put together an ETL package that processes the dimensions with ProcessUpdate following by processing the latest partitions. I&amp;#39;ve noticed that processing one of the dimensions , which happens to be the largest (some 1 million rows) and most complicated dimension, resulted in partitions scans. The SQL Profiler showed the scans with the following events:
&lt;/p&gt;&lt;p&gt;&lt;span style="color:red;font-size:10pt;"&gt;Finished processing the &amp;#39;&lt;em&gt;&amp;lt;partition name&amp;gt;&lt;/em&gt;&amp;#39; partition
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;These partition scans don&amp;#39;t result in SQL queries to the database and normally should execute pretty fast. In this case, however, the scans were taking plenty of time resulting in some 15 minutes delay in the incremental processing flow. With some help from T.K. Anand, it turned out that I had a design issue with that dimension. I discovered the issue by changing the KeyDuplicate error in the dimension ErrorConfiguration to True and fully processing the dimension. Dimension processing failed because of the attribute relationships implied a one-to-many relationship between two attributes but the data didn&amp;#39;t support it. Somewhere along the design cycle, I turned off KeyDuplicate probably to get around the same issue in order to process the dimension successfully. 
&lt;/p&gt;&lt;p&gt;So, the moral of this story is:
&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Always check your dimensions with the Dimension Health Check feature of the BIDS Helper.
&lt;/li&gt;&lt;li&gt;Don&amp;#39;t turn off KeyDuplicate.
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;BTW, the problem with duplicate key errors is that the server can move members around  and that would cause indexes and aggregations to require being rebuilt. For example, if you have the following members in the source data:
&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Attr1Key    Attr2Key
&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;55        32
&lt;/p&gt;&lt;p&gt;55        35
&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;The first time, the engine may store 32 as the related member. But the second time it sees the rows during ProcessUpdate, it would potentially choose 35 as the related member. And that&amp;#39;s going to cause indexes and aggregations to need rebuilding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://prologika.com/CS/aggbug.aspx?PostID=5444" width="1" height="1"&gt;</content><author><name>tlachev</name><uri>http://prologika.com/CS/members/tlachev/default.aspx</uri></author></entry></feed>
