pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff <threshar@torgo.978.org>
To: Ramon Bastiaans <bastiaans@sara.nl>
Cc: pgsql-performance@postgresql.org
Subject: Re: multi billion row tables: possible or insane?
Date: Tue, 1 Mar 2005 08:37:16 -0500
Message-ID: <0ba53986bff9d72366213838353e459c@torgo.978.org> (raw)
In-Reply-To: <42243725.6060804@sara.nl>
References: <42243725.6060804@sara.nl>


On Mar 1, 2005, at 4:34 AM, Ramon Bastiaans wrote:
>
> What would be important issues when setting up a database this big, 
> and is it at all doable? Or would it be a insane to think about 
> storing up to 5-10 billion rows in a postgres database.
>

Buy a bunch of disks.
And then go out and buy more disks.
When you are done with that - go buy some more disks.
Then buy some ram.
Then buy more disks.

You want the fastest IO possible.

I'd also recommend the opteron route since you can also put heaping 
gobules of ram in there as well.

> The database's performance is important. There would be no use in 
> storing the data if a query will take ages. Query's should be quite 
> fast if possible.
>

And make sure you tune your queries.

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/




view thread (15+ messages)  latest in thread

Message-ID: <0ba53986bff9d72366213838353e459c@torgo.978.org>
Permalink:  ../0ba53986bff9d72366213838353e459c@torgo.978.org/
Also on:    postgresql.org/message-id/0ba53986bff9d72366213838353e459c@torgo.978.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: threshar@torgo.978.org, bastiaans@sara.nl
  Subject: Re: multi billion row tables: possible or insane?
  In-Reply-To: <0ba53986bff9d72366213838353e459c@torgo.978.org>
  References: <42243725.6060804@sara.nl> <0ba53986bff9d72366213838353e459c@torgo.978.org>

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

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