too slow

From: "Shashi Gireddy" <shashi(at)cs(dot)ua(dot)edu>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: too slow
Date: 2005-02-08 17:08:14
Message-ID: 6B18E29D62790047B57F5B602D4B096EA1CE1A@hermes.cs.ua.edu
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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shashi Gireddy 2005-02-08 17:51:22 too slow
Previous Message Chris Hoover 2005-02-08 16:27:40 Index weirdness - Any ideas why