| From: | Lonni J Friedman <netllama(at)gmail(dot)com> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | pg_basebackup blocking all queries with horrible performance |
| Date: | 2012-06-07 17:41:36 |
| Message-ID: | CAP=oouEy9xxa6biSnqNSJKMf0fuKsufiYjbz5SJyvj0gc0Qkiw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-hackers |
Greetings,
I have a 4 server postgresql-9.1.3 cluster (one master doing streaming
replication to 3 hot standby servers). All of them are running
Fedora-16-x86_64.
http://wiki.postgresql.org/wiki/Lock_Monitoring
I'm finding that I cannot runpg_basebackup at all, or it slows down all
SQL queries from running until pg_basebackup has completed (and the
load on the box just takes off to over 30.00). By "blocks" I mean
that any query that is submitted just hangs and does not return for
seconds or sometimes even minutes
until pg_basebackup has stopped. I'm assuming that this isn't
expected behavior, so I'm rather confused on what is going on. The
command that I'm issuing is:
pg_basebackup -v -D /mnt/backups/backups/tmp0 -x -Ft -U postgres
Can someone provide some guidance on how to debug this? Or is there
some way to reduce the performance/priority of pg_basebackup so that
it has much less impact on overall performance?
thanks!
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fabricio | 2012-06-07 18:01:37 | could not rename temporary statistics file "pg_stat_tmp/pgstat.tmp" to "pg_stat_tmp/pgstat.stat": No such file or directory |
| Previous Message | ROMAIN, ERICKA W CTR DISA PEO-MA | 2012-06-07 15:12:38 | How To Change Password Hash Algorithm From MD5 to SHA-256 |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2012-06-07 17:42:30 | Re: XLog changes for 9.3 |
| Previous Message | Robert Haas | 2012-06-07 17:40:49 | Re: Early hint bit setting |