I am building a system, where the data will be added by user every 30 secs or so. In this case, should I go for a batch insert(insert after every 2 mins) or do I insert every time the user enters the data. The system is to be built on c# 3.5 and Sql server.
Share
Start with normal inserts. You’re nowhere near having to optimize this.
If performance becomes a problem, or it would be obvious that it may be a concern, only then do you need to look at optimizing — and even then, it may not be an issue with inserts! Use a profiler to determine the bottleneck.