Skip to main content
Tweeted twitter.com/#!/StackDBAs/status/457390761928318976
edited tags
Link
RolandoMySQLDBA
  • 184.4k
  • 33
  • 323
  • 531
Source Link
user2732180
  • 751
  • 2
  • 10
  • 18

Will redirecting queries to dev/null warm up indexes?

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