pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mallah@trade-india.com
To: isasitis@uchicago.edu
Cc: pgsql-admin@postgresql.org
Subject: Re: DB Performance
Date: Fri, 1 Nov 2002 23:39:06 +0530 (IST)
Message-ID: <1317.203.145.130.142.1036174146.squirrel@mail.trade-india.com> (raw)
In-Reply-To: <v04210140b9e8695d1391@[172.16.0.83]>
References: <v04210140b9e8695d1391@[172.16.0.83]>


The first step definitely would have to split of the DB server.

Secondly u shud check the application part, is it some specific
queries that take too much time? in that case consider optimising
the queries.

to identify the slow queries you could use pg_stat_activity view
for log the time of various queries.

Also make sure that regualr  mantainece task like VACUUM ANALYZE are
run on periodic basis.

Lastly you could pump in lots of RAM , SCSI RAID5  and Xeons ;-)
into the new m/c

Also such question shud be asked in performance list .

Regds
Mallah.


> I need to find a way to increase performance on my server.
>
> We are currently using postgres as a back-end to our web-based
> corporate wide application. The application is used for everything  from collecting large
> amount of data, updating current data and
> creating large reports based on this data. At this point we have
> about 3000 users on the system  and this is going to grow rapidly.
>
>
> We are running apache, mod-perl, sendmail, and postgres on our
> server. The machine is a dual 900Mhz processor with 2 gigs of ram,  and fast 10k raid drives.
>
> I have set the shared memory on the machine to 512MB.
>
> Postgres is configured as follows:
>
> sort_mem = 128672
> shared_buffers = 60800
> fsync = false
>
>
> We will be purchasing new machines to split off the web server from  the database server.
>
> What else can I do to help performance?
> Will a beowulf cluster help to increase performance?
>
> Any suggestions would be greatly appreciated.
>
> Thanks,
>
> Gary
> Gary DeSorbo
> isasitis@uchicago.edu
> Cell: 415.606.3857
>
> ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and
> unsubscribe commands go to majordomo@postgresql.org



-----------------------------------------
Get your free web based email at trade-india.com.
   "India's Leading B2B eMarketplace.!"
http://www.trade-india.com/





view thread (8+ messages)  latest in thread

Message-ID: <1317.203.145.130.142.1036174146.squirrel@mail.trade-india.com>
Permalink:  ../1317.203.145.130.142.1036174146.squirrel@mail.trade-india.com/
Also on:    postgresql.org/message-id/1317.203.145.130.142.1036174146.squirrel@mail.trade-india.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: mallah@trade-india.com, isasitis@uchicago.edu
  Subject: Re: DB Performance
  In-Reply-To: <1317.203.145.130.142.1036174146.squirrel@mail.trade-india.com>
  References: <v04210140b9e8695d1391@[172.16.0.83]> <1317.203.145.130.142.1036174146.squirrel@mail.trade-india.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