pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pandurang@manas-solutions.com
To: pgsql-admin@postgresql.org
Subject: Strange..!!! Can u tell me why this ?
Date: 26 Oct 2002 03:06:46 -0700
Message-ID: <dfc9fe82.0210260206.46b32c99@posting.google.com> (raw)

Hello Friends,
I found very a strange thing about postgres Database. I am running
postgres under Linux operating system.

I am having a website in PHP and having one perl program which runs
every friday to generate a report. The size of thsi postgres DB is
near about 5-7 MB.

In the start when records were less in the DB the file too around 3 to
mins to generate a report we called as Friday report. The web pages
were also coming fast in the browser. So I was quite happy abt the
performanance.

But Later on as the DB size get increased the time was also get
increased. And at one point i noticed the time required to gererate
this report is very high near abt 10 to 15 hrs. So I checked for
performanance.

Site was also become very slow. A simple page which is fetching just
20 records, for that also I got the error page not displayed.I tried
my level best to find out the problem. But I couldn't...!!! :-((

So at last I decided to drop DB and recreate once more after taking
backup of data. And I did that. After that i was surprised that site
become very very fast. And the pages for which I got the error comes
in less than 10 seconds.

So can u tell me why this happens ? Why suddenly DB performanance get
increased so fastly ? Prev.ly I tried for vacuumdb also....

If anybody there knows the reason for this please reply me.

Thanx in advance.
Pandurang
pandurang@manas-solutions.com
http://www.geocities.com/pandurang_g/



view thread (3+ messages)  latest in thread

Message-ID: <dfc9fe82.0210260206.46b32c99@posting.google.com>
Permalink:  ../dfc9fe82.0210260206.46b32c99@posting.google.com/
Also on:    postgresql.org/message-id/dfc9fe82.0210260206.46b32c99@posting.google.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: pandurang@manas-solutions.com
  Subject: Re: Strange..!!! Can u tell me why this ?
  In-Reply-To: <dfc9fe82.0210260206.46b32c99@posting.google.com>
  References: <dfc9fe82.0210260206.46b32c99@posting.google.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