Performance test: dbapi_insertmany()
Performance test: fix dbapi_select_all
Remove dead code from xselect and xselect_distinct
Reuse the same cursor for all queries