c# - EF Processing 21000 + Entries on a single request -



c# - EF Processing 21000 + Entries on a single request -

trying implement solution info intensive tasks . responsiveness reverted async model ef. however, leave ui responsive. but, reason every consecutive 1000 entries gets slower , slower @ rate. e.g. took 120 sec ( rounding ) process 1000 entries. next 1000 took 240 sec() , on...... details of op. 1. getting list of entries table ( 21000 ) entries. 2. creating in memory new objects each entry retrieved . ( note: not committing ef. in memory). 3. save these entries db.

db sqlexpress 2014 local server.

i figure lag due entries beingness fetched ef. have tried both linq , standard ef approach e.g. myobjectcontext.myentities.tolist. so, can help me guide in right direction. best way process mass info operations while still keeping performance intact. thanks

c# sql linq entity-framework

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -