mysql _ unbuffered _ query sends a sql query query to mysql without fetching and buffering the result rows automatically as mysql _ query does on the one hand this saves a considerable amount of memory with sql queries that produce large result sets on the other hand you can start working on the result set immediately after the first row has been retrieved you dont have to wait until the complete sql query has been performed when using multiple dbconnects you have to specify the optional parameter link _ identifier 