<?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: Tabela cu foarte multe inregistrari</title><link>http://sqlserver.ro/forums/thread/7734.aspx</link><pubDate>Fri, 23 Oct 2009 06:26:12 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7734</guid><dc:creator>Syberye</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7734.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=7734</wfw:commentRss><description>&lt;P&gt;Va multumesc din suflet domnilor&lt;/P&gt;
&lt;P&gt;Petre&lt;/P&gt;</description></item><item><title>Re: Tabela cu foarte multe inregistrari</title><link>http://sqlserver.ro/forums/thread/7733.aspx</link><pubDate>Fri, 23 Oct 2009 05:16:26 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7733</guid><dc:creator>rremus</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7733.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=7733</wfw:commentRss><description>Daca problema este principala spatiul pe disk nu trebuie nimic special, pur si simplu mai adaugi un fisier NDF la filegroup-ul pe care se afla tabela (probabil PRIMARY), pe un nou disk:&lt;br&gt;&lt;br&gt;ALTER DATABASE &amp;lt;dbname&amp;gt; ADD FILE (name=&amp;lt;logicalfilename&amp;gt;, file='&amp;lt;fiisierpenouldisk.ndf', size=&amp;lt;spatiu folosibilpenouldisk&amp;gt;) TO PRIMARY;&lt;br&gt;&lt;br&gt;Baza de date, si implicit tabela problema, se va 'extinde' automat pe noul fisier si va putea sa creasca cit are loc pe noul disk. Asta e o solutie rapida, cu risk minim si care nu afecteaza design-ul logic ala bazei de date in nici un fel. Fisierele de backup vor creste corespunzator ca marime.&lt;br&gt;&lt;br&gt;O solutie mai complexa este sa folosesti partitionare, dar asta trebuie sa vorbesti cu un profesionist sa te ajute, daca o face un amator mai mult strica. Cit despre mai multe tabele, sint nenumarate dezavantaje, in principal legat de accesul la tabele din aplicatie si rapoarte.&lt;br&gt;&lt;br&gt;O alta solutie extrem de eficienta si cu risk foarte redus este sa treci pe SQ 2008 si sa folosesti PAGE COMPRESSION. In general se obtine un raport de compresie de 40-60%, cu imbunatatiri imediate in viteza aplicatiei (mai putin IO) si cu eliberarea spatiului compresat pentru mai multe date.&lt;br&gt;</description></item><item><title>Re: Tabela cu foarte multe inregistrari</title><link>http://sqlserver.ro/forums/thread/7730.aspx</link><pubDate>Thu, 22 Oct 2009 12:26:43 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7730</guid><dc:creator>sageata2002</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7730.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=7730</wfw:commentRss><description>&lt;P&gt;OK, atunci e clar ca ai nevoie de partitionare.&lt;/P&gt;
&lt;P&gt;Ca sa fim cinstiti cu definitiile, spargerea unei tabele mai mari in tabele mai mici e tot partitionare, "horizontal" partitioning, dar atunci trebuie sa fie un view peste acele tabele, ceea ce complica un pic lucrurile (la SELECT ai UNION ALL, in plus trebuie sa aplici tot felul de constrainturi de validare, etc).&lt;/P&gt;
&lt;P&gt;Lasand la o parte partea teoretica, iti recomand cu cea mai mare caldura&amp;nbsp;un articol&amp;nbsp;scris de Kimberly Tripp &lt;A href="http://msdn.microsoft.com/en-us/library/ms345146(SQL.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms345146(SQL.90).aspx&lt;/A&gt;. Pentru un tutorial destul de bine facut, &lt;A href="http://blog.sqlauthority.com/2008/01/25/sql-server-2005-database-table-partitioning-tutorial-how-to-horizontal-partition-database-table/"&gt;http://blog.sqlauthority.com/2008/01/25/sql-server-2005-database-table-partitioning-tutorial-how-to-horizontal-partition-database-table/&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;toate cele bune,&lt;BR&gt;calin&lt;/P&gt;</description></item><item><title>Re: Tabela cu foarte multe inregistrari</title><link>http://sqlserver.ro/forums/thread/7722.aspx</link><pubDate>Thu, 22 Oct 2009 06:19:02 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7722</guid><dc:creator>Syberye</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7722.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=7722</wfw:commentRss><description>&lt;P&gt;Sistemul trebe sa pastreze inregistrarile 10 ani - astfel incit sa poata fii regasite cu usurinta. Resurse fizice din cite am inteles sint destule.&lt;/P&gt;
&lt;P&gt;Cu respect,&lt;/P&gt;
&lt;P&gt;Petre&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Re: Tabela cu foarte multe inregistrari</title><link>http://sqlserver.ro/forums/thread/7710.aspx</link><pubDate>Wed, 21 Oct 2009 05:44:29 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7710</guid><dc:creator>sageata2002</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7710.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=7710</wfw:commentRss><description>&lt;P&gt;Salut.&lt;/P&gt;
&lt;P&gt;Evident, partitionarea e "the way to go"; problema e ca ai nevoie, intr-adevar, de un disk subsystem decent. Din datele pe care le expui se pare ca e un pic mai complexa problema in cazul tau (adica nu ai resurse pentru SANs, RAID arrays, etc. daca ai, mea culpa).&lt;BR&gt;Am o singura intrebare: se pot sterge sau arhiva datele istorice din tabela sau trebuie sa ramana tabela asa cum e?&lt;/P&gt;
&lt;P&gt;toate cele bune,&lt;BR&gt;calin&lt;/P&gt;</description></item><item><title>Re: Tabela cu foarte multe inregistrari</title><link>http://sqlserver.ro/forums/thread/7703.aspx</link><pubDate>Mon, 19 Oct 2009 17:04:03 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7703</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7703.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=7703</wfw:commentRss><description>Eu aş sugera să evaluaţi şi soluţii bazate pe striping (RAID-0), adică să faceţi din mai multe discuri fizice un singur disc logic.&lt;br /&gt;&lt;br /&gt;Citat din &lt;a href="http://msdn.microsoft.com/en-us/library/ms177411.aspx"&gt;Designing Partitions to Improve Query Performance&lt;/a&gt;:&lt;br /&gt;"It may be tempting to map your partitions to filegroups, each accessing a different physical disk drive, in order to improve I/O performance. When SQL Server performs data sorting for I/O operations, it sorts the data first by partition. Under this scenario, SQL Server accesses one drive at a time, and this might reduce performance. A better solution in terms of performance is to stripe the data files of your partitions across more than one disk by setting up a RAID. In this way, although SQL Server still sorts data by partition, it can access all the drives of each partition at the same time. "&lt;br /&gt;&lt;br /&gt;Răzvan</description></item><item><title>Re: Tabela cu foarte multe inregistrari</title><link>http://sqlserver.ro/forums/thread/7698.aspx</link><pubDate>Mon, 19 Oct 2009 06:42:08 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7698</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7698.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=7698</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;Syberye:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;1. folosind "partitionare", nu afeacteaza back-up-ul, search-ul care ar fii cea mai bun mod de partitionare&lt;/p&gt;
&lt;p&gt;2. folosind un sistem de mai multe tabela (exemplu toate inregistrarile din mai&amp;nbsp; - o tabela, iunie - o tabela ....)&lt;/p&gt;
&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br&gt;Depinde cite date ai si cum faci regasirea datelor.&lt;br&gt;Raspunsul lui Cristian e bun -&amp;nbsp; totusi, daca vrei date anuale_lunare si ai mili(oane)(arde) de inregistrari, optiunea 2 s-ar putea dovedi cistigatoare&lt;br&gt;</description></item><item><title>Re: Tabela cu foarte multe inregistrari</title><link>http://sqlserver.ro/forums/thread/7697.aspx</link><pubDate>Mon, 19 Oct 2009 06:28:53 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7697</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7697.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=7697</wfw:commentRss><description>Personal va recomand partitionarea.&lt;br&gt;</description></item><item><title>Tabela cu foarte multe inregistrari</title><link>http://sqlserver.ro/forums/thread/7695.aspx</link><pubDate>Mon, 19 Oct 2009 06:21:57 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:7695</guid><dc:creator>Syberye</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/7695.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=7695</wfw:commentRss><description>&lt;P&gt;Buna ziua&lt;/P&gt;
&lt;P&gt;As dori sa aflu cum se abordeaza o situatie in care ai o tabela cu foarte multe inregistrai, care ajunge sa nu mai incapa pe un singur hard-disk local.&lt;/P&gt;
&lt;P&gt;1. folosind "partitionare", nu afeacteaza back-up-ul, search-ul care ar fii cea mai bun mod de partitionare&lt;/P&gt;
&lt;P&gt;2. folosind un sistem de mai multe tabela (exemplu toate inregistrarile din mai&amp;nbsp; - o tabela, iunie - o tabela ....)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Va multumesc&lt;/P&gt;
&lt;P&gt;Petre&lt;/P&gt;</description></item></channel></rss>