<?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>Diverse</title><link>http://sqlserver.ro/forums/27/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: Database Mirroring - facts</title><link>http://sqlserver.ro/forums/thread/182.aspx</link><pubDate>Mon, 25 Sep 2006 18:55:15 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:182</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/182.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=27&amp;PostID=182</wfw:commentRss><description>&lt;P&gt;In plus se poate spune ca &lt;STRONG&gt;Database Mirroring&lt;/STRONG&gt; ofera doua moduri de lucru:&amp;nbsp;sincron sau asincron. In modul asincron tranzactiile realizeaza commit&amp;nbsp;fara a astepta ca serverul mirror sa scrie aceleasi operatii in log-ul de tranzactii. In modul sincron tranzactiile realizeaza commit pe ambele servere.&lt;/P&gt;
&lt;P&gt;Modurile de lucru afecteaza performanta modul asincron fiind mai performant iar cel sincron mai sigur.&lt;/P&gt;</description></item><item><title>Re: Database Mirroring - facts</title><link>http://sqlserver.ro/forums/thread/181.aspx</link><pubDate>Mon, 25 Sep 2006 18:44:27 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:181</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/181.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=27&amp;PostID=181</wfw:commentRss><description>&lt;P&gt;Serverul "Mirror" asa cum spuneai este optional in sensul ca daca lipseste, trecerea la cealalta copie se face manual, deci DBA-ul trebuie sa fie pe faza cand are loc indisponibilitatea.&lt;/P&gt;</description></item><item><title>Database Mirroring - facts</title><link>http://sqlserver.ro/forums/thread/179.aspx</link><pubDate>Mon, 25 Sep 2006 18:37:58 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:179</guid><dc:creator>xmldeveloper</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/179.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=27&amp;PostID=179</wfw:commentRss><description>&lt;P class=MsoNormal&gt;&lt;I&gt;&lt;SPAN&gt;&lt;STRONG&gt;Database Mirroring&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt; este o solutie software pentru cresterea disponibilitatii unei baze de date. Este o solutie alternativa sau complementara pentru &lt;I&gt;&lt;STRONG&gt;Failover Clustering&lt;/STRONG&gt;&lt;/I&gt; sau &lt;I&gt;&lt;STRONG&gt;Log Shipping&lt;/STRONG&gt;&lt;/I&gt;. Comparativ cu &lt;I&gt;&lt;STRONG&gt;Failover Clustering&lt;/STRONG&gt;&lt;/I&gt; este mai usor de administrat si nu necesita hardware aditional. &lt;I&gt;&lt;STRONG&gt;Database Mirroring&lt;/STRONG&gt;&lt;/I&gt; consta in folosirea a doua copii identice pentru o baza de date (aflate in general pe servere diferite). O singura baza de date (denumita baza primara) este disponibila pentru aplicatiile client. Cealalta (baza mirror) devine disponibila in cazul in care baza primara devine indisponibila. Pentru mentinerea unei copii identice modificarile bazei primare sunt duplicate pe copia acesteia (baza de date mirror) folosind modificarile transaction log (jurnal de tranzactii). Diferenta intre &lt;I&gt;&lt;STRONG&gt;Database Mirroring&lt;/STRONG&gt;&lt;/I&gt; si&lt;I&gt; &lt;STRONG&gt;Log Shipping&lt;/STRONG&gt;&lt;/I&gt; este folosirea tehnologiei&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;copy-on-write&lt;/STRONG&gt;&lt;/I&gt; (copiaza la scriere), modificarile fiind trimise (sincron sau asincron) catre baza de date mirror in momentul scrierii in transaction log-ul bazei primare. Pentru a folosi &lt;I&gt;&lt;STRONG&gt;Database Mirroring&lt;/STRONG&gt;&lt;/I&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;pentru o baza de date, aceasta trebuie sa fie configurata folosind &lt;I&gt;&lt;STRONG&gt;full recovery model&lt;/STRONG&gt;&lt;/I&gt; (model de recuperare complet). Serverele implicate in &lt;I&gt;&lt;STRONG&gt;Database Mirroring&lt;/STRONG&gt;&lt;/I&gt; pot avea trei roluri:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal&gt;&lt;SPAN&gt;Server &lt;STRONG&gt;Principal &lt;/STRONG&gt;– este serverul care detine baza de date principala, la care se vor conecta aplicatiile client.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Server &lt;STRONG&gt;Mirror&lt;/STRONG&gt; – detine copia datelor (baza de date mirror) si poate prelua rolul de server principal.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal&gt;&lt;SPAN&gt;Server &lt;STRONG&gt;Witness&lt;/STRONG&gt; (martor) – este un server optional folosit ca arbitru pentru a decide repartizarea rolurilor pentru serverul principal si serverul mirror. Daca serverul principal devine indisponibil, serverul mirror poate prelua automat rolul principal, iar fostul server principal va deveni server mirror in momentul in care devine disponibil. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;B&gt;&lt;SPAN&gt;Observatie:&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Datorita testarii insuficiente (in perioada beta a SQL Server 2005) in mediul de productie, solutia &lt;I&gt;&lt;STRONG&gt;Database Mirroring&lt;/STRONG&gt;&lt;/I&gt; era disponibila in versiunea release a SQL Server 2005 doar pentru testare.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Pentru activarea &lt;I&gt;&lt;STRONG&gt;Database Mirroring&lt;/STRONG&gt;&lt;/I&gt; se folosesea trace flag-ul 1400 ca parametru de startup (pornire).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&lt;STRONG&gt;SP1&lt;/STRONG&gt; pentru SQL Server 2005&amp;nbsp;repara&amp;nbsp;aceasta problema,&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Database Mirroring&lt;/STRONG&gt;&lt;/EM&gt; fiind una din facilitatile incluse in acest service pack.&lt;/SPAN&gt;&lt;/P&gt;</description></item></channel></rss>