Re: problems with postgresql speed

From: Jeremy Buchmann <jeremy(at)wellsgaming(dot)com>
To: Ludva Radomír (KM) <Radomir(dot)Ludva(at)cssz(dot)cz>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: problems with postgresql speed
Date: 2001-12-03 23:23:54
Message-ID: D15AC514-E844-11D5-987A-000502E740BA@wellsgaming.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Monday, December 3, 2001, at 04:30 AM, Ludva Radomír (KM) wrote:
>
> Two machines:
> 1. Pentium3 400Mhz, hdd 8Gb, 64Mb RAM, kernel 2.2.14-5.0 (RedHat 6.2)
> 2. Celeron 400Mhz, hdd 8Gb, 64Mb RAM, kernel 2.2.14-5.0 (RedHat 6.2)
>
> The same database, the same postgres Version 7.1.3, the same
> configuration.
> Only processor is diferent, ...
>
> Queryes from client application on Windows over ODBC:
> 1. 40sec.
> 2. 90sec.

This may be due to the difference between the cache sizes of the two
processors. IIRC, the celeron has only 128k of cache while the P3 has
512k. Even though the P3 cache runs slower (I think the celeron runs
at full clock while the P3 runs at 1/2 clock), the larger size may
prevent
a lot more cache misses which makes it much faster.

Databases are extremely I/O bound, so anything you can
stuff into cache is probably worth it.

--Jeremy

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Hiroshi Inoue 2001-12-04 00:34:37 Re: case sensititvity bug in foreign keys on cygwin
Previous Message Ligia Pimentel 2001-12-03 23:14:09 Making user names NOT case sensitive