Created
March 27, 2013 23:10
-
-
Save scottdriscoll/5258979 to your computer and use it in GitHub Desktop.
slow query...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
explain analyze SELECT | |
count(1) AS count | |
FROM | |
merlin.merlin_templates t | |
INNER JOIN merlin.merlin_keywords k ON t.id = k.merlin_template_id | |
WHERE | |
t.enabledstatus = 1 | |
AND t.disabled = 0 | |
AND k.keyword @@ to_tsquery('red|blue') | |
AND product_id = 1 |
bstaz
commented
Mar 27, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment