Re: Could not open relation with OID (table partitioning issue?)

Поиск
Список
Период
Сортировка
От bakkiya
Тема Re: Could not open relation with OID (table partitioning issue?)
Дата
Msg-id 1290573685411-3277881.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Could not open relation with OID (table partitioning issue?)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
This is different from the actual error, just wanted to post about this also.
When queries are running on partition table, EXPLAIN statements are going to
waiting state.
For ex:
I am running
SELECT
    events.dp AS target_port,
    count(events.dp) as hits
FROM
    events
WHERE
    events.rid02 = 23243
    AND events.sip = 455545
    AND events.dp IS NOT NULL
    AND (events.evt_time >= '2010-09-01 16:00:00')
    AND events.evt_time <= '2010-09-01 16:05:00')
GROUP BY
    events.dp
ORDER BY
    2 DESC
LIMIT 10

And in a different session I am running
EXPLAIN <same sql statement mentioned above>
THis EXPLAIN statement is in waiting state. Is this expected behaviour?

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Could-not-open-relation-with-OID-table-partitioning-issue-tp3265708p3277881.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

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

Предыдущее
От: Michael Rowan
Дата:
Сообщение: Multi-row insert using a Function
Следующее
От: "Sheena O'Connell"
Дата:
Сообщение: Running Postgresql on Windows sans install