What experience do you have in the topic?
Some problems are easily solved with flat files.
Others require some level of organization, so you migrate to a database. Some problems are easily solved with noSQL, others require sophisticated query patterns not easily solved with noSQL (exceptions being through the use of,e.g. Hadoop and all manner of code gymnastics).