Re:Mistakes Beginners Make When Working with Databases
by ivanhoe on Wednesday June 08, 2016 @12:48PM
(#11863583)
Problem is actually any ORDER BY operation on a big table, but often it can be fixed with a bit of index magic... on small enough DB (and that's like 99% of web projects) you don't really need to care about this, ever...
Re:Mistakes Beginners Make When Working with Databases
by nsxwolf on Wednesday June 08, 2016 @12:10PM
(#11863237)
And I think when you do encounter a performance issue with LIMIT ... OFFSET, you have to ask yourself "Is a standard CRUD interface pattern really the best way to work with such a large data set?"
>>The unfortunate part is: pagination is quite complex, and there isn’t a one-size-fits-all solution.
Probably not. But the example he gave is a one size fits most. I've used it on a dozen different projects and have never had performance issue.