I'm trying to warm up the buffer pool. Will running a query and re-directing the output to /dev/null suffice?

- e.g. mysql -u username -p -e "select id from tbl where 1=1" > /tmp/results.txt


Thanks