Re: speeding up pg_dump?

Поиск
Список
Период
Сортировка
От Christopher Browne
Тема Re: speeding up pg_dump?
Дата
Msg-id m3k6dpq0y1.fsf@mobile.int.cbbrowne.com
обсуждение исходный текст
Ответ на speeding up pg_dump?  (<me@alternize.com>)
Список pgsql-novice
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
>> Every transaction takes ExclusiveLock on its own transaction ID.  That
>> in itself isn't an issue.  You sure you don't see any rows with granted
>> = 'f' while pg_dump is running and everything seems blocked?
>
> yes. during a pg_dump, there are like 30 locks - all of then granted (t)

That makes sense; once you are dumping the 30th table, there will be
about 30 locks, although they should only be AccessShared locks.

> i'll set up pg8.1.1 tomorrow on a new server to check if its db/web or
> server related...

You can expect to see a bunch of AccessShared locks associated with
the transaction used for the pg_dump.

The interesting question is what *else* is trying to grab a lock; that
"something else" is presumably the root of your troubles.
--
wm(X,Y):-write(X),write('@'),write(Y). wm('cbbrowne','gmail.com').
http://linuxfinances.info/info/slony.html
Keeping instructions  and operands  in  different memories  saves  .20
(.09) microseconds.

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Joeseph Blowseph"
Дата:
Сообщение: Restoring to a different tablespace
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: limiting number of allowed rows in a table