<?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>Intrebari generale</title><link>http://sqlserver.ro/forums/16/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: Coloane nvarchar(max) in alta tabela (1 la 1)</title><link>http://sqlserver.ro/forums/thread/4682.aspx</link><pubDate>Fri, 18 Apr 2008 08:17:01 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:4682</guid><dc:creator>liviu.costea</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/4682.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=4682</wfw:commentRss><description>&lt;P&gt;Stiam si eu ceva de sparse columns, dar nu am apucat sa le testez. Acum lucrez pe 2005, o sa trec si pe 2008, dar nu stiu cand.&lt;/P&gt;
&lt;P&gt;Sparse columns pot sa le declar in ambele cazuri, oricum ramane de testat chestia asta. Multumesc.&lt;/P&gt;</description></item><item><title>Re: Coloane nvarchar(max) in alta tabela (1 la 1)</title><link>http://sqlserver.ro/forums/thread/4680.aspx</link><pubDate>Fri, 18 Apr 2008 05:29:07 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:4680</guid><dc:creator>crestinul</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/4680.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=4680</wfw:commentRss><description>&lt;P&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://sqlserver.ro/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;xmldeveloper:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Ideea cu xml-ul nu e buna. Reduce performanta fara avantaje.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Sau daca ao sql2008 le poti declara ca sparse columns si o sa se aloce spatiu fizic doar pentru coloanele care sunt folosite&lt;/P&gt;</description></item><item><title>Re: Coloane nvarchar(max) in alta tabela (1 la 1)</title><link>http://sqlserver.ro/forums/thread/4676.aspx</link><pubDate>Thu, 17 Apr 2008 17:19:38 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:4676</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/4676.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=4676</wfw:commentRss><description>Ideea cu xml-ul nu e buna. Reduce performanta fara avantaje.</description></item><item><title>Coloane nvarchar(max) in alta tabela (1 la 1)</title><link>http://sqlserver.ro/forums/thread/4673.aspx</link><pubDate>Thu, 17 Apr 2008 14:25:55 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:4673</guid><dc:creator>liviu.costea</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/4673.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=4673</wfw:commentRss><description>&lt;P&gt;Am intr-o tabela cu &amp;gt;30 coloane cu vreo 4 care is nvarchar(max). Astea tin tot felul de discutii intre clienti, agentii de vanzari, furmizori. Pot fi NULL sau pot avea foarte multe caractere in ele. Acum pentru ca le punem intr-o pagina separata, doar pentru ele conceputa (de afisare si modificare) ma gandeam sa le pun si intr-o alta tabela. Insa nu e singurul loc din toate aplicatiile in care sunt folosite (adica in alte parti s-ar putea sa fie in aceeasi pagina) dar e cel mai comun. Avantajul e ca reduc tabela (care are cateva milioane de inregistrari) si de aici vin o alta serie de avantaje: cautari mai rapide la select, update, delete. Pe de alta parte tabela o sa fie 1 la 1 si o sa implice mai multa munca la aducerea datelor (join), la insert ca-s doua tabele acum (de fapt cam tot ce implica o tabela de extensie) si tot asa.&lt;/P&gt;
&lt;P&gt;Mai aveam o idee: sa le grupez toate intr-o coloana&amp;nbsp;xml, dar is multe update-uri de facut si ar fi mai multa munca si nu cred ca se imbunatateste performanta, doar daca ar fi read-only.&lt;/P&gt;
&lt;P&gt;Cu siguranta nu-s primul cu problema asta, asa ca dati-va cu parerea &lt;img src="http://sqlserver.ro/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/P&gt;</description></item></channel></rss>