pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
perfomance question
2+ messages / 2 participants
[nested] [flat]

* perfomance question
@ 2001-02-14 10:23  Nikolay Mijaylov <nmmm@webfactory.bg>
  0 siblings, 0 replies; 2+ messages in thread

From: Nikolay Mijaylov @ 2001-02-14 10:23 UTC (permalink / raw)
  To: pgsql-admin

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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* RE: perfomance question
@ 2001-02-14 15:06  Michael Ansley <Michael.Ansley@intec-telecom-systems.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Ansley @ 2001-02-14 15:06 UTC (permalink / raw)
  To: 'Nikolay Mijaylov' <nmmm@webfactory.bg>; pgsql-admin

You might try pooling your database connections, for a start.  You don't say
anywhere that you are doing this.

Cheers...


MikeA



-----Original Message-----
From: Nikolay Mijaylov [mailto:nmmm@webfactory.bg]
Sent: 14 February 2001 10:23
To: pgsql-admin@postgresql.org
Subject: [ADMIN] perfomance question


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




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
Nick West - Global Infrastructure Manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-02-14 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-14 10:23 perfomance question Nikolay Mijaylov <nmmm@webfactory.bg>
2001-02-14 15:06 RE: perfomance question Michael Ansley <Michael.Ansley@intec-telecom-systems.com>

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