Use the taskid as dbid