Friday 19 December 2008 6:26:26 am
Has anyone tried optimizing the ezkeyword queries (those that are generated while accessing content/keyword/... view)? It get's incredibly slow with only few thousands of relations, it practically eliminates it from any tagging-like use... SELECT ezkeyword.keyword,ezcontentobject_tree.node_id FROM ezkeyword, ezkeyword_attribute_link,ezcontentobject_tree,ezcontentobject,ezcontentclass, ezcontentobject_attribute a1
WHERE
a1.version=ezcontentobject.current_version
AND a1.contentobject_id=ezcontentobject.id AND
ezkeyword.keyword LIKE 'whatever%'
AND ezcontentobject_tree.is_invisible = 0
AND ((ezcontentobject.section_id in (1, 2))
--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu
|