Algorithms for online data management problems considering the storage capacities. (July 2022)