MySQL : retrieve a large select by chunks
You could try using the LIMIT feature. If you do this: SELECT * FROM MyTable ORDER BY whatever LIMIT 0,1000 You’ll get the first 1,000 rows. The first LIMIT value (0) defines the starting row in the result set. It’s zero-indexed, so 0 means “the first row”. The second LIMIT value is the maximum number … Read more