I have a very large Entity Framework implementation (100+ tables/entities). The first time SaveChanges is called when doing an update I am experiencing an 18 second wait time. Is this common for large entity framework models? I heard that partitioning the EF model into smaller chunks is a way to improve performance. I am wondering if this is the only way? Partitioning at this point seems like a whole lot of work.
- Should I partition the EF model?
- Should I use multiple data context instances or just a shared static one?
- What are the performance gotchyas that you have experienced with slowness on EF and in particular SaveChanges()?
Thanks!