Doc update for pg_start_backup

Поиск
Список
Период
Сортировка
Искать

Doc update for pg_start_backup

От:
Heikki Linnakangas <heikki@enterprisedb.com>
Дата:
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 ****
       
        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.
       
      
      
--- 672,682 ----
       
        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 checkpoint_completion_target to 
perform the
!      checkpoints more aggressively.
       
      
      


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

Re: Doc update for pg_start_backup

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Heikki Linnakangas  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
FAQ