create repeat view datasource in tsviewdb, fixes #312