Database management for Mall