As seen on T260232 it could be hard to find the caller for a select query when it is coming from BatchRowIterator.
It would be nice to allow the caller (METHOD) to pass in like possible on GenderCache or Linkbatch instances and pass it to the database abstraction layer for better debugging.
It could be done by a new arg on constructor or a setCaller method or such.