reduce memory usage for mysql2

use :stream, :cache_rows option to fetch rows from the server on demand.
ref. https://github.com/brianmario/mysql2#row-caching