pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erland Sommarskog <sommar@algonet.se>
To: pgsql-admin@postgresql.org
Subject: Re: what is the impact of  Database size on Performemce
Date: Tue, 30 Mar 2004 21:48:10 +0000 (UTC)
Message-ID: <Xns94BCF1DFDDA4CYazorman@127.0.0.1> (raw)
References: <tSjac.16658$xb.714@newssvr27.news.prodigy.com>

Avner (avnera@cvdo.com) writes:
> I need some information to understand what is the impact of Database
> size on the performemce. 
> 
> Few questions :
> 
> 1. Is there any impact?

Maybe. Maybe not. Depends whether you query the large table, and not the
least how you query them, and what indexes you have. As a matter of fact,
for the same amount of information, a database A twice as big as database
B, could give better performance for retrieving a certain subset of
that information, because in A data has been stored redudantly, maybe
preaggregated.

For instance, say that you have a transactions table for bank accounts,
and you need to be able to retrieve the balance on a certain date. Saving
the standings for each day is going to take up a lot of space, but
it will be much faster to retrieve the historic balance, than adding
up all transactions.

> 2. Does one very large table impact the performence of the the whole DB,
> meaning the overall performence and access the other tables.

If the table just sits there, no. However, it will have an impact on
backup operations.

> 3. What are the ways to reduce the impact of the DB size  on the DB
> performence

Good indexing is of course essential.

-- 
Erland Sommarskog, SQL Server MVP, sommar@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp



view thread (4+ messages)  latest in thread

Message-ID: <Xns94BCF1DFDDA4CYazorman@127.0.0.1>
Permalink:  ../Xns94BCF1DFDDA4CYazorman@127.0.0.1/
Also on:    postgresql.org/message-id/Xns94BCF1DFDDA4CYazorman@127.0.0.1

 · 

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-admin@postgresql.org
  Cc: sommar@algonet.se
  Subject: Re: what is the impact of  Database size on Performemce
  In-Reply-To: <Xns94BCF1DFDDA4CYazorman@127.0.0.1>
  References: <tSjac.16658$xb.714@newssvr27.news.prodigy.com> <Xns94BCF1DFDDA4CYazorman@127.0.0.1>

* 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