pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedSlow Performance with 7.4.1
6+ messages / 3 participants
[nested] [flat]
* Slow Performance with 7.4.1
@ 2004-01-05 08:24 Alex <alex@meerkatsoft.com>
2004-01-05 11:53 ` Re: Slow Performance with 7.4.1 Doug McNaught <doug@mcnaught.org>
0 siblings, 1 reply; 6+ messages in thread
From: Alex @ 2004-01-05 08:24 UTC (permalink / raw)
To: pgsql-general
Hi,
I just installed pg 7.4.1 on a new system P4, 3.2Gh HT, 1GB Mem, RH9 and
discovered that some of the processes have become extremely slow. Mainly
I am talking about a SELECT COUNT(*) or VACUUM.
Before running the same database on a P4. 2Ghz 412MB mem, I got the job
done in some cases half the time.
The weird thing however is, that normal inserts seem to be much faster
on the new system and I am wondering if it is Postgres or HW related.
Does anyone has an advise ?
Thanks
Alex
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Slow Performance with 7.4.1
2004-01-05 08:24 Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
@ 2004-01-05 11:53 ` Doug McNaught <doug@mcnaught.org>
2004-01-05 12:12 ` Re: Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
0 siblings, 1 reply; 6+ messages in thread
From: Doug McNaught @ 2004-01-05 11:53 UTC (permalink / raw)
To: Alex <alex@meerkatsoft.com>; +Cc: pgsql-general
Alex <alex@meerkatsoft.com> writes:
> Hi,
> I just installed pg 7.4.1 on a new system P4, 3.2Gh HT, 1GB Mem, RH9
> and discovered that some of the processes have become extremely
> slow. Mainly I am talking about a SELECT COUNT(*) or VACUUM.
>
> Before running the same database on a P4. 2Ghz 412MB mem, I got the
> job done in some cases half the time.
>
> The weird thing however is, that normal inserts seem to be much faster
> on the new system and I am wondering if it is Postgres or HW related.
>
> Does anyone has an advise ?
What kind of disk hardware is on the two systems?
-Doug
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Slow Performance with 7.4.1
2004-01-05 08:24 Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
2004-01-05 11:53 ` Re: Slow Performance with 7.4.1 Doug McNaught <doug@mcnaught.org>
@ 2004-01-05 12:12 ` Alex <alex@meerkatsoft.com>
2004-01-05 13:44 ` Re: Slow Performance with 7.4.1 Doug McNaught <doug@mcnaught.org>
0 siblings, 1 reply; 6+ messages in thread
From: Alex @ 2004-01-05 12:12 UTC (permalink / raw)
To: Doug McNaught <doug@mcnaught.org>; +Cc: pgsql-general
The old system has a 80GB, 5200rpm ATA , the new system a 120GB, 7200rpm
ATA. The new system should at least not be slower. Also, on the new
system I have a separate partition for the database.
If I run a Vacuum or a SELECT COUNT(*) on a larger table (2-6 million
records) the systems responds very slow, the screen almost freezes.
Thanks
Alex
Doug McNaught wrote:
>Alex <alex@meerkatsoft.com> writes:
>
>
>
>>Hi,
>>I just installed pg 7.4.1 on a new system P4, 3.2Gh HT, 1GB Mem, RH9
>>and discovered that some of the processes have become extremely
>>slow. Mainly I am talking about a SELECT COUNT(*) or VACUUM.
>>
>>Before running the same database on a P4. 2Ghz 412MB mem, I got the
>>job done in some cases half the time.
>>
>>The weird thing however is, that normal inserts seem to be much faster
>>on the new system and I am wondering if it is Postgres or HW related.
>>
>>Does anyone has an advise ?
>>
>>
>
>What kind of disk hardware is on the two systems?
>
>-Doug
>
>---------------------------(end of broadcast)---------------------------
>TIP 7: don't forget to increase your free space map settings
>
>
>
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Slow Performance with 7.4.1
2004-01-05 08:24 Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
2004-01-05 11:53 ` Re: Slow Performance with 7.4.1 Doug McNaught <doug@mcnaught.org>
2004-01-05 12:12 ` Re: Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
@ 2004-01-05 13:44 ` Doug McNaught <doug@mcnaught.org>
2004-01-05 15:50 ` Re: Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
0 siblings, 1 reply; 6+ messages in thread
From: Doug McNaught @ 2004-01-05 13:44 UTC (permalink / raw)
To: Alex <alex@meerkatsoft.com>; +Cc: pgsql-general
Alex <alex@meerkatsoft.com> writes:
> The old system has a 80GB, 5200rpm ATA , the new system a 120GB,
> 7200rpm ATA. The new system should at least not be slower. Also, on
> the new system I have a separate partition for the database.
>
> If I run a Vacuum or a SELECT COUNT(*) on a larger table (2-6 million
> records) the systems responds very slow, the screen almost freezes.
Sounds like you may not have DMA enabled on the newer machine, or
there is some other kernel problem that slows the disk down. You
might try running Bonnie or a similar disk benchmark to make sure you
are getting the right disk performance.
-Doug
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Slow Performance with 7.4.1
2004-01-05 08:24 Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
2004-01-05 11:53 ` Re: Slow Performance with 7.4.1 Doug McNaught <doug@mcnaught.org>
2004-01-05 12:12 ` Re: Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
2004-01-05 13:44 ` Re: Slow Performance with 7.4.1 Doug McNaught <doug@mcnaught.org>
@ 2004-01-05 15:50 ` Alex <alex@meerkatsoft.com>
2004-01-05 16:17 ` Re: Slow Performance with 7.4.1 Thomas Beutin <tyrone@laokoon.IN-Berlin.DE>
0 siblings, 1 reply; 6+ messages in thread
From: Alex @ 2004-01-05 15:50 UTC (permalink / raw)
To: Doug McNaught <doug@mcnaught.org>; +Cc: pgsql-general
Yup, DMA is not enabled, probably that is the problem. Tried to enable
it but get an error HDIO_SET_DMA failed: Operation not permitted.
Thanks for the hint.
Alex
Doug McNaught wrote:
>Alex <alex@meerkatsoft.com> writes:
>
>
>
>>The old system has a 80GB, 5200rpm ATA , the new system a 120GB,
>>7200rpm ATA. The new system should at least not be slower. Also, on
>>the new system I have a separate partition for the database.
>>
>>If I run a Vacuum or a SELECT COUNT(*) on a larger table (2-6 million
>>records) the systems responds very slow, the screen almost freezes.
>>
>>
>
>Sounds like you may not have DMA enabled on the newer machine, or
>there is some other kernel problem that slows the disk down. You
>might try running Bonnie or a similar disk benchmark to make sure you
>are getting the right disk performance.
>
>-Doug
>
>
>
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Slow Performance with 7.4.1
2004-01-05 08:24 Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
2004-01-05 11:53 ` Re: Slow Performance with 7.4.1 Doug McNaught <doug@mcnaught.org>
2004-01-05 12:12 ` Re: Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
2004-01-05 13:44 ` Re: Slow Performance with 7.4.1 Doug McNaught <doug@mcnaught.org>
2004-01-05 15:50 ` Re: Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
@ 2004-01-05 16:17 ` Thomas Beutin <tyrone@laokoon.IN-Berlin.DE>
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Beutin @ 2004-01-05 16:17 UTC (permalink / raw)
To: Alex <alex@meerkatsoft.com>; +Cc: pgsql-general
On Tue, Jan 06, 2004 at 12:50:05AM +0900, Alex wrote:
> Yup, DMA is not enabled, probably that is the problem. Tried to enable
> it but get an error HDIO_SET_DMA failed: Operation not permitted.
probably You have no support for Your boards chipset enabled. You
can do this ether by loading the proper module or compiling this
into Your kernel.
Hope this helps.
Greetings,
-tb
--
Thomas Beutin tb@laokoon.IN-Berlin.DE
Beam me up, Scotty. There is no intelligent live down in Redmond.
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2004-01-05 16:17 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-01-05 08:24 Slow Performance with 7.4.1 Alex <alex@meerkatsoft.com>
2004-01-05 11:53 ` Doug McNaught <doug@mcnaught.org>
2004-01-05 12:12 ` Alex <alex@meerkatsoft.com>
2004-01-05 13:44 ` Doug McNaught <doug@mcnaught.org>
2004-01-05 15:50 ` Alex <alex@meerkatsoft.com>
2004-01-05 16:17 ` Thomas Beutin <tyrone@laokoon.IN-Berlin.DE>
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