Re: Larger volumes of chronologically ordered data and the planner - Mailing list pgsql-general

From Tom Lane
Subject Re: Larger volumes of chronologically ordered data and the planner
Date
Msg-id 14435.1267641391@sss.pgh.pa.us
Whole thread Raw
In response to Larger volumes of chronologically ordered data and the planner  (John Moran <johnfrederickmoran@gmail.com>)
List 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 by date:

Previous
From: Josh Kupershmidt
Date:
Subject: Re: stopping processes, preventing connections
Next
From: Steve Atkins
Date:
Subject: Re: PQntuples returns an int.