
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
16.05.2005, 17:29
|
|||
|---|---|---|---|
|
|||
Можно-ли оптимизировать запрос |
|||
|
#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 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
01.06.2005, 07:53
|
|||
|---|---|---|---|
|
|||
Можно-ли оптимизировать запрос |
|||
|
#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 что говорит? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=47&mobile=1&tid=1853997]: |
0ms |
get settings: |
7ms |
get forum list: |
14ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
325ms |
get topic data: |
15ms |
get forum data: |
3ms |
get page messages: |
34ms |
get tp. blocked users: |
1ms |
| others: | 203ms |
| total: | 606ms |

| 0 / 0 |
