Search Postgresql Archives

WAL replication standby server: query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



List ,

I am trying  to  configure a WAL replicated  standby server(EDB16) ..   In the archive command  I used a dedicated  "/data/archive " directory  for WAL archiving as follows, as I don't want any WAL overwriting in the default WAL directory and loss of WAL files. 

I have
archive_command=  ' cp %p /data/archive/%f '

pg_hba.conf    I have

host replication     all             10.255.10.0/24              md5

My doubt is whether the standby Postgres server(EDB16) reads WAL files by itself   from the primary server's  explicit WAL archive folder /data/archive  by its own  ? 
OR
  The standby can read  only from the default WAL location  ie; pg_wal   directory of primary server ? 

Please  enlighten me.

If the standby can read only the default pg_wal folder, then how can we make the standby server to read from the explicit  " /data/archive "  folder for WAL syncing automatically to the standby ?

Any input is much appreciated.

Thank you,
Krishane

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux