[PD] database-like stuff in pd