Hello. In the samopisny engine page navigation is implemented as
- First all counts are counted (select count)
- Data is selected (select ..... limit $ openPage, 10) Ie everything is standard.
The database has 600 thousand records, because of which the download is
- no index 14 seconds
- with indices - 3 seconds
Tell me, is it possible to somehow make it so that not all the records are preliminarily considered, but for example 30 (three pages)? Type do limit For count
Well, or your other recommendations. thank
select id ... limit $openPage, 10(id on the id field), 2 part - doselect * from ... where id in (список номеров из первой части)- Visman