Concurrent read from a partition table.

From: hyelluas <helen_yelluas(at)mcafee(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Concurrent read from a partition table.
Date: 2011-07-12 00:31:31
Message-ID: 1310430691812-4577154.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

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

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Concurrent-read-from-a-partition-table-tp4577154p4577154.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Travers 2011-07-12 01:18:08 Re: Interesting article, Facebook woes using MySQL
Previous Message Matthew Byrne 2011-07-12 00:12:11 Accidentally truncated pg_type