-werners-
Esteemed Contributor III

Both are possible,
but I prefer saving data on a data lake first before putting it in a database (option 2).