I completely agree with you about 50 millions records in an array and the role of the database.
I dont know the reason to keep so much data in memory.
But from my point of view, using the datastore to keep 50 millions records is also bad practice.
I will let you know the answer of the french guy.
Thank you for your competence.