Re: [GENERAL] Performance differences 7.1 to 7.3

2004-12-15 Thread Jimmie H. Apsey
Thank you Tom, your suggestion was exactly what I needed. Two tables in view "tpv" were being joined on a column with different data types. One was "text" and the other one was "varchar(10)". The 'old' system did not complain. The 'new' system does not allow this sloppyness on my part. When I

Re: [GENERAL] Performance differences 7.1 to 7.3

2004-12-14 Thread Jimmie H. Apsey
ubject: Re: [GENERAL] Performance differences 7.1 to 7.3 On the 'old' Red Hat AS 2.1 here is the results of explain and the query: [ ~]$ time /usr/bin/psql mpt -c"explain select count(*) from tpv;" NOTICE: QUERY PLAN: Aggregate (cost=4563.87..4563.87 rows=1 width=56) - Nested Loop (

Re: [GENERAL] Performance differences 7.1 to 7.3

2004-12-14 Thread Tom Lane
Jimmie H. Apsey [EMAIL PROTECTED] writes: On the 'old' Red Hat AS 2.1 here is the results of explain and the query: The major problem seems to be that the old system is using a nestloop with inner indexscan on ada_code: - Nested Loop (cost=870.92..4563.01 rows=342 width=56) ...

Re: [GENERAL] Performance differences 7.1 to 7.3

2004-12-14 Thread Dann Corbit
-Original Message- From: Jimmie H. Apsey [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 1:18 PM To: Dann Corbit Cc: [EMAIL PROTECTED] Subject: Re: [GENERAL] Performance differences 7.1 to 7.3 On the 'old' Red Hat AS 2.1 here is the results of explain and the query

Re: [GENERAL] Performance differences 7.1 to 7.3

2004-12-14 Thread Scott Marlowe
On Tue, 2004-12-14 at 16:50, Jimmie H. Apsey wrote: I think my indexes are OK. I have no settings for 'shared memory buffers' in postgresql.conf on either system. Both systems have same, i.e. #sort_mem = 512 #shared_buffers = 2*max_connections # min 16 #fsync = true Do you, or any of

Re: [GENERAL] Performance differences 7.1 to 7.3

2004-12-14 Thread Jimmie H. Apsey
PROTECTED] Subject: [GENERAL] Performance differences 7.1 to 7.3 Hello all, I have just loaded Postgresql 7.3.6-7 onto a new server on the recommendation of Tom Lane. It is part of Red Hat AS 3. I have Postgresql 7.1.3-5 running on Red Hat AS 2.1. I have a simple view from which I select on both

Re: [GENERAL] Performance differences 7.1 to 7.3

2004-12-14 Thread Neil Conway
On Mon, 2004-12-13 at 17:43 -0500, Jimmie H. Apsey wrote: Hello all, I have just loaded Postgresql 7.3.6-7 onto a new server on the recommendation of Tom Lane. It is part of Red Hat AS 3. I have Postgresql 7.1.3-5 running on Red Hat AS 2.1. I have a simple view from which I select on both

[GENERAL] Performance differences 7.1 to 7.3

2004-12-13 Thread Jimmie H. Apsey
Hello all, I have just loaded Postgresql 7.3.6-7 onto a new server on the recommendation of Tom Lane. It is part of Red Hat AS 3. I have Postgresql 7.1.3-5 running on Red Hat AS 2.1. I have a simple view from which I select on both systems. The 7.3.6-7 version requires 18+ seconds to do a

Re: [GENERAL] Performance differences 7.1 to 7.3

2004-12-13 Thread Dann Corbit
:[EMAIL PROTECTED] On Behalf Of Jimmie H. Apsey Sent: Monday, December 13, 2004 2:43 PM To: [EMAIL PROTECTED] Subject: [GENERAL] Performance differences 7.1 to 7.3 Hello all, I have just loaded Postgresql 7.3.6-7 onto a new server on the recommendation of Tom Lane. It is part of Red Hat AS 3. I have