pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nikolay Mijaylov <nmmm@webfactory.bg>
To: pgsql-admin@postgresql.org
Subject: perfomance question
Date: Wed, 14 Feb 2001 12:23:08 +0200
Message-ID: <NDBBJGGFCLFEEGHHKCABMEOPDPAA.nmmm@webfactory.bg> (raw)

Hi all,

I have a large site currently hosted at following machine:

Linux 2
	64MB RAM, 2x100 MB Swap

Apache 1.3.X ( 120 connections, 2 min )
PHP 3.0.18 installed as CGI binary
MySQL ( 150 connections)

sitename: http://picof.com/nmmm

The site have too many visitors and all the pages are connected to the
database, most of them using select joining two tables (users + countries).
Rare new users are subscribed (insert into users) and existing users update
their profiles (update users).

Sometimes the system is overloading (130 httpd's, 130 apache's, 130
MySQL's), swaps about 100 MB and stops serving http requests.

Is there a possibility to improve performance of the computer?
		!!!I cannot upgrade the computer!!!

What will happen if I migrate to pgsql? Will I get less memory if I compile
the php as module + zend + persistent connections to the database?

Migration to mSQL version 1 ??? the queries are really very fair...? I dont
think so...


-----
ok anyway the only question related to group is what will happen if I
migrate to pgsql (and make a lots of indexes)?
--
(if you have suggestions not related to group, send them to me only)

Thanks,
Nikolay






view thread (2+ messages)  latest in thread

Message-ID: <NDBBJGGFCLFEEGHHKCABMEOPDPAA.nmmm@webfactory.bg>
Permalink:  ../NDBBJGGFCLFEEGHHKCABMEOPDPAA.nmmm@webfactory.bg/
Also on:    postgresql.org/message-id/NDBBJGGFCLFEEGHHKCABMEOPDPAA.nmmm@webfactory.bg

 · 

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: nmmm@webfactory.bg
  Subject: Re: perfomance question
  In-Reply-To: <NDBBJGGFCLFEEGHHKCABMEOPDPAA.nmmm@webfactory.bg>
  References: <NDBBJGGFCLFEEGHHKCABMEOPDPAA.nmmm@webfactory.bg>

* 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