Re: PosgreSQL hogging resources?

From: Mitch Pirtle <mitchy(at)spacemonkeylabs(dot)com>
To: jer(at)highboard(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: PosgreSQL hogging resources?
Date: 2004-02-20 20:24:28
Message-ID: 40366CFC.5050302@spacemonkeylabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jeremy Smith wrote:

>I will look into some of the suggestions you have made, the problem is that
>I can't do large scale optimization at the moment because I am still adding
>features to the site. I just wonder if the best mode of attack would be
>switching back to mysql until I have added all of the necessary features,
>optimizing the queries and code there, and then switching back to pg at a
>later date.
>
When you switch to pg, you will be able to move some/lots? of your code
into the database as views, stored procedures, triggers etc... So keep
that in mind while working in MySQL, as you will definitely need a
different approach.

I inherited a site that had very database-hungry pages, and started
using stored procs and triggers to automate some of the jobs (like
updates and such) in the database, instead of making the webserver
manually send the instructions across the wire. If you plan on taking
this approach then you should get your app into pg sooner than later...

-- Mitch, wondering about 12 packs?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2004-02-20 20:29:23 Re: WAL logs and segment files
Previous Message Bruno Wolff III 2004-02-20 20:11:39 Re: Index called with Union but not with OR clause