I am gathering data from multiple feeds including api's, excel files, text files, word files. I am using a relational database to store all relationships. There are up to 10 one to many or many to many relationships.
The approach I am using is writing each entry into a .csv
file then calling a stored procedure to bulk insert all of the entries. So in this case I can have 10 separate files for each table in my database.
There are 2 problems I ran into:
- Transferring the files over to the database server (same network)
- Primary keys, I need to use guid instead of auto increment
What is the best approach for performance?