pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew Nuzum <mattnuzum@gmail.com>
To: Yves Vindevogel <yves.vindevogel@implements.be>
Cc: pgsql-performance@postgresql.org
Subject: Re: Projecting currentdb to more users
Date: Tue, 12 Jul 2005 13:00:49 -0500
Message-ID: <f3c0b4080507121100a55ccc4@mail.gmail.com> (raw)
In-Reply-To: <c6b1db0eb27fc3d0a67651c9c449c4a0@implements.be>
References: <c6b1db0eb27fc3d0a67651c9c449c4a0@implements.be>

On 7/12/05, Yves Vindevogel <yves.vindevogel@implements.be> wrote:
> Hi,
> 
> We have a couple of database that are identical (one for each customer).
> They are all relatively small, ranging from 100k records to 1m records.
> There's only one main table with some smaller tables, a lot of indexes
> and some functions.
> 
> I would like to make an estimation of the performance, the diskspace
> and other related things,
> when we have database of for instance 10 million records or 100 million
> records.
> 
> Is there any math to be done on that ?

Its pretty easy to make a database run fast with only a few thousand
records, or even a million records, however things start to slow down
non-linearly when the database grows too big to fit in RAM.

I'm not a guru, but my attempts to do this have not been very accurate.

Maybe (just maybe) you could get an idea by disabling the OS cache on
the file system(s) holding the database and then somehow fragmenting
the drive severly (maybe by putting each table in it's own disk
partition?!?) and measuring performance.

On the positive side, there are a lot of wise people on this list who
have +++ experience optimzing slow queries on big databases. So
queries now that run in 20 ms but slow down to 7 seconds when your
tables grow will likely benefit from optimizing.
-- 
Matthew Nuzum
www.bearfruit.org



view thread (8+ messages)  latest in thread

Message-ID: <f3c0b4080507121100a55ccc4@mail.gmail.com>
Permalink:  ../f3c0b4080507121100a55ccc4@mail.gmail.com/
Also on:    postgresql.org/message-id/f3c0b4080507121100a55ccc4@mail.gmail.com

 · 

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: pgsql-performance@postgresql.org
  Cc: mattnuzum@gmail.com, yves.vindevogel@implements.be
  Subject: Re: Projecting currentdb to more users
  In-Reply-To: <f3c0b4080507121100a55ccc4@mail.gmail.com>

* 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