Database utils for The Troll Inception (TTI)