After reading several articles on the performance impact of PHP PDO fetchall() , I wonder if there is another way to achieve the same result without calling fetchall() .
To explain, most agree that fetchall() tends to be resource intensive. In my case, I do not think this will be too big a problem. Yes, I need to pull the whole table from my database and display it to the user, but it will be about 100 rows; I do not believe that this will be a problem. Hypothetically, however, if I needed to pull out 100,000 lines, what would be a better solution?
Mlagma
source share