Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by postgresql.org (Postfix) with ESMTP id F3F4A475481; Mon, 22 Apr 2002 03:37:43 -0400 (EDT) Received: from user-1120bs2.dsl.mindspring.com ([66.32.47.130] helo=windowsbox) by albatross.prod.itd.earthlink.net with smtp (Exim 3.33 #2) id 16zYOG-00077f-00; Mon, 22 Apr 2002 00:37:36 -0700 Message-ID: <027001c1e9d1$25af59d0$0a00000a@windowsbox> From: To: "Mathieu Arnold" , , References: <018e01c1e98b$c65771b0$0a00000a@windowsbox> <210921203.1019464197@sauron> Subject: Re: [NOVICE] Hardware needed for 15,000,000 record DB? Date: Mon, 22 Apr 2002 03:41:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Archive-Number: 200204/190 X-Sequence-Number: 4078 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