I am upgrading a site to the latest releases and (at least) one view-based finder seems to run 4-6 times slower than before. The content type in question has about 380 nodes.
After some digging I narrowed down the problem to the SQL generated to fetch the possible choices to expose in the form.

The latest version does not have a GROUP BY clause that would reduce the choices to read from 1675 to 347.

I reviewed the diff between the two Finder releases (6.14 and 6.27) and could not see why this should happen.
Attached are the SQL statements generated by the upgraded site and the production one.

Can someone shed some light on the matter?
Are the two SQL queries supposed to be so different and should I start looking elsewhere ?

Thanks a lot for your help

Comments

savedario’s picture

StatusFileSize
new9.6 KB

Just in case it could be helpful, here's the exported Finder.

savedario’s picture

Category: support » bug

Given that the update 6.17 > 6.27 did not include any database changes, I quickly replaced the Finder's new code with the old one and the issue above disappeared.

I updated the status of this issue accordingly.

verta’s picture

Title: Finders performance degrade after upgrade » Performance degraded after upgrade
Issue tags: +Performance

Tweak to issue title for SEO and add tag, +following.

dragon658’s picture

I also have such problems.

Before last update of views module my finder auto-complete worked fine, but now it takes more than 10 seconds to load.

danielb’s picture

Version: 6.x-1.27 » 7.x-2.x-dev
Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6 is no longer supported.