pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pdg@stratos.net
To: Mathieu Arnold <mat@mat.cc>
To: pgsql-novice@postgresql.org
To: pgsql-admin@postgresql.org
Subject: Re: [NOVICE] Hardware needed for 15,000,000 record DB?
Date: Mon, 22 Apr 2002 03:41:42 -0400
Message-ID: <027001c1e9d1$25af59d0$0a00000a@windowsbox> (raw)
References: <018e01c1e98b$c65771b0$0a00000a@windowsbox>
	<210921203.1019464197@sauron>

Hello,


> well, I have a server with a database over 7GB, and :
>
> backup=> select count(*) from file;
>   count
> ----------
>  19430605
> (1 row)
>
> backup=> explain analyze select * from file where id_file = 29000000;
> NOTICE:  QUERY PLAN:
>
> Index Scan using file_pkey on file  (cost=0.00..3.18 rows=1 width=117)
> (actual time=0.60..0.61 rows=1 loops=1)
> Total runtime: 0.77 msec
>
> and it's an old poor :
> hda: IBM-DTLA-307030, ATA DISK drive
>
> ps: the select count(*) took a long time, but I believe that was because
> there was a batch running and feeding the db :)

Thanks for the information.

Though, as a newbie, I am not quite sure what all the above performance
numbers actually mean.  :)

What sort of CPU/Memory configuration are you running this server on?

Thanks again,
David




view thread (10+ messages)  latest in thread

Message-ID: <027001c1e9d1$25af59d0$0a00000a@windowsbox>
Permalink:  ../027001c1e9d1$25af59d0$0a00000a@windowsbox/
Also on:    postgresql.org/message-id/027001c1e9d1$25af59d0$0a00000a@windowsbox

 · 

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: pdg@stratos.net, mat@mat.cc, pgsql-novice@postgresql.org
  Subject: Re: [NOVICE] Hardware needed for 15,000,000 record DB?
  In-Reply-To: <027001c1e9d1$25af59d0$0a00000a@windowsbox>
  References: <018e01c1e98b$c65771b0$0a00000a@windowsbox> <210921203.1019464197@sauron> <027001c1e9d1$25af59d0$0a00000a@windowsbox>

* 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