dbTalk Databases Forums  

Re: [BUGS] Beta3 much slower than Beta2

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] Beta3 much slower than Beta2 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Harald Armin Massa
 
Posts: n/a

Default Re: [BUGS] Beta3 much slower than Beta2 - 10-24-2004 , 05:14 AM






I switched "in place" from beta2 to beta3 on windows some weeks ago
(selfcompiled), no notable speed difference.

Did you the usual "analyze" ritual???
Are the indexes used? Did you compare the "explain" outputs?

Are the indexes really present?

Harald

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply With Quote
  #2  
Old   
Neil Conway
 
Posts: n/a

Default Re: [BUGS] Beta3 much slower than Beta2 - 10-24-2004 , 05:17 AM






Enrico Riedel wrote:
Quote:
To the setup: I use the Win32 version of PGRE SQL8. The table that I am
working with has about 1.1M records in it and is indexed on several columns.
By searching the indexed columns the DB used to be very fast. The data
retrieval used to be more or less instantaneous. In Beta 3 it takes about 4
seconds to retrieve the same amount of data. E.g. I searched for "EAG",
which returns about 50 records. In B2 the retrieval time was less than 1s,
in B3 it's about 3-4 seconds.
This is likely not a bug in beta3 as such; what has probably happened is
that the query planner is choosing a different query plan in beta3 than
was chosen in beta2. Without more information, it is difficult to say
exactly why a different plan is being chosen. Have you run ANALYZE
recently? If so, can you provide the schemas of the relevant tables, the
query that has changed in performance, and the EXPLAIN ANALYZE output
for that query against beta3?

-Neil

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match


Reply With Quote
  #3  
Old   
Magnus Hagander
 
Posts: n/a

Default Re: [BUGS] Beta3 much slower than Beta2 - 10-24-2004 , 05:45 AM



Quote:
I switched "in place" from beta2 to beta3 on windows some weeks ago
(selfcompiled), no notable speed difference.
There may be a different issue here as well. The pginstaller version is
"beta3deva1", which is *not* beta3. It is a post-beta3 snapshot from oct
20th. If something has changed there, that could be the reason.

That said, I haven't noticed these symptoms myelf, so I'd check the
other suggestions first.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.