From: Joshua D. Drake <jd@commandprompt.com>
To: Shashi Gireddy <gireddy@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: too slow
Date: Tue, 08 Feb 2005 10:13:41 -0800
Message-ID: <42090155.7040205@commandprompt.com> (raw)
In-Reply-To: <5f447e3505020809517851420b@mail.gmail.com>
References: <5f447e3505020809517851420b@mail.gmail.com>
Shashi Gireddy wrote:
> 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. ]
Well that sounds like you don't have your postgresql.conf configured
to properly utilize your system.
> After all
> the response from postgres is a disaster. It took 40sec's to run a
> select count(logrecno) from sf10001;
Are you running a RAID?
> 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.
Have you analyzed?
>
> each table has 70 colsX197569 rows (static data), like that I have 40
> tables, Everything static.
>
Sincerely,
Joshua D. Drake
Command Prompt, Inc.
503-667-4564
> system configuration: p4 2.8ghz 512mb ram os: xp postgres version: 8.0
>
> thanks a million in advance,
> shashi.
--
Command Prompt, Inc., your source for PostgreSQL replication,
professional support, programming, managed services, shared
and dedicated hosting. Home of the Open Source Projects plPHP,
plPerlNG, pgManage, and pgPHPtoolkit.
Contact us now at: +1-503-667-4564 - http://www.commandprompt.comAttachments:jd.vcf (text/x-vcard, 638B) download
begin:vcard
fn:Joshua D. Drake
n:Drake;Joshua D.
org:Command Prompt, Inc.
adr:;;PO Box 215;Cascade Locks;Oregon;97014;USA
email;internet:jd@commandprompt.com
title:Consultant
tel;work:503-667-4564
tel;fax:503-210-0334
note:Command Prompt, Inc. is the largest and oldest US based commercial PostgreSQL support provider. We provide the only commercially viable integrated PostgreSQL replication solution, but also custom programming, and support. We authored the book Practical PostgreSQL, the procedural language plPHP, and adding trigger capability to plPerl.
x-mozilla-html:FALSE
url:http://www.commandprompt.com/
version:2.1
end:vcard
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: jd@commandprompt.com, gireddy@gmail.com
Subject: Re: too slow
In-Reply-To: <42090155.7040205@commandprompt.com>
References: <5f447e3505020809517851420b@mail.gmail.com> <42090155.7040205@commandprompt.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