<?xml version="1.0" encoding="utf-8"?><!-- generator="b2evolution/6.11.7-stable" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>SQL Server &#38; BI Blog by Andreas Wolter - Category: "Analysis Services"</title>
		<link>https://www.insidesql.org/blogs/andreaswolter/</link>
		<atom:link rel="self" type="application/rss+xml" href="https://www.insidesql.org/blogs/andreaswolter/?tempskin=_rss2" />
		<description>InsideSQL.org Blogs - Blogs über SQL Server</description>
		<language>en-EU</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=6.11.7-stable"/>
		<ttl>60</ttl>
				<item>
			<title>Dieser Blog ist umgezogen // This Blog has moved: http://andreas-wolter.com/blog/</title>
			<link>https://www.insidesql.org/blogs/andreaswolter/2017/09/blog-umgezogen-this-blog-moved-andreas-wolter-com</link>
			<pubDate>Wed, 20 Sep 2017 10:41:00 +0000</pubDate>			<dc:creator>Andreas Wolter</dc:creator>
			<category domain="alt">Seminare</category>
<category domain="alt">SQLPASS</category>
<category domain="alt">Tracing &amp; Monitoring</category>
<category domain="alt">Analysis Services</category>
<category domain="alt">Extended Events</category>
<category domain="alt">Conferences</category>
<category domain="alt">Oracle</category>
<category domain="alt">Security</category>
<category domain="alt">Locking &amp; Blocking</category>
<category domain="alt">SQL Trace &amp; Profiler</category>
<category domain="alt">SQL Server 2014</category>
<category domain="alt">Indexing</category>
<category domain="alt">Columnstore Index</category>
<category domain="alt">APS/Parallel Data Warehouse</category>
<category domain="alt">Reporting Services</category>
<category domain="alt">Integration Services</category>
<category domain="main">Miscellaneous</category>
<category domain="alt">Geospatial</category>
<category domain="alt">Certification, MCM &amp; MCSM, MVP</category>
<category domain="alt">In-Memory OLTP / XTP, HTAP</category>
<category domain="alt">Surveys / Umfragen</category>
<category domain="alt">Scripts</category>
<category domain="alt">HADR, AlwaysOn</category>
<category domain="alt">MDW</category>
<category domain="alt">Storage Engine</category>
<category domain="alt">Trivia</category>
<category domain="alt">Azure</category>
<category domain="alt">Performance</category>
<category domain="alt">SQL Server 2016</category>
<category domain="alt">Patching</category>			<guid isPermaLink="false">3918@https://www.insidesql.org/blogs/</guid>
						<description>&lt;p&gt;&lt;a href=&quot;http://andreas-wolter.com/blog/&quot;&gt;http://andreas-wolter.com/blog/&lt;/a&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width=&quot;302&quot;&gt;
&lt;p&gt;Liebe Leser&lt;br /&gt; dieser Blog ist hiermit nur noch „Archiv“ und wird nicht mehr weiter gepflegt.&lt;br /&gt; Seit August 2017 finden sich neue Artikel ausschließlich unter der &lt;strong&gt;neuen URL:&lt;br /&gt; &lt;a href=&quot;http://andreas-wolter.com/blog/&quot;&gt;http://andreas-wolter.com/blog/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width=&quot;302&quot;&gt;
&lt;p&gt;Dear Readers&lt;br /&gt; this blog is now merely an „archive“ and no longer being updated.&lt;br /&gt; Since August 2017 new articles are exclusively available under the &lt;strong&gt;new URL:&lt;br /&gt; &lt;a href=&quot;http://andreas-wolter.com/en/blog/&quot;&gt;http://andreas-wolter.com/en/blog/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width=&quot;302&quot;&gt;
&lt;p&gt;Die aufwändige Mehrsprachigkeit (Deutsch und Englisch professionell manuell übersetzt) wird beibehalten – aber Layout-technisch anders gelöst. Damit dürfte ich immer noch den einzigen mehrsprachigen IT-Blog weltweit betreiben.&lt;br /&gt; Ich hoffe, das neue Design gefällt Ihnen.&lt;/p&gt;
&lt;/td&gt;
&lt;td width=&quot;302&quot;&gt;
&lt;p&gt;The complex multilingualism (German and English professionally manually translated) is being continued – but solved differently in terms of layout. With that I most likely still operate the only multilingual IT-Blog worldwide.&lt;br /&gt; I hope you like the new design.&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt; &lt;/p&gt;
&lt;div class=&quot;image_block&quot;&gt;&lt;a href=&quot;http://andreas-wolter.com/blog/&quot;&gt;&lt;img class=&quot;loadimg&quot; src=&quot;http://www.insidesql.org/blogs/media/blogs/andreaswolter/quick-uploads/p3918/170918_website_blog.jpg?mtime=1505903940&quot; alt=&quot;&quot; width=&quot;800&quot; height=&quot;552&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width=&quot;302&quot;&gt;
&lt;p&gt;Mein aktueller Artikel, der erstmalig ausschließlich auf der neuen Website zu finden ist, lautet: &lt;strong&gt;&lt;a href=&quot;http://andreas-wolter.com/optimierung-von-workflows-mit-inmemory-objekten/&quot;&gt;Optimieren von Workflows mit In-Memory und nativ kompilierten Objekten - oder wie es nicht funktioniert&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width=&quot;302&quot;&gt;
&lt;p&gt;My currently last article, which is exclusively available at the new website for the first time, is &lt;strong&gt;&lt;a href=&quot;http://andreas-wolter.com/en/optimizing-workflows/&quot;&gt;Optimizing workflows with In-Memory and Natively Compiled Objects - or how it does not work&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Cu at my new Blog&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p><a href="http://andreas-wolter.com/blog/">http://andreas-wolter.com/blog/</a></p>
<table>
<tbody>
<tr>
<td width="302">
<p>Liebe Leser<br /> dieser Blog ist hiermit nur noch „Archiv“ und wird nicht mehr weiter gepflegt.<br /> Seit August 2017 finden sich neue Artikel ausschließlich unter der <strong>neuen URL:<br /> <a href="http://andreas-wolter.com/blog/">http://andreas-wolter.com/blog/</a></strong></p>
</td>
<td width="302">
<p>Dear Readers<br /> this blog is now merely an „archive“ and no longer being updated.<br /> Since August 2017 new articles are exclusively available under the <strong>new URL:<br /> <a href="http://andreas-wolter.com/en/blog/">http://andreas-wolter.com/en/blog/</a></strong></p>
</td>
</tr>
<tr>
<td width="302">
<p>Die aufwändige Mehrsprachigkeit (Deutsch und Englisch professionell manuell übersetzt) wird beibehalten – aber Layout-technisch anders gelöst. Damit dürfte ich immer noch den einzigen mehrsprachigen IT-Blog weltweit betreiben.<br /> Ich hoffe, das neue Design gefällt Ihnen.</p>
</td>
<td width="302">
<p>The complex multilingualism (German and English professionally manually translated) is being continued – but solved differently in terms of layout. With that I most likely still operate the only multilingual IT-Blog worldwide.<br /> I hope you like the new design.</p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<div class="image_block"><a href="http://andreas-wolter.com/blog/"><img class="loadimg" src="http://www.insidesql.org/blogs/media/blogs/andreaswolter/quick-uploads/p3918/170918_website_blog.jpg?mtime=1505903940" alt="" width="800" height="552" /></a></div>
<p> </p>
<table>
<tbody>
<tr>
<td width="302">
<p>Mein aktueller Artikel, der erstmalig ausschließlich auf der neuen Website zu finden ist, lautet: <strong><a href="http://andreas-wolter.com/optimierung-von-workflows-mit-inmemory-objekten/">Optimieren von Workflows mit In-Memory und nativ kompilierten Objekten - oder wie es nicht funktioniert</a></strong></p>
</td>
<td width="302">
<p>My currently last article, which is exclusively available at the new website for the first time, is <strong><a href="http://andreas-wolter.com/en/optimizing-workflows/">Optimizing workflows with In-Memory and Natively Compiled Objects - or how it does not work</a></strong></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<p>Cu at my new Blog</p>
<p>Andreas</p>]]></content:encoded>
								<comments>https://www.insidesql.org/blogs/andreaswolter/2017/09/blog-umgezogen-this-blog-moved-andreas-wolter-com#comments</comments>
			<wfw:commentRss>https://www.insidesql.org/blogs/andreaswolter/?tempskin=_rss2&#38;disp=comments&#38;p=3918</wfw:commentRss>
		</item>
				<item>
			<title>Tracing Analysis Services (SSAS) with Extended Events – Yes it works and this is how</title>
			<link>https://www.insidesql.org/blogs/andreaswolter/2013/04/tracing-analysis-services-with-extended</link>
			<pubDate>Tue, 09 Apr 2013 20:35:00 +0000</pubDate>			<dc:creator>Andreas Wolter</dc:creator>
			<category domain="alt">Tracing &amp; Monitoring</category>
<category domain="alt">Analysis Services</category>
<category domain="main">Extended Events</category>			<guid isPermaLink="false">3461@https://www.insidesql.org/blogs/</guid>
						<description>&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Tracing Analysis Services mit Extended Events – Ja, es geht, und zwar so &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;or: “Hasta la vista, Profiler”... ;-)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;width: 549px;&quot; border=&quot;0&quot; cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; width=&quot;258&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;(en)&lt;br /&gt;One of the features new in Analysis Services 2012 is the support of the SQL Server Extended Events Framework.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;While there is no GUI support for that, yet, it is however possible to set up a XEvent session via DDL commands - just like it was in the “old days” with SQL Server 2008/ 2008 R2, until 2012 brought the GUI.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Since I have been asked a lot at my sessions on Extended Events on how it is done in Analysis Services, and the Books Online sample code &lt;/span&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;is not really working (“Use SQL Server Extended Events (XEvents) to Monitor Analysis Services &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;&lt;a title=&quot;http://msdn.microsoft.com/en-us/library/gg492139.aspx&quot; href=&quot;http://msdn.microsoft.com/en-us/library/gg492139.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/gg492139.aspx&lt;/a&gt;”), I will show a quick example here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;The following code creates a session to collect the deadlocks events from the Analysis Services Instance:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign=&quot;top&quot; width=&quot;259&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;(de)&lt;br /&gt;Eines der in Analysis Services 2012 neuen Features ist die Unterstützung des SQL Server Extended Events Frameworks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Obwohl dafür noch keine grafische Unterstützung da ist, ist es jedoch möglich eine XEvent Session über DDL Kommandos aufzusetzen - genau wie in den alten Zeiten” mit SQL Server 2008/ 2008 R2, bis 2012 die GUI brachte.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Da ich im Zuge meiner Sessions zu Extended Events häufig gefragt wurde, wie das bei Analysis Services funktioniert, und das Books Online Beispiel &lt;/span&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;nicht wirklich funktioniert (“Use SQL Server Extended Events (XEvents) to Monitor Analysis Services &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;&lt;a title=&quot;http://msdn.microsoft.com/en-us/library/gg492139.aspx&quot; href=&quot;http://msdn.microsoft.com/en-us/library/gg492139.aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/gg492139.aspx&lt;/a&gt;”), zeige ich hier ein kurzes Beispiel.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Der folgende Code erzeugt eine Session um Deadlock Events von einer Analysis Services Instanz mitzuschneiden:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &#039;Lucida Console&#039;;&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;Create xmlns=&quot;http://schemas.microsoft.com/analysisservices/2003/engine&quot;&lt;br /&gt;mlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;br /&gt;xmlns:ddl2=&quot;http://schemas.microsoft.com/analysisservices/2003/engine/2&quot;&lt;br /&gt;xmlns:ddl3=&quot;http://schemas.microsoft.com/analysisservices/2003/engine/3&quot;&lt;br /&gt;xmlns:ddl100_100=&quot;http://schemas.microsoft.com/analysisservices/2008/engine/100/100&quot;&lt;br /&gt;xmlns:ddl200_200=&quot;http://schemas.microsoft.com/analysisservices/2010/engine/200/200&quot;&lt;br /&gt;xmlns:ddl300_300=&quot;http://schemas.microsoft.com/analysisservices/2011/engine/300/300&quot;&amp;gt;&lt;br /&gt;    &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ObjectDefinition&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;         &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Trace&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;             &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;Sarpedon AS Trace Demo&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ID&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;             &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;Sarpedon AS Trace Demo&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;             &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ddl300_300:XEvent&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;                &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;event_session &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;SQL_AS_XE&quot; &lt;span style=&quot;color: red;&quot;&gt;dispatchLatency&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;10&lt;/span&gt;&quot;&lt;span style=&quot;color: red;&quot;&gt; maxEventSize&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;4&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;maxMemory&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;4&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;memoryPartitionMode&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;none&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;                     &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;event &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;package&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;AS&lt;/span&gt;&quot; &lt;span style=&quot;color: red;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;Deadlock&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt; /&amp;gt;&lt;br /&gt;                     &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;target &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;package&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;Package0&lt;/span&gt;&quot;&lt;span style=&quot;color: red;&quot;&gt; name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;event_file&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;parameter &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;filename&lt;/span&gt;&quot;&lt;span style=&quot;color: red;&quot;&gt; value&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;D:\SQLData\SarpedonASDeadlockTrace.xel&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt; /&amp;gt;&lt;br /&gt;                     &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;target&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;                 &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;event_session&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;             &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ddl300_300:XEvent&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;         &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Trace&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;     &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;ObjectDefinition&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Create&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;width: 549px;&quot; border=&quot;0&quot; cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; width=&quot;258&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;As one can see, the definition like session configuration and targets, is quite similar to SQL Server, since it is in fact based on the same architecture.&lt;br /&gt;The package containing the events is &quot;&lt;em&gt;&lt;strong&gt;AS&lt;/strong&gt;&lt;/em&gt;&quot;, whereas targets come from our well known &quot;&lt;strong&gt;&lt;em&gt;Package0&lt;/em&gt;&lt;/strong&gt;&quot;. The one familiar with XEvents will know, what this implicates - more maybe in a later post.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Via the internal system view &lt;em&gt;$system.discover_traces&lt;/em&gt;, we can see the active traces on the instance: the “FlightRecorder” which is still using the old-style Tracing technology (I wonder when Microsoft will add a new one just like &lt;em&gt;system_health&lt;/em&gt; in SQL Server) and my sample session. You will also note, that the XEvent session’s trace file name is not visible here.&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign=&quot;top&quot; width=&quot;259&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Wie man sehen kann, ist die Definition wie Session-Konfiguration und Targets recht ähnlich zu SQL Server, da es tatsächlich auf der selben Architektur basiert.&lt;br /&gt;Das Package welches die Events enthält, ist &quot;&lt;em&gt;&lt;strong&gt;AS&lt;/strong&gt;&lt;/em&gt;&quot;, wohingegen die Targets aus dem bereits bekannten &quot;&lt;strong&gt;&lt;em&gt;Package0&lt;/em&gt;&lt;/strong&gt;&quot; stammen. Wer bereits mit XEvents vertraut ist, wird wissen, was das impliziert - mehr vielleicht in einem späteren Post.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Über die interne Systemsicht &lt;em&gt;$system.discover_traces&lt;/em&gt; können wir die aktiven Traces auf der Instanz sehen: der “FlightRecorder”, der noch die alte Tracing Technik verwendet (Ich frage mich, wann Microsoft eine Neue, wie die &lt;em&gt;system_health&lt;/em&gt; in SQL Server hinzufügen wird), und meine Beispiel-Sitzung. Man sieht auch, das der Trace Dateiname der XEvent-Session hier nicht sichtbar ist.&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt; &lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;&lt;img src=&quot;http://www.sarpedonqualitylab.com/sql-images/sql-articles/1304_TraceSessions_800.jpg&quot; alt=&quot;Trace Sessions&quot; width=&quot;540&quot; height=&quot;45&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;width: 549px;&quot; border=&quot;0&quot; cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; width=&quot;258&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;To access the collected data one can easily stop and delete the session by name as follows:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign=&quot;top&quot; width=&quot;259&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Um auf die gesammelten Daten zuzugreifen, kann man die Trace session wie folgt bequem über den Namen beenden und löschen:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;span style=&quot;font-family: &#039;Lucida Console&#039;;&quot; lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;Delete xmlns=&quot;http://schemas.microsoft.com/analysisservices/2003/engine&quot;&lt;br /&gt;xmlns:ddl300_300=&quot;http://schemas.microsoft.com/analysisservices/2011/engine/300/300&quot;&lt;br /&gt;xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&amp;gt;&lt;br /&gt;    &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Object&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;         &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;TraceID&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;Sarpedon AS Trace Demo&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;TraceID&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt;     &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Object&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;br /&gt; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;Delete&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;width: 549px;&quot; border=&quot;0&quot; cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; width=&quot;258&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;The collected data can be viewed, aggregated and filtered as normal with the Extended Events Viewer in Management Studio. &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Here a sample with query runtimes:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign=&quot;top&quot; width=&quot;259&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Die gesammelten Daten lassen sich dann wie gewohnt über den Extended Events Viewer in Management Studio ansehen, aggregieren und filtern. &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Hier ein Beispiel mit Query-Laufzeiten:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;&lt;img src=&quot;http://www.sarpedonqualitylab.com/sql-images/sql-articles/1304_XEventViewer_1024.jpg&quot; alt=&quot;XEvent Viewer&quot; width=&quot;540&quot; height=&quot;243&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;width: 549px;&quot; border=&quot;0&quot; cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; width=&quot;258&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;In the detail pane on the bottom you can notice, that I turned on &lt;em&gt;causality tracking&lt;/em&gt; here. Hence the activity ID /GUID correlate activity.&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign=&quot;top&quot; width=&quot;259&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Im Detailbereich kann man sehen, das ich hier auch “Kausalitätstracking” eingeschaltet habe. Daher die activity ID/GUI um Aktivitäten zu korrelieren.&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style=&quot;width: 549px;&quot; border=&quot;0&quot; cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; width=&quot;258&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;So as you see, for a fact, the Analysis Services engine has been extended to be using the Extended Events architecture for better performing and more flexible Tracing.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;I do expect some more GUI-support for Managing XEvents in Analysis Services in the next major release.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Have fun, playing around with the sample. :-)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;From now on there is no excuse any more, to burden an Analysis Server that is already on its knees with Profiler...&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign=&quot;top&quot; width=&quot;259&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Wie man sehen kann, sind die Analysis Services tatsächlich erweitert worden um die Extended Events Architektur für performanteres und flexibleres Tracing zu verwenden.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Mit dem nächsten Major-Release des SQL Server erwarte ich mehr GUI-Unterstützung  für die Verwaltung von XEvents in Analysis Services.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Viel Spaß beim Herumspielen mit dem Beispiel. :-)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Ab jetzt gibt es keine Entschuldigung mehr, einen Analysis Server, der bereits auf den Knien ist, weiter mit dem Profiler zu belasten...&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style=&quot;text-align: left;&quot; align=&quot;center&quot;&gt; &lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;                     “Hasta la vista, Profiler” &lt;span style=&quot;font-size: large;&quot;&gt;;-)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;width: 549px;&quot; border=&quot;0&quot; cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; width=&quot;258&quot;&gt;
&lt;p&gt;&lt;em&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Hopefully by MCM buddy and friend Reeves Smith will soon write his &lt;strong&gt;promised &lt;/strong&gt;post on Tracing Analysis Services, maybe with a Performance Comparison.&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;”So, now you have to get going, Reeves!” :-D&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign=&quot;top&quot; width=&quot;259&quot;&gt;
&lt;p&gt;&lt;em&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Hoffentlich wird mein MCM Kollege und Freund seinen &lt;strong&gt;versprochenen Post&lt;/strong&gt; über XEvent Tracing Analsis Services bald einlösen – vielleicht mit einem Performance-Vergleich.&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;”So, nun musst Du aber loslegen, Reeves!” :-D&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table style=&quot;width: 549px;&quot; border=&quot;0&quot; cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; width=&quot;258&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Meanwhile I’d like to refer you to this article from another fellow MCM, Jonathan Kehayas, where you can see the enormous difference in terms of negative performance-impact of tracing via Profiler and SQL Trace vs XEvents:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign=&quot;top&quot; width=&quot;259&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Bis dahin verweise ich gerne auf diesen Artikel eines andern MCM Kollegen, Jonathan Kehayas, wo man den gewaltigen Unterschied des negativen Performance-Einflusses von Tracing mittels profiler aund SQL Trace gegenüber Extended Events sieht:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt; &lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;&lt;a title=&quot;http://www.sqlperformance.com/2012/10/sql-trace/observer-overhead-trace-extended-events&quot; href=&quot;http://www.sqlperformance.com/2012/10/sql-trace/observer-overhead-trace-extended-events&quot;&gt;www.sqlperformance.com/2012/10/sql-trace/observer-overhead-trace-extended-events&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table border=&quot;0&quot; cellspacing=&quot;10&quot; cellpadding=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign=&quot;top&quot; width=&quot;258&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Update: I conducted an excessive benchmarking on Extended Events and SQL Trace &amp;amp; Profiler myself now. The results ar now public and can be found here:&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td valign=&quot;top&quot; width=&quot;259&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Update: Ich habe nun selber ein exzessives Benchmarking zu Extended Events und SQL Trace &amp;amp; Profiler durchgeführt. Die Ergebnisse sind hier nun auch öffentlich und können hier gefunden werden:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;a href=&quot;/blogs/andreaswolter/2013/08/performance-overhead-tracing-extended-events-sql-trace-under-cpu-load&quot;&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;www.insidesql.org/blogs/andreaswolter/2013/08/performance-overhead-tracing-extended-events-sql-trace-under-cpu-load&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Andreas&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Hinweis: es wird noch im 1. HJ 2013 einen zweiten Termin für die Master-Class Seminare zu Extended Events geben (13. und 14. Juni). &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;Die nächste Möglichkeit ist am 22.11. bzw. 25.11.2013!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;&lt;span style=&quot;font-family: verdana,geneva;&quot;&gt;&lt;a title=&quot;http://www.sarpedonqualitylab.com/SQL_Master-Classes.htm&quot; href=&quot;http://www.sarpedonqualitylab.com/SQL_Master-Classes.htm&quot;&gt;http://www.sarpedonqualitylab.com/SQL_Master-Classes.htm&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana,geneva;">Tracing Analysis Services mit Extended Events – Ja, es geht, und zwar so <br /></span></p>
<p><span style="font-family: verdana,geneva;">or: “Hasta la vista, Profiler”... ;-)<br /></span></p>
<table style="width: 549px;" border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="258">
<p><span style="font-family: verdana,geneva;">(en)<br />One of the features new in Analysis Services 2012 is the support of the SQL Server Extended Events Framework.</span></p>
<p><span style="font-family: verdana,geneva;">While there is no GUI support for that, yet, it is however possible to set up a XEvent session via DDL commands - just like it was in the “old days” with SQL Server 2008/ 2008 R2, until 2012 brought the GUI.</span></p>
<p><span style="font-family: verdana,geneva;">Since I have been asked a lot at my sessions on Extended Events on how it is done in Analysis Services, and the Books Online sample code </span><span style="font-family: verdana,geneva;">is not really working (“Use SQL Server Extended Events (XEvents) to Monitor Analysis Services </span><br /><span style="font-family: verdana,geneva;"><a title="http://msdn.microsoft.com/en-us/library/gg492139.aspx" href="http://msdn.microsoft.com/en-us/library/gg492139.aspx">http://msdn.microsoft.com/en-us/library/gg492139.aspx</a>”), I will show a quick example here.</span></p>
<p><span style="font-family: verdana,geneva;">The following code creates a session to collect the deadlocks events from the Analysis Services Instance:</span></p>
</td>
<td valign="top" width="259">
<p><span style="font-family: verdana,geneva;">(de)<br />Eines der in Analysis Services 2012 neuen Features ist die Unterstützung des SQL Server Extended Events Frameworks.</span></p>
<p><span style="font-family: verdana,geneva;">Obwohl dafür noch keine grafische Unterstützung da ist, ist es jedoch möglich eine XEvent Session über DDL Kommandos aufzusetzen - genau wie in den alten Zeiten” mit SQL Server 2008/ 2008 R2, bis 2012 die GUI brachte.</span></p>
<p><span style="font-family: verdana,geneva;">Da ich im Zuge meiner Sessions zu Extended Events häufig gefragt wurde, wie das bei Analysis Services funktioniert, und das Books Online Beispiel </span><span style="font-family: verdana,geneva;">nicht wirklich funktioniert (“Use SQL Server Extended Events (XEvents) to Monitor Analysis Services </span><br /><span style="font-family: verdana,geneva;"><a title="http://msdn.microsoft.com/en-us/library/gg492139.aspx" href="http://msdn.microsoft.com/en-us/library/gg492139.aspx">http://msdn.microsoft.com/en-us/library/gg492139.aspx</a>”), zeige ich hier ein kurzes Beispiel.</span></p>
<p><span style="font-family: verdana,geneva;">Der folgende Code erzeugt eine Session um Deadlock Events von einer Analysis Services Instanz mitzuschneiden:</span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-size: small;"><span style="font-family: 'Lucida Console';" lang="EN-US"><span style="color: blue;">&lt;Create xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"<br />mlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br />xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"<br />xmlns:ddl3="http://schemas.microsoft.com/analysisservices/2003/engine/3"<br />xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100"<br />xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"<br />xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300"&gt;<br />    &lt;</span><span style="color: #a31515;">ObjectDefinition</span><span style="color: blue;">&gt;<br />         &lt;</span><span style="color: #a31515;">Trace</span><span style="color: blue;">&gt;<br />             &lt;</span><span style="color: #a31515;">ID</span><span style="color: blue;">&gt;</span>Sarpedon AS Trace Demo<span style="color: blue;">&lt;/</span><span style="color: #a31515;">ID</span><span style="color: blue;">&gt;<br />             &lt;</span><span style="color: #a31515;">Name</span><span style="color: blue;">&gt;</span>Sarpedon AS Trace Demo<span style="color: blue;">&lt;/</span><span style="color: #a31515;">Name</span><span style="color: blue;">&gt;<br />             &lt;</span><span style="color: #a31515;">ddl300_300:XEvent</span><span style="color: blue;">&gt;                &lt;</span><span style="color: #a31515;">event_session </span><span style="color: red;">name</span><span style="color: blue;">=</span>"SQL_AS_XE" <span style="color: red;">dispatchLatency</span><span style="color: blue;">=</span>"<span style="color: blue;">10</span>"<span style="color: red;"> maxEventSize</span><span style="color: blue;">=</span>"<span style="color: blue;">4</span>" <span style="color: red;">maxMemory</span><span style="color: blue;">=</span>"<span style="color: blue;">4</span>" <span style="color: red;">memoryPartitionMode</span><span style="color: blue;">=</span>"<span style="color: blue;">none</span>"<span style="color: blue;">&gt;<br />                     &lt;</span><span style="color: #a31515;">event </span><span style="color: red;">package</span><span style="color: blue;">=</span>"<span style="color: blue;">AS</span>" <span style="color: red;">name</span><span style="color: blue;">=</span>"<span style="color: blue;">Deadlock</span>"<span style="color: blue;"> /&gt;<br />                     &lt;</span><span style="color: #a31515;">target </span><span style="color: red;">package</span><span style="color: blue;">=</span>"<span style="color: blue;">Package0</span>"<span style="color: red;"> name</span><span style="color: blue;">=</span>"<span style="color: blue;">event_file</span>"<span style="color: blue;">&gt;<br />&lt;</span><span style="color: #a31515;">parameter </span><span style="color: red;">name</span><span style="color: blue;">=</span>"<span style="color: blue;">filename</span>"<span style="color: red;"> value</span><span style="color: blue;">=</span>"<span style="color: blue;">D:\SQLData\SarpedonASDeadlockTrace.xel</span>"<span style="color: blue;"> /&gt;<br />                     &lt;/</span><span style="color: #a31515;">target</span><span style="color: blue;">&gt;<br />                 &lt;/</span><span style="color: #a31515;">event_session</span><span style="color: blue;">&gt;<br />             &lt;/</span><span style="color: #a31515;">ddl300_300:XEvent</span><span style="color: blue;">&gt;<br />         &lt;/</span><span style="color: #a31515;">Trace</span><span style="color: blue;">&gt;<br />     &lt;/</span><span style="color: #a31515;">ObjectDefinition</span><span style="color: blue;">&gt;<br /> &lt;/</span><span style="color: #a31515;">Create</span><span style="color: blue;">&gt;</span></span></span></p>
<table style="width: 549px;" border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="258">
<p><span style="font-family: verdana,geneva;">As one can see, the definition like session configuration and targets, is quite similar to SQL Server, since it is in fact based on the same architecture.<br />The package containing the events is "<em><strong>AS</strong></em>", whereas targets come from our well known "<strong><em>Package0</em></strong>". The one familiar with XEvents will know, what this implicates - more maybe in a later post.</span></p>
<p><span style="font-family: verdana,geneva;">Via the internal system view <em>$system.discover_traces</em>, we can see the active traces on the instance: the “FlightRecorder” which is still using the old-style Tracing technology (I wonder when Microsoft will add a new one just like <em>system_health</em> in SQL Server) and my sample session. You will also note, that the XEvent session’s trace file name is not visible here.</span></p>
</td>
<td valign="top" width="259">
<p><span style="font-family: verdana,geneva;">Wie man sehen kann, ist die Definition wie Session-Konfiguration und Targets recht ähnlich zu SQL Server, da es tatsächlich auf der selben Architektur basiert.<br />Das Package welches die Events enthält, ist "<em><strong>AS</strong></em>", wohingegen die Targets aus dem bereits bekannten "<strong><em>Package0</em></strong>" stammen. Wer bereits mit XEvents vertraut ist, wird wissen, was das impliziert - mehr vielleicht in einem späteren Post.</span></p>
<p><span style="font-family: verdana,geneva;">Über die interne Systemsicht <em>$system.discover_traces</em> können wir die aktiven Traces auf der Instanz sehen: der “FlightRecorder”, der noch die alte Tracing Technik verwendet (Ich frage mich, wann Microsoft eine Neue, wie die <em>system_health</em> in SQL Server hinzufügen wird), und meine Beispiel-Sitzung. Man sieht auch, das der Trace Dateiname der XEvent-Session hier nicht sichtbar ist.</span></p>
</td>
</tr>
</tbody>
</table>
<p> <span style="font-family: verdana,geneva;"><img src="http://www.sarpedonqualitylab.com/sql-images/sql-articles/1304_TraceSessions_800.jpg" alt="Trace Sessions" width="540" height="45" /></span></p>
<table style="width: 549px;" border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="258">
<p><span style="font-family: verdana,geneva;">To access the collected data one can easily stop and delete the session by name as follows:</span></p>
</td>
<td valign="top" width="259">
<p><span style="font-family: verdana,geneva;">Um auf die gesammelten Daten zuzugreifen, kann man die Trace session wie folgt bequem über den Namen beenden und löschen:</span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-size: small;"> <span style="font-family: 'Lucida Console';" lang="EN-US"><span style="color: blue;">&lt;Delete xmlns="http://schemas.microsoft.com/analysisservices/2003/engine"<br />xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300"<br />xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;<br />    &lt;</span><span style="color: #a31515;">Object</span><span style="color: blue;">&gt;<br />         &lt;</span><span style="color: #a31515;">TraceID</span><span style="color: blue;">&gt;</span>Sarpedon AS Trace Demo<span style="color: blue;">&lt;/</span><span style="color: #a31515;">TraceID</span><span style="color: blue;">&gt;<br />     &lt;/</span><span style="color: #a31515;">Object</span><span style="color: blue;">&gt;<br /> &lt;/</span><span style="color: #a31515;">Delete</span><span style="color: blue;">&gt;</span></span></span></p>
<table style="width: 549px;" border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="258">
<p><span style="font-family: verdana,geneva;">The collected data can be viewed, aggregated and filtered as normal with the Extended Events Viewer in Management Studio. </span><br /><span style="font-family: verdana,geneva;">Here a sample with query runtimes:</span></p>
</td>
<td valign="top" width="259">
<p><span style="font-family: verdana,geneva;">Die gesammelten Daten lassen sich dann wie gewohnt über den Extended Events Viewer in Management Studio ansehen, aggregieren und filtern. </span><br /><span style="font-family: verdana,geneva;">Hier ein Beispiel mit Query-Laufzeiten:</span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family: verdana,geneva;"><img src="http://www.sarpedonqualitylab.com/sql-images/sql-articles/1304_XEventViewer_1024.jpg" alt="XEvent Viewer" width="540" height="243" /></span></p>
<table style="width: 549px;" border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="258">
<p><span style="font-family: verdana,geneva;">In the detail pane on the bottom you can notice, that I turned on <em>causality tracking</em> here. Hence the activity ID /GUID correlate activity.</span></p>
</td>
<td valign="top" width="259">
<p><span style="font-family: verdana,geneva;">Im Detailbereich kann man sehen, das ich hier auch “Kausalitätstracking” eingeschaltet habe. Daher die activity ID/GUI um Aktivitäten zu korrelieren.</span></p>
</td>
</tr>
</tbody>
</table>
<table style="width: 549px;" border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="258">
<p><span style="font-family: verdana,geneva;">So as you see, for a fact, the Analysis Services engine has been extended to be using the Extended Events architecture for better performing and more flexible Tracing.</span><br /><span style="font-family: verdana,geneva;">I do expect some more GUI-support for Managing XEvents in Analysis Services in the next major release.</span></p>
<p><span style="font-family: verdana,geneva;"><br /></span></p>
<p><span style="font-family: verdana,geneva;">Have fun, playing around with the sample. :-)</span></p>
<p><span style="font-family: verdana,geneva;">From now on there is no excuse any more, to burden an Analysis Server that is already on its knees with Profiler...<br /></span></p>
</td>
<td valign="top" width="259">
<p><span style="font-family: verdana,geneva;">Wie man sehen kann, sind die Analysis Services tatsächlich erweitert worden um die Extended Events Architektur für performanteres und flexibleres Tracing zu verwenden.</span><br /><span style="font-family: verdana,geneva;">Mit dem nächsten Major-Release des SQL Server erwarte ich mehr GUI-Unterstützung  für die Verwaltung von XEvents in Analysis Services.</span></p>
<p><span style="font-family: verdana,geneva;">Viel Spaß beim Herumspielen mit dem Beispiel. :-)</span></p>
<p><span style="font-family: verdana,geneva;">Ab jetzt gibt es keine Entschuldigung mehr, einen Analysis Server, der bereits auf den Knien ist, weiter mit dem Profiler zu belasten...<br /></span></p>
</td>
</tr>
</tbody>
</table>
<p style="text-align: left;" align="center"> <span style="font-family: verdana,geneva;"><span style="font-size: large;">                     “Hasta la vista, Profiler” <span style="font-size: large;">;-)</span></span></span></p>
<table style="width: 549px;" border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="258">
<p><em><span style="font-family: verdana,geneva;">Hopefully by MCM buddy and friend Reeves Smith will soon write his <strong>promised </strong>post on Tracing Analysis Services, maybe with a Performance Comparison.</span></em><br /><em><span style="font-family: verdana,geneva;">”So, now you have to get going, Reeves!” :-D</span></em></p>
</td>
<td valign="top" width="259">
<p><em><span style="font-family: verdana,geneva;">Hoffentlich wird mein MCM Kollege und Freund seinen <strong>versprochenen Post</strong> über XEvent Tracing Analsis Services bald einlösen – vielleicht mit einem Performance-Vergleich.</span></em><br /><em><span style="font-family: verdana,geneva;">”So, nun musst Du aber loslegen, Reeves!” :-D</span></em></p>
</td>
</tr>
</tbody>
</table>
<table style="width: 549px;" border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="258">
<p><span style="font-family: verdana,geneva;">Meanwhile I’d like to refer you to this article from another fellow MCM, Jonathan Kehayas, where you can see the enormous difference in terms of negative performance-impact of tracing via Profiler and SQL Trace vs XEvents:</span></p>
</td>
<td valign="top" width="259">
<p><span style="font-family: verdana,geneva;">Bis dahin verweise ich gerne auf diesen Artikel eines andern MCM Kollegen, Jonathan Kehayas, wo man den gewaltigen Unterschied des negativen Performance-Einflusses von Tracing mittels profiler aund SQL Trace gegenüber Extended Events sieht:</span></p>
</td>
</tr>
</tbody>
</table>
<p> <span style="font-family: verdana,geneva;"><a title="http://www.sqlperformance.com/2012/10/sql-trace/observer-overhead-trace-extended-events" href="http://www.sqlperformance.com/2012/10/sql-trace/observer-overhead-trace-extended-events">www.sqlperformance.com/2012/10/sql-trace/observer-overhead-trace-extended-events</a></span></p>
<table border="0" cellspacing="10" cellpadding="0">
<tbody>
<tr>
<td valign="top" width="258">
<p><span style="font-family: verdana,geneva;">Update: I conducted an excessive benchmarking on Extended Events and SQL Trace &amp; Profiler myself now. The results ar now public and can be found here:</span></p>
</td>
<td valign="top" width="259">
<p><span style="font-family: verdana,geneva;">Update: Ich habe nun selber ein exzessives Benchmarking zu Extended Events und SQL Trace &amp; Profiler durchgeführt. Die Ergebnisse sind hier nun auch öffentlich und können hier gefunden werden:<br /></span></p>
</td>
</tr>
</tbody>
</table>
<p><a href="/blogs/andreaswolter/2013/08/performance-overhead-tracing-extended-events-sql-trace-under-cpu-load"><span style="font-family: verdana,geneva;">www.insidesql.org/blogs/andreaswolter/2013/08/performance-overhead-tracing-extended-events-sql-trace-under-cpu-load</span></a></p>
<p> </p>
<p><span style="font-family: verdana,geneva;">Andreas</span></p>
<p> </p>
<p><span style="font-family: verdana,geneva;">Hinweis: es wird noch im 1. HJ 2013 einen zweiten Termin für die Master-Class Seminare zu Extended Events geben (13. und 14. Juni). </span></p>
<p><span style="font-family: verdana,geneva;">Die nächste Möglichkeit ist am 22.11. bzw. 25.11.2013!</span></p>
<p><span style="font-family: verdana,geneva;"><span style="font-family: verdana,geneva;"><a title="http://www.sarpedonqualitylab.com/SQL_Master-Classes.htm" href="http://www.sarpedonqualitylab.com/SQL_Master-Classes.htm">http://www.sarpedonqualitylab.com/SQL_Master-Classes.htm</a></span></span></p>]]></content:encoded>
								<comments>https://www.insidesql.org/blogs/andreaswolter/2013/04/tracing-analysis-services-with-extended#comments</comments>
			<wfw:commentRss>https://www.insidesql.org/blogs/andreaswolter/?tempskin=_rss2&#38;disp=comments&#38;p=3461</wfw:commentRss>
		</item>
			</channel>
</rss>
