<?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: Golire tabele din baza de date aflata in replicare</title><link>http://sqlserver.ro/forums/thread/2076.aspx</link><pubDate>Tue, 12 Jun 2007 10:57:42 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2076</guid><dc:creator>ovidiug</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2076.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=2076</wfw:commentRss><description>&lt;P&gt;Multumesc pentru raspuns, chiar daca nu era ce doream eu.&lt;/P&gt;
&lt;P&gt;Asa cum am mentionat vroiam sa golesc pur si simplu tabelele, rapid, &amp;nbsp;fara a afecta in vre-un fel replicarea.&lt;/P&gt;
&lt;P&gt;Rezolvarea a fost extrem de simpla.&lt;/P&gt;
&lt;P&gt;Scriptul care realiza stergerea datelor facea lock pe tabela si din cauza asta apareau intarzieri mari la stergere.&lt;/P&gt;
&lt;P&gt;In momentul in care am pus PAGLOCK a functionat perfect, adica a realizat stergerea datelor = aprox. 12,8 GB in aproape 8 ore, ceea ce pentru mine a fost ok.&lt;/P&gt;
&lt;P&gt;Totusi, poate are cineva o solutie mai buna.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Re: Golire tabele din baza de date aflata in replicare</title><link>http://sqlserver.ro/forums/thread/2052.aspx</link><pubDate>Thu, 07 Jun 2007 17:33:31 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2052</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2052.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=2052</wfw:commentRss><description>O idee ar fi sa generati scripturile de replicare la momentul in care replicarea functioneaza; dupa care trebuie oprita replicarea; stergere date si apoi lansare scripturi pentru regenerarea replicarii</description></item><item><title>Re: Golire tabele din baza de date aflata in replicare</title><link>http://sqlserver.ro/forums/thread/2051.aspx</link><pubDate>Thu, 07 Jun 2007 17:20:00 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2051</guid><dc:creator>ovidiug</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2051.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=2051</wfw:commentRss><description>&lt;P&gt;Multumesc pentru raspuns.&lt;/P&gt;
&lt;P&gt;Detaliile ar fi urmatoarele :&lt;/P&gt;
&lt;P&gt;Este vorba despre 27 de baze de date care se afla in replicare pe trei nivele. &lt;/P&gt;
&lt;P&gt;Doresc sa refac rapid intreaga structura de baze de date, fara a modifica publicatiile!!!!!!!&lt;/P&gt;
&lt;P&gt;1. am sters subscriptiile de la nivelele inferioare. Bazele au fost recreate&lt;/P&gt;
&lt;P&gt;2. vreau sa sterg toate inregistrarile existente in tabelele din baza de date de la nivelul superior fara a afecta publicatiile. Este vorba de aproximativ 90% din tabele, restul de 10% insemnand nomenclatoare.&lt;/P&gt;
&lt;P&gt;3. dupa stergerea datelor , creez subscriptiile pentru bazele inferioare, snapshot, etc. &lt;/P&gt;
&lt;P&gt;4. terminat refacere structura&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Problema este ca din baza principala trebuie sterse aproximativ 12 GB volum de date.&lt;/P&gt;</description></item><item><title>Re: Golire tabele din baza de date aflata in replicare</title><link>http://sqlserver.ro/forums/thread/2050.aspx</link><pubDate>Thu, 07 Jun 2007 15:18:53 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2050</guid><dc:creator>ggciubuc</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2050.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=2050</wfw:commentRss><description>&lt;P&gt;Daca e nevoie de sters date inseamna ca acea baza de date numai trebuie sa primeasca sau furnizeze date deci nu si-ar avea rostul intr-o replicare. Explicati mai multe!&lt;/P&gt;</description></item><item><title>Golire tabele din baza de date aflata in replicare</title><link>http://sqlserver.ro/forums/thread/2043.aspx</link><pubDate>Thu, 07 Jun 2007 07:13:52 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2043</guid><dc:creator>ovidiug</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2043.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=2043</wfw:commentRss><description>&lt;P&gt;Salutare,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stie cineva o solutie care sa permita golirea tabelelor dintr-o baza de date de 12GB aflata in replicare?&lt;/P&gt;
&lt;P&gt;Truncate nu merge din cauza replicarii.&lt;/P&gt;
&lt;P&gt;Cu "DELETE from tabela" dureaza extraordinar de mult si se blocheaza la un moment datdin cauza lock-urilorpe tabele.&lt;/P&gt;
&lt;P&gt;As vrea o solutie rapida si eficienta care sa imi permita golirea tabelelor fara a umbla la replicare.&lt;/P&gt;
&lt;P&gt;Multumesc anticipat.&lt;/P&gt;
&lt;P&gt;Ovidiu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item></channel></rss>