Re: Larger volumes of chronologically ordered data and the planner

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Larger volumes of chronologically ordered data and the planner
Дата
Msg-id 14435.1267641391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Larger volumes of chronologically ordered data and the planner  (John Moran <johnfrederickmoran@gmail.com>)
Список pgsql-general
John Moran <johnfrederickmoran@gmail.com> writes:
> What is PostgreSQL's likely behaviour when it encounters a large
> volume of data that is chronologically ordered (there's a btree index
> on a date column)? Is postgreSQL intelligent enough to discern that
> since the most frequently accessed data is invariably recent data,
> that it should store only that in memory, and efficiently store less
> relevant, older data on disk (the volume of data in production at the
> moment is still small enough to fit entirely in memory)?

There's no dedicated intelligence about such a case, but I don't see why
the ordinary cache management algorithms won't handle it perfectly well.

            regards, tom lane

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

Предыдущее
От: Josh Kupershmidt
Дата:
Сообщение: Re: stopping processes, preventing connections
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: PQntuples returns an int.