|
Оптимизация запроса
|
|||
---|---|---|---|
#18+
SELECT af, hit, host FROM today WHERE (num=1 OR id=3) Explain 1 SIMPLE today ALL num,id NULL NULL NULL 96518 Using where Можно ли как-то оптимизировать запрос, чтобы он не использовал полное сканирование таблицы. Строк с num=1 OR id=3 около 5 штук. ... |
|||
:
Нравится:
Не нравится:
|
|||
26.03.2004, 06:25 |
|
|
start [/forum/topic.php?fid=47&fpage=690&tid=1855310]: |
0ms |
get settings: |
10ms |
get forum list: |
12ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
31ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
45ms |
get tp. blocked users: |
2ms |
others: | 332ms |
total: | 455ms |
0 / 0 |