AI-Assisted Dynamic Modelling for Data Management in a Distributed System