|
Индексы
|
|||
---|---|---|---|
#18+
Можно ли как-то изменить запрос (WHERE), чтобы можно было использовать индексы? SELECT uid, IF(id=1234, IF(pagecrc=1526,2,1), 0) as ordr_site, t < '2002-04-01 00:00:00', usercrc=32521 as ordr_user FROM table WHERE usercrc=32521 or uid=552131 ORDER BY ordr_user DESC, ordr_site DESC LIMIT 1 Спасибо. ... |
|||
:
Нравится:
Не нравится:
|
|||
09.04.2002, 17:22 |
|
|
start [/forum/topic.php?fid=47&gotonew=1&tid=1856385]: |
0ms |
get settings: |
10ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
153ms |
get topic data: |
10ms |
get first new msg: |
7ms |
get forum data: |
3ms |
get page messages: |
47ms |
get tp. blocked users: |
1ms |
others: | 246ms |
total: | 499ms |
0 / 0 |