DRYed peek-pg/mysql2 views and update peek-rblineprof monkey-patch file

Signed-off-by: Rémy Coutable <remy@rymai.me>
83 jobs for 29010-perf-bar in 281 minutes and 55 seconds (queued for 44 seconds)