Re: Concurrent read from a partition table.

Поиск
Список
Период
Сортировка
От Chetan Suttraway
Тема Re: Concurrent read from a partition table.
Дата
Msg-id CAPtHcnGOqAaLENQ_U+FwQ-2gEaQvNnNcJTzHhjqXHkX4wuSYww@mail.gmail.com
обсуждение исходный текст
Ответ на Concurrent read from a partition table.  (hyelluas <helen_yelluas@mcafee.com>)
Ответы Re: Concurrent read from a partition table.  (hyelluas <helen_yelluas@mcafee.com>)
Список pgsql-general


On Tue, Jul 12, 2011 at 6:01 AM, hyelluas <helen_yelluas@mcafee.com> wrote:
Hello,

I’m having a problem with concurrent processing.
2 queries are accessing the same parent table  that have 24 partitions.
I see “shared lock is not granted “ for one of them on one of the children
while the other query is running.

Does the “ select from a parent table” make a  lock on  the children?


In general if there are no predicates in query, then select would be fired across all
children.
 
How I can change it?
The one of the queries runs hourly ( 8 min) on the server , the other one
can be run by a user , and a few users can run the same query.

Thank you.
Helen

Could you post a self-contained test case?

Regards,
Chetan


--
EnterpriseDB Corporation
The Enterprise PostgreSQL Company

EnterpriseDB Blog : http://blogs.enterprisedb.com




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

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: [HACKERS] Creating temp tables inside read only transactions
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: ? about Composite Keys + ON DELETE/UPDATE SET NULL