http://qs321.pair.com?node_id=928664


in reply to Re^2: Fetch Mysql huge database
in thread Fetch Mysql huge database

Yes. On a large table, indexes are essential for any field (or group of fields) which you're going to use to filter or order your results. Create an index on the UserName field here, and it'll drastically speed things up.