8bc3f86 Mass debug for database layer.