Scalable vertex-centric algorithms based on database technology