public inbox for [email protected]  
help / color / mirror / Atom feed
From: Moreno Andreo <[email protected]>
To: [email protected]
Subject: Re: [SPAM] OS cache management
Date: Wed, 6 Sep 2017 16:45:09 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAAMgDXkDgmnnzdDtk1pOX473eLK=eQN+MnccncGHiNBAtiRnTw@mail.gmail.com>
References: <CAAMgDXkDgmnnzdDtk1pOX473eLK=eQN+MnccncGHiNBAtiRnTw@mail.gmail.com>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgsql-performance>

Il 06/09/2017 10:12, Soni M ha scritto:
>
>
> Let's say I have 10 year data, and commonly used data only the last 1 
> year. This data is quite big, so each table and index file is divided 
> into several file in PGDATA/base
>
May not be relevant to what you asked, but if you want to keep last yeat 
data in a "small and fast" dataset separated (physically separated!) by 
old data (that's still available, but response times may vary), IMHO you 
should consider partitioning...
https://www.postgresql.org/docs/current/static/ddl-partitioning.html

HTH,
Moreno.-



-- 
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [SPAM] OS cache management
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox