try using SQL
Import missing libs for SQL request

bind as slave also in session.
Merge branch 'sql-marvin' into issue-query-perf-improvements