|
|
|
Можно-ли оптимизировать запрос
|
|||
|---|---|---|---|
|
#18+
Добрый день! Есть запрос: select SQL_CACHE match(event_index) AGAINST ('test' IN BOOLEAN MODE) as relevant, event_index like '%test%' as likesearch ,event.*,area.*,cat.* from eventinx_search search,eventinx_event event, eventinx_areas area, eventinx_categories cat where area.area_id=event.event_area and cat.cat_id=event.event_category and search.event_id=event.event_id having likesearch or relevant>0 order by area_id,cat_id,event_date Можно ли его оптимизировать, если учесть что на поле event_index стоит fulltext.... Small Devil ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.05.2005, 17:29 |
|
||
|
Можно-ли оптимизировать запрос
|
|||
|---|---|---|---|
|
#18+
А EXPLAIN select SQL_CACHE match(event_index) AGAINST ('test' IN BOOLEAN MODE) as relevant, event_index like '%test%' as likesearch ,event.*,area.*,cat.* from eventinx_search search,eventinx_event event, eventinx_areas area, eventinx_categories cat where area.area_id=event.event_area and cat.cat_id=event.event_category and search.event_id=event.event_id having likesearch or relevant>0 order by area_id,cat_id,event_date что говорит? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 01.06.2005, 07:53 |
|
||
|
|

start [/forum/topic.php?fid=47&fpage=657&tid=1853997]: |
0ms |
get settings: |
9ms |
get forum list: |
19ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
62ms |
get topic data: |
14ms |
get forum data: |
3ms |
get page messages: |
42ms |
get tp. blocked users: |
2ms |
| others: | 244ms |
| total: | 403ms |

| 0 / 0 |
