Closed (fixed)
Project:
Relevance
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2009 at 17:48 UTC
Updated:
18 Aug 2009 at 03:10 UTC
Currently I has hard time with my site with damn a lot of content. One of bottlenecks is relevance SQL query in relevance.module.
I think MySQL just can't optimize really good SQL where subquery is added as "field IN (SELECT subquery)".
That's why I've rewrote the whole request with joins. Not sure if it will help all, but for me it helped to make this query to be as fast as few ms instead of thousands of seconds.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| releveance.module.patch | 867 bytes | pavel.karoukin |
Comments
Comment #1
fernao commentedHi there, thanks for the patch!
I'll take a look and probably make a new release with it and another fixes.
Fernão
Comment #2
fernao commentedCommited to version 6-x-2.2 (http://drupal.org/node/539332)
Comment #3
fernao commented