I am working on creating several hundred files (csv) in 15 minutes. and the back of the application takes these files and processes them (updates the database with these values). One problem is locking the database.
What are the best practices for working with several thousand files to avoid blocking and efficiently processing these files?
Would it be more efficient to create one file and process it? or process one file at a time?
What are some general guidelines?
Edit: The database is not relational dbms. These are s nosql, object oriented dbms that work in memory.
source share