Re: Should I partition this table?

Поиск
Список
Период
Сортировка
От AlexK
Тема Re: Should I partition this table?
Дата
Msg-id 1405006859443-5811141.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Should I partition this table?  (Bill Moran <wmoran@potentialtech.com>)
Ответы Re: Should I partition this table?  (Bill Moran <wmoran@potentialtech.com>)
Список pgsql-general
Bill,

Regarding "SELECT performance improve nearly linerally to the number of
partitions," - can you elaborate why? If I split my table into several
partitions, even the index depth may stay the same, because the PK is
narrow, it only consists of 2 4-byte integers.

My selects are distributed more or less evenly, so we really like your
suggestion to split on ParentID%SomeNumber, thank you!

At this time we would rather not introduce bugs related to cache
invalidation. Although we do need to read data fast, we do not want stale
data, and we cannot afford any bugs in this application.



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


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

Предыдущее
От: Chris Hanks
Дата:
Сообщение: Re: Joining on a view containing a UNION ALL produces a suboptimal plan on 9.3.4
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Joining on a view containing a UNION ALL produces a suboptimal plan on 9.3.4