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 26 of 48 Topic 4027 of 4424
Post > Topic >>

Re: Replication Syatem

by meetgaurikanekar@[EMAIL PROTECTED] ("Gauri Kanekar") Apr 29, 2008 at 04:35 PM

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

From most of the reply found that upgrade to higher version of postgres 
may
be to 8.3.1 may be one of the solution to tackle this problem

Checked about HOT feature in 8.3.1.

Do we need to do any special config changes or any other setting for HOT
to
work??

Any special guideline to follow to make HOT working??

~ Gauri

On Tue, Apr 29, 2008 at 2:07 PM, Greg Smith <gsmith@[EMAIL PROTECTED]
> wrote:

> On Tue, 29 Apr 2008, Gauri Kanekar wrote:
>
>  We do vacuum full, as vacuum verbose analyse dont regain space for us.
> >
>
> Ah, now we're getting to the root of your problem here.  You expect that
> VACUUM should reclaim space.
>
> Whenever you UPDATE a row, it writes a new one out, then switches to use
> that version.  This leaves behind the original.  Those now unused rows
are
> what VACUUM gathers, but it doesn't give that space back to the
operating
> system.
>
> The model here assumes that you'll need that space again for the next
time
> you UPDATE or INSERT a row.  So instead VACUUM just keeps those
available
> for database reuse rather than returning it to the operating system.
>
> Now, if you don't VACUUM frequently enough, this model breaks down, and
> the table can get bigger with space that may never get reused.  The idea
is
> that you should be VACUUMing up now unneeded rows at about the same rate
> they're being re-used.  When you don't keep up, the database can expand
in
> space that you don't get back again.  The right answer to this problem
is
> not to use VACUUM FULL; it's to use regular VACUUM more often.
>
>
> --
> * Greg Smith gsmith@[EMAIL PROTECTED]
 http://www.gregsmith.com
Baltimore, MD
>



-- 
Regards
Gauri

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

From most of the reply found that upgrade to higher version of
postgres&nbsp; may be to 8.3.1 may be one of the solution to tackle this
problem<br><br>Checked about HOT feature in <a
href="http://8.3.1.">8.3.1.</a><br><br>Do
we need to do any special config
changes or any other setting for HOT to work??<br>
<br>Any special guideline to follow to make HOT working??<br><br>~
Gauri<br><br><div class="gmail_quote">On Tue, Apr 29, 2008 at 2:07 PM,
Greg Smith &lt;<a
href="mailto:gsmith@[EMAIL PROTECTED]
">gsmith@[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
class="Ih2E3d">On Tue, 29 Apr 2008, Gauri Kanekar wrote:<br>
<br>
</div><div class="Ih2E3d"><blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
We do vacuum full, as vacuum verbose analyse dont regain space for us.<br>
</blockquote>
<br></div>
Ah, now we&#39;re getting to the root of your problem here. &nbsp;You
expect that VACUUM should reclaim space.<br>
<br>
Whenever you UPDATE a row, it writes a new one out, then switches to use
that version. &nbsp;This leaves behind the original. &nbsp;Those now
unused rows are what VACUUM gathers, but it doesn&#39;t give that space
back to the operating system.<br>

<br>
The model here assumes that you&#39;ll need that space again for the next
time you UPDATE or INSERT a row. &nbsp;So instead VACUUM just keeps those
available for database reuse rather than returning it to the operating
system.<br>

<br>
Now, if you don&#39;t VACUUM frequently enough, this model breaks down,
and the table can get bigger with space that may never get reused.
&nbsp;The idea is that you should be VACUUMing up now unneeded rows at
about the same rate they&#39;re being re-used. &nbsp;When you don&#39;t
keep up, the database can expand in space that you don&#39;t get back
again. &nbsp;The right answer to this problem is not to use VACUUM FULL;
it&#39;s to use regular VACUUM more often.<div>
<div></div><div class="Wj3C7c"><br>
<br>
--<br>
* Greg Smith <a href="mailto:gsmith@[EMAIL PROTECTED]
"
target="_blank">gsmith@[EMAIL PROTECTED]
> <a
href="http://www.gregsmith.com"
target="_blank">http://www.gregsmith.com</a>
Baltimore, MD<br>
</div></div></blockquote></div><br><br clear="all"><br>--
<br>Regards<br>Gauri

------=_Part_883_8705078.1209467140512--
 




 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 7:10:31 CST 2008.