pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shashi Gireddy <gireddy@gmail.com>
To: pgsql-admin@postgresql.org
Subject: too slow
Date: Tue, 8 Feb 2005 11:51:22 -0600
Message-ID: <5f447e3505020809517851420b@mail.gmail.com> (raw)

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



view thread (13+ messages)  latest in thread

Message-ID: <5f447e3505020809517851420b@mail.gmail.com>
Permalink:  ../5f447e3505020809517851420b@mail.gmail.com/
Also on:    postgresql.org/message-id/5f447e3505020809517851420b@mail.gmail.com

 · 

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: gireddy@gmail.com
  Subject: Re: too slow
  In-Reply-To: <5f447e3505020809517851420b@mail.gmail.com>
  References: <5f447e3505020809517851420b@mail.gmail.com>

* 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