<?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: Recovery model set to SIMPLE/FULL</title><link>http://sqlserver.ro/forums/thread/1720.aspx</link><pubDate>Tue, 06 Feb 2007 12:44:03 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1720</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1720.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1720</wfw:commentRss><description>&lt;p&gt;Dacă e vorba de o bază de date reală (nu pentru development sau test), este recomandabil ca Recovery Model-ul să fie Full (pentru a putea beneficia de point-in-time recovery). Oricum, BACKUP LOG nu funcţionează pe Recovery Model Simple.

&lt;/p&gt;&lt;p&gt;Ca strategie de backup, eu aş face backup-uri de log din oră în oră în timpul zilei, în zilele de lucru şi câte un backup full în fiecare săptămână (duminica noaptea). Poţi şterge backup-urile de log-uri mai vechi de 3 săptămâni şi backup-urile full mai vechi de 3 luni (eventual, poţi să salvezi câte un backup pe lună pe un CD). În acest fel, în caz că ai o defecţiune gravă la hard discul server-ului, pierzi maxim o oră de lucru (iar dimensiunile backup-urilor sunt totuşi rezonabile). În plus, dacă e necesar să se vadă în ce stare era baza de date la un moment de timp mai vechi, acest lucru este posibil (cu o granularitate care depinde de vechime). Bineînţeles, toate intervalele de timp descrise mai sus pot fi ajustate în funcţie de specificul propriu.

&lt;/p&gt;&lt;p&gt;Răzvan

&lt;/p&gt;</description></item><item><title>Re: Recovery model set to SIMPLE/FULL</title><link>http://sqlserver.ro/forums/thread/1719.aspx</link><pubDate>Tue, 06 Feb 2007 11:53:53 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1719</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1719.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1719</wfw:commentRss><description>&lt;P&gt;din cate am inteles...am hotarat sa fac un job care sa-mi execute zilnic BACKUP LOG atunci cand pe baza nu se lucreaza&lt;/P&gt;
&lt;P&gt;nu am sa fac SHRINK pt ca in felul asta se va micsora Log-ul &lt;/P&gt;
&lt;P&gt;&amp;nbsp;eu nu vreau sa-l micsorez ci vreau doar ca la sfarsitul zilei sa mi-l goleasca dar nu si micsoreze&lt;/P&gt;
&lt;P&gt;care e cea mai buna solutie.....recovery model trebuie sa fie SIMPLE sau FULL cand fac acest BACKUP LOG...sau nu conteaza?&lt;/P&gt;
&lt;P&gt;orice sfat e bine venit....ideea e ca el creste vizibil zilnic.....o sa-i dau o dimensiune destul de mare ca sa nu se mai mareasca procentual cand e nevoie si as vrea ca la sfarsitul zilei sa se goleasca de transactii efectuate...inutile&lt;/P&gt;</description></item><item><title>Re: Recovery model set to SIMPLE/FULL</title><link>http://sqlserver.ro/forums/thread/1718.aspx</link><pubDate>Tue, 06 Feb 2007 10:56:03 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1718</guid><dc:creator>rsocol</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1718.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1718</wfw:commentRss><description>&lt;p&gt;Autoshrink are efect şi dacă Recovery Model este Full, deoarece autoshrink se referă atât la fişierele de log, cât şi la cele de date. Totuşi, fişierele de log nu se eliberează atunci când Recovery Model este Full decât după ce se face backup la Transaction Log (sau BACKUP LOG WITH NO_LOG).&lt;/p&gt;&lt;p&gt;Pentru mai multe observaţii referitoare la "shrink", vezi şi &lt;a href="http://www.karaszi.com/SQLServer/info_dont_shrink.asp" target="_blank"&gt;http://sqlserver2000.databases.aspfaq.com/how-do-i-reclaim-space-in-sql-server.html&lt;/a&gt; precum şi link-urile referite în acest articol.&lt;br&gt;&lt;/p&gt;&lt;p&gt;Răzvan&lt;/p&gt;</description></item><item><title>Re: Recovery model set to SIMPLE/FULL</title><link>http://sqlserver.ro/forums/thread/1717.aspx</link><pubDate>Tue, 06 Feb 2007 10:50:49 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1717</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1717.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1717</wfw:commentRss><description>&lt;p&gt;Pentru Alex, se poate face shrinking si cand bd este setata pe modelul Full, insa sigur ca efectul este mare cand modelul&lt;/p&gt;&lt;p&gt;este pe Simple; iddea e ca nu se conditioneaza in sensul sugerat de dvs.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Recovery model set to SIMPLE/FULL</title><link>http://sqlserver.ro/forums/thread/1716.aspx</link><pubDate>Tue, 06 Feb 2007 10:43:52 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1716</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1716.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1716</wfw:commentRss><description>&lt;P&gt;O metoda de a micsora dimensiunea log-ului este urmatoarea:&lt;/P&gt;
&lt;P&gt;1. Switch to SIMPLE recovery model.&lt;/P&gt;
&lt;P&gt;2. Shrink database.&lt;/P&gt;
&lt;P&gt;3. Switch back to FULL recovery model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Va recomand oricum sa cititi urmatorul articol: &lt;A class="" href="http://support.microsoft.com/kb/873235" target=_blank&gt;How to stop the transaction log of a SQL Server database from growing unexpectedly&lt;/A&gt;&lt;/P&gt;</description></item><item><title>Re: Recovery model set to SIMPLE/FULL</title><link>http://sqlserver.ro/forums/thread/1715.aspx</link><pubDate>Tue, 06 Feb 2007 10:41:10 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1715</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1715.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1715</wfw:commentRss><description>&lt;P class=indent&gt;AUTO_SHRINK only reduces the size of the transaction log if the &lt;FONT style="BACKGROUND-COLOR:#0a246a;" color=#ffffff&gt;database&lt;/FONT&gt; is set to SIMPLE recovery model or if the log is backed up. &lt;/P&gt;
&lt;P class=indent&gt;&amp;nbsp;??!!!&lt;/P&gt;</description></item><item><title>Re: Recovery model set to SIMPLE/FULL</title><link>http://sqlserver.ro/forums/thread/1714.aspx</link><pubDate>Tue, 06 Feb 2007 10:34:54 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1714</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1714.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1714</wfw:commentRss><description>&lt;p&gt;Nu are nici o legatura una cu alta; asa cum spune denumirea, e vorba de modelul de recuperare adoptat, cu trimitere evidenta&lt;/p&gt;&lt;p&gt;la caracteristici adoptate pt . log; in timp ce operatia de shrink se refera la restrangerea spatiului in fisierele de date si/sau log.&lt;br&gt;&lt;/p&gt;</description></item><item><title>Recovery model set to SIMPLE/FULL</title><link>http://sqlserver.ro/forums/thread/1713.aspx</link><pubDate>Tue, 06 Feb 2007 10:23:10 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:1713</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/1713.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=1713</wfw:commentRss><description>&lt;P&gt;salut, intrebarea mea este in Database Properties/Options/Recovery Model daca e setat pe FULL......auto shrink are vreun efect....am citit undeva ca nu ar avea efect decat daca Recovery Model e setat pe SIMPLE. sa fie oare adevarat?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item></channel></rss>