<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Anunturi</title><link>http://sqlserver.ro/forums/8/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: Intalnirea RoSQL din 24 nov 2007 Slide-uri - Prezentarea despre HierarchyID</title><link>http://sqlserver.ro/forums/thread/3448.aspx</link><pubDate>Sun, 25 Nov 2007 19:49:13 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:3448</guid><dc:creator>MihaiBejenariu</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/3448.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=8&amp;PostID=3448</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;rsocol:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;P&gt;Iar la funcţia GetSize pentru varianta Parent/Child ar fi trebuit să fac şi o variantă cu recursive CTE. V-o las vouă ca exerciţiu... şi să ne spuneţi cum se comportă ca performanţă (ar trebui să fie mai rapidă decât celelalte două variante).&lt;/P&gt;
&lt;P&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mi s-au parut cam mari diferentele intre HierarchyID si ParentChild: 2sec vs 30sec. Cu CTE s-ar putea ca rezultatele sa fie considerabil mai bune. De curand am implementat o ierarhie de 35000 de randuri, iar o interogare&amp;nbsp;(cu CTE)&amp;nbsp;de obtinere a copiilor de pe toate nivelurile (comparabila cu GetSize, zic eu), dureaza 8-12 secunde.&lt;/P&gt;
&lt;P&gt;Sincer nu prea am inteles chestia cu 10000x. Nu intervine si data-cacheul aici? Adica dupa 2x, datele sunt luate direct din cache, fara a se executa efectiv instructiunea SQL? Sau ma insel?&lt;/P&gt;</description></item><item><title>Dependinte Obiecte - Scripturi</title><link>http://sqlserver.ro/forums/thread/3445.aspx</link><pubDate>Sat, 24 Nov 2007 14:52:43 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:3445</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/3445.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=8&amp;PostID=3445</wfw:commentRss><description>Dependinte Obiecte - Scripturi</description></item><item><title>Slide-uri Dependinte Obiecte</title><link>http://sqlserver.ro/forums/thread/3444.aspx</link><pubDate>Sat, 24 Nov 2007 14:52:14 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:3444</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/3444.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=8&amp;PostID=3444</wfw:commentRss><description>Slide-uri Dependinte Obiecte</description></item><item><title>Introducere</title><link>http://sqlserver.ro/forums/thread/3443.aspx</link><pubDate>Sat, 24 Nov 2007 14:49:40 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:3443</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/3443.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=8&amp;PostID=3443</wfw:commentRss><description>Slide-uri Introducere</description></item><item><title>Intalnirea RoSQL din 24 nov 2007 Slide-uri - Prezentarea despre HierarchyID</title><link>http://sqlserver.ro/forums/thread/3442.aspx</link><pubDate>Sat, 24 Nov 2007 14:25:41 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:3442</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/3442.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=8&amp;PostID=3442</wfw:commentRss><description>&lt;P&gt;Am ataşat la acest post prezentarea, script-urile şi aplicaţia demo.&lt;/P&gt;
&lt;P&gt;Mai aveam o funcţie pe care am uitat să o prezint: Reparent (este un UPDATE în fişierul "demo 1.sql", la sfârşit).&lt;/P&gt;
&lt;P&gt;Iar la funcţia GetSize pentru varianta Parent/Child ar fi trebuit să fac şi o variantă cu recursive CTE. V-o las vouă ca exerciţiu... şi să ne spuneţi cum se comportă ca performanţă (ar trebui să fie mai rapidă decât celelalte două variante).&lt;/P&gt;
&lt;P&gt;Răzvan&lt;/P&gt;</description></item></channel></rss>