Unix Technical Forum

Doc update for pg_start_backup

This is a discussion on Doc update for pg_start_backup within the Pgsql Patches forums, part of the PostgreSQL category; --> Added a note to the docs that pg_start_backup can take a long time to finish now that we spread ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 11:18 AM
Heikki Linnakangas
 
Posts: n/a
Default Doc update for pg_start_backup

Added a note to the docs that pg_start_backup can take a long time to
finish now that we spread out checkpoints:

*** doc/src/sgml/backup.sgml 1 Feb 2007 00:28:16 -0000 2.97
--- doc/src/sgml/backup.sgml 28 Jun 2007 11:44:20 -0000
***************
*** 672,678 ****
<para>
It does not matter which database within the cluster you connect
to to
issue this command. You can ignore the result returned by the
function;
! but if it reports an error, deal with that before proceeding.
</para>
</listitem>
<listitem>
--- 672,682 ----
<para>
It does not matter which database within the cluster you connect
to to
issue this command. You can ignore the result returned by the
function;
! but if it reports an error, deal with that before proceeding.
Note that
! pg_start_backup can take a long time to finish. It performs a
checkpoint,
! and if one is already running it has to wait for it to finish
first. You
! can adjust <varname>checkpoint_completion_target</varname> to
perform the
! checkpoints more aggressively.
</para>
</listitem>
<listitem>


--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 11:18 AM
Tom Lane
 
Posts: n/a
Default Re: Doc update for pg_start_backup

Heikki Linnakangas <heikki@enterprisedb.com> writes:
> Added a note to the docs that pg_start_backup can take a long time to
> finish now that we spread out checkpoints:


Rather than suggesting twiddling checkpoint_completion_target, should
we suggest a manual CHECKPOINT command before pg_start_backup?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:46 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com