hierarchy db part