Re: Optimizing suggestions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Optimizing suggestions
Дата
Msg-id 4788.1024782488@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Optimizing suggestions  (David Ford <david+cert@blue-labs.org>)
Список pgsql-general
David Ford <david+cert@blue-labs.org> writes:
> As stated above, I'd like to fetch a count of rows
> per day for the last N days.

GROUP BY seems like the obvious answer...

> In the near future I'm going to split this table up into many sub tables

Why?  Aren't you just going to have a need for lots of joins, if you
do that?

            regards, tom lane

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