Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: Replication...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 13 of 48 Topic 4027 of 4424
Post > Topic >>

Re: Replication Syatem

by meetgaurikanekar@[EMAIL PROTECTED] ("Gauri Kanekar") Apr 29, 2008 at 10:25 AM

------=_Part_10418_6654278.1209444910506
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Basically we have some background process which updates "table1" and we
don't want the application to make any changes to "table1" while vacuum.

Vacuum requires exclusive lock on "table1" and if any of the background or
application is ON vacuum don't kick off. Thats the reason we need to get
the
site down.

~ Gauri

On Tue, Apr 29, 2008 at 3:13 AM, Chris Browne <cbbrowne@[EMAIL PROTECTED]
> wrote:

> meetgaurikanekar@[EMAIL PROTECTED]
 ("Gauri Kanekar") writes:
> > We have a table "table1" which get insert and updates daily in high
> > numbers, bcoz of which its size is increasing and we have to vacuum
> > it every alternate day. Vacuuming "table1" take almost 30min and
> > during that time the site is down.  We need to cut down on this
> > downtime.So thought of having a replication system, for which the
> > replicated DB will be up during the master is getting vacuumed.  Can
> > anybody guide which will be the best suited replication solution for
> > this.
>
> The only reason that it would be necessary for VACUUM to "take the
> site down" would be if you are running version 7.1, which was
> obsoleted in 2002, which, it should be noted, was SIX YEARS AGO.
>
> As has been noted, you seem to be presupposing a remarkably complex
> solution to resolve a problem which is likely to be better handled via
> running VACUUM rather more frequently.
> --
> output = reverse("ofni.sesabatadxunil" "@[EMAIL PROTECTED]
" "enworbbc")
> http://www3.sympatico.ca/cbbrowne/postgresql.html
> Rules  of the  Evil Overlord  #181.  "I  will decree  that all  hay be
> ****pped in tightly-packed bales. Any wagonload of loose hay attempting
> to pass through a checkpoint will be set on fire."
> <http://www.eviloverlord.com/>
>
> --
> Sent via pgsql-performance mailing list
(pgsql-performance@[EMAIL PROTECTED]
)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>



-- 
Regards
Gauri

------=_Part_10418_6654278.1209444910506
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br>Basically we have some background process which updates
&quot;table1&quot; and we don&#39;t want the application to make any
changes to &quot;table1&quot; while vacuum.<br><br>Vacuum requires
exclusive lock on &quot;table1&quot; and if any of the background or
application is ON vacuum don&#39;t kick off. Thats the reason we need to
get the site down.<br>
<br>~ Gauri<br><br><div class="gmail_quote">On Tue, Apr 29, 2008 at 3:13
AM, Chris Browne &lt;<a
href="mailto:cbbrowne@[EMAIL PROTECTED]
">cbbrowne@[EMAIL PROTECTED]
>&gt;
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c"><a
href="mailto:meetgaurikanekar@[EMAIL PROTECTED]
">meetgaurikanekar@[EMAIL PROTECTED]
>
(&quot;Gauri Kanekar&quot;) writes:<br>
&gt; We have a table &quot;table1&quot; which get insert and updates daily
in high<br>
&gt; numbers, bcoz of which its size is increasing and we have to
vacuum<br>
&gt; it every alternate day. Vacuuming &quot;table1&quot; take almost
30min and<br>
&gt; during that time the site is down. &nbsp;We need to cut down on
this<br>
&gt; downtime.So thought of having a replication system, for which the<br>
&gt; replicated DB will be up during the master is getting vacuumed.
&nbsp;Can<br>
&gt; anybody guide which will be the best suited replication solution
for<br>
&gt; this.<br>
<br>
</div></div>The only reason that it would be necessary for VACUUM to
&quot;take the<br>
site down&quot; would be if you are running version 7.1, which was<br>
obsoleted in 2002, which, it should be noted, was SIX YEARS AGO.<br>
<br>
As has been noted, you seem to be presupposing a remarkably complex<br>
solution to resolve a problem which is likely to be better handled via<br>
running VACUUM rather more frequently.<br>
<font color="#888888">--<br>
output = reverse(&quot;ofni.sesabatadxunil&quot; &quot;@[EMAIL PROTECTED]
)<br>
<a href="http://www3.sympatico.ca/cbbrowne/postgresql.html"
target="_blank">http://www3.sympatico.ca/cbbrowne/postgresql.html</a><br>
Rules &nbsp;of the &nbsp;Evil Overlord &nbsp;#181. &nbsp;&quot;I
&nbsp;will decree &nbsp;that all &nbsp;hay be<br>
****pped in tightly-packed bales. Any wagonload of loose hay attempting<br>
to pass through a checkpoint will be set on fire.&quot;<br>
&lt;<a href="http://www.eviloverlord.com/"
target="_blank">http://www.eviloverlord.com/</a>&gt;<br>
</font><div><div></div><div class="Wj3C7c"><br>
--<br>
Sent via pgsql-performance mailing list (<a
href="mailto:pgsql-performance@[EMAIL PROTECTED]
">pgsql-performance@[EMAIL PROTECTED]
>)<br>
To make changes to your subscription:<br>
<a href="http://www.postgresql.org/mailpref/pgsql-performance"
target="_blank">http://www.postgresql.org/mailpref/pgsql-performance</a><br>
</div></div></blockquote></div><br><br clear="all"><br>--
<br>Regards<br>Gauri

------=_Part_10418_6654278.1209444910506--
 




 48 Posts in Topic:
Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-28 19:08:56 
Re: Replication Syatem
peterachilds@[EMAIL PROTE  2008-04-28 14:58:14 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-28 19:35:37 
Re: Replication Syatem
salmanb@[EMAIL PROTECTED]  2008-04-28 10:16:44 
Re: Replication Syatem
ajs@[EMAIL PROTECTED] (A  2008-04-28 12:22:43 
Re: Replication Syatem
bnichols@[EMAIL PROTECTED  2008-04-28 10:13:20 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-28 19:47:22 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-28 19:48:48 
Re: Replication Syatem
ajs@[EMAIL PROTECTED] (A  2008-04-28 12:23:45 
Re: Replication Syatem
gsmith@[EMAIL PROTECTED]   2008-04-28 13:39:39 
Re: Replication Syatem
radhika.sambamurti@[EMAIL  2008-04-28 16:58:59 
Re: Replication Syatem
Chris Browne <cbbrowne  2008-04-28 17:43:57 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-29 10:25:10 
Re: Replication Syatem
tgl@[EMAIL PROTECTED] (T  2008-04-29 01:20:04 
Re: Replication Syatem
Chris Browne <cbbrowne  2008-04-29 10:48:28 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-29 10:41:33 
Re: Replication Syatem
gsmith@[EMAIL PROTECTED]   2008-04-29 01:08:09 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-29 11:16:57 
Re: Replication Syatem
pgsql@[EMAIL PROTECTED]   2008-04-29 20:49:38 
Re: Replication Syatem
pavan.deolasee@[EMAIL PRO  2008-04-29 11:17:05 
Re: Replication Syatem
pavan.deolasee@[EMAIL PRO  2008-04-29 11:25:27 
Re: Replication Syatem
gsmith@[EMAIL PROTECTED]   2008-04-29 04:37:07 
Re: Replication Syatem
tgl@[EMAIL PROTECTED] (T  2008-04-29 10:16:02 
Re: Replication Syatem
vivek@[EMAIL PROTECTED]   2008-04-29 11:00:57 
Re: Replication Syatem
tgl@[EMAIL PROTECTED] (T  2008-04-30 11:02:39 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-29 16:35:40 
Re: Replication Syatem
alvherre@[EMAIL PROTECTED  2008-04-29 09:02:04 
Re: Replication Syatem
pgsql@[EMAIL PROTECTED]   2008-04-30 02:18:10 
Re: Replication Syatem
pavan.deolasee@[EMAIL PRO  2008-04-29 16:55:38 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-29 18:29:43 
Re: Replication Syatem
alvherre@[EMAIL PROTECTED  2008-04-29 09:03:14 
Re: Replication Syatem
pavan.deolasee@[EMAIL PRO  2008-04-29 18:39:39 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-29 18:42:40 
Re: Replication Syatem
pavan.deolasee@[EMAIL PRO  2008-04-29 18:46:00 
Re: Replication Syatem
stark@[EMAIL PROTECTED]   2008-04-29 09:48:31 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-30 10:59:53 
Re: Replication Syatem
heikki@[EMAIL PROTECTED]   2008-04-30 11:26:18 
Re: Replication Syatem
craig@[EMAIL PROTECTED]   2008-04-30 20:16:21 
Re: Replication Syatem
heikki@[EMAIL PROTECTED]   2008-04-30 14:35:29 
Re: Replication Syatem
pavan.deolasee@[EMAIL PRO  2008-04-30 11:07:35 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-30 11:09:56 
Re: Replication Syatem
pavan.deolasee@[EMAIL PRO  2008-04-30 12:13:11 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-30 12:19:04 
Re: Replication Syatem
pavan.deolasee@[EMAIL PRO  2008-04-30 12:55:30 
Re: Replication Syatem
tgl@[EMAIL PROTECTED] (T  2008-04-30 10:46:28 
Re: Replication Syatem
pavan.deolasee@[EMAIL PRO  2008-04-30 19:06:12 
Re: Replication Syatem
pavan.deolasee@[EMAIL PRO  2008-04-30 21:45:05 
Re: Replication Syatem
meetgaurikanekar@[EMAIL P  2008-04-30 22:17:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 9:00:02 CST 2008.