Re: Scaling PostgreSQL-9

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: Scaling PostgreSQL-9
Дата
Msg-id AANLkTikDsYVtoQt2GEjqiCcD8na97o2esONa+63jJUQX@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Re: [GENERAL] Scaling PostgreSQL-9  ("Sandy" <sandy9940@rediffmail.com>)
Список pgsql-general
On Tue, Sep 28, 2010 at 8:56 AM, Sandy <sandy9940@rediffmail.com> wrote:
Table has mobile number,status and expiry date. I can not partition on expiry date as all SELECT's are on mobile number.

Then partition on the mobile number.  If your updates and queries are all tied to that, then it is the ideal candidate.

You should also make sure that you have proper indexes on each partition to let the query executer quickly decide that a given table is not of any use (you really don't want sequence scan on each partition).

You will get speedups if you can achieve one or both of getting the query panner to use the constraint exclusions to eliminate partitions and getting the index scans to quickly skip over partitions which will not have the data you want.

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

Предыдущее
От: "Sandy"
Дата:
Сообщение: Re: Re: [GENERAL] Scaling PostgreSQL-9
Следующее
От: David Fetter
Дата:
Сообщение: Re: Implicit CAST is not working in Postgresql 8.4