too slow

From: Shashi Gireddy <gireddy(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: too slow
Date: 2005-02-08 17:51:22
Message-ID: 5f447e3505020809517851420b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I recently migrated from MySql, The database size in mysql was 1.4GB
(It is a static database). It generated a dump file (.sql) of size
8GB), It took 2days to import the whole thing into postgres. After all
the response from postgres is a disaster. It took 40sec's to run a
select count(logrecno) from sf10001; which generated a value 197569.
And It took for ever time to display the table. How to optimize the
database so that I can expect faster access to data.

each table has 70 colsX197569 rows (static data), like that I have 40
tables, Everything static.

system configuration: p4 2.8ghz 512mb ram os: xp postgres version: 8.0

thanks a million in advance,
shashi.
--
Shashi Kiran Reddy. Gireddy,
Graduate Assistant,
CBER, University of Alabama.
http://www.cs.ua.edu/shashi
Home: 205-752-5137 Cell: 205-657-1438

Responses

  • Re: too slow at 2005-02-08 18:08:55 from Christopher Petrilli
  • Re: too slow at 2005-02-08 18:13:41 from Joshua D. Drake

Browse pgsql-admin by date

  From Date Subject
Next Message Christopher Petrilli 2005-02-08 18:08:55 Re: too slow
Previous Message Shashi Gireddy 2005-02-08 17:08:14 too slow