Improve efficiency of db_oper construction.