Re: Row Limit on tables

From: Curt Sampson <cjs(at)cynic(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: shey sewani <pakix2000(at)hotmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Row Limit on tables
Date: 2002-05-31 18:25:50
Message-ID: Pine.NEB.4.43.0206010306550.657-100000@angelic.cynic.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 31 May 2002, Tom Lane wrote:

> In practice, "what will fit on your disk" is the limit.

Actually, not even. Or so I think for most cases.

Playing around with my little 500M row table, I notice that the table
itself is only 25 GB, and even with 4 indices, the whole shebang is
less than 60 GB. What's killing me is disk access speed. Currently, my
"standard" query is 70 sec., entirely due to limitations on the number
of random I/Os I can do per second.

I can fairly cheaply halve this problem by striping the database across
two disks, but then I double the space available. If that leads me to
double the database size, I'm back in the same hole I was in before,
maybe worse.

It's way, way too easy these days to run up a terrabyte of RAID-5
storage. One Escalade 7850 controller ($500) plus eight 160 GB drives
($250 each) sets you out about $2500. But the problem is, all this
storage often doesn't have the I/O bandwidth you need actually to make
use of it....

cjs
--
Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message shey sewani 2002-05-31 18:26:02 Re: Row Limit on tables
Previous Message Ron Snyder 2002-05-31 18:17:30 Re: How to Migrate from 7.1 to 7.2?