A
aculfa
I've just finished a C# project that processes a file and inserts data to
database.
I used "typed dataset" and filled tables in this dataset during file
process. After processing, data sent to DB by using DataAdapter.Update.
First few files are done very fast, but later on it slows down.
For performance, I tried to do everything in memory. But I should mention
that after a file process there may be a total data at about 50000rows in
memory and destruction of these tables are left to Garbage Collector.
Is this a bad way? If so, what should I do to increase performance.
Note: For first 5 files, it's twice as fast as Delphi does, but after 100
files it's twice as slow.
database.
I used "typed dataset" and filled tables in this dataset during file
process. After processing, data sent to DB by using DataAdapter.Update.
First few files are done very fast, but later on it slows down.
For performance, I tried to do everything in memory. But I should mention
that after a file process there may be a total data at about 50000rows in
memory and destruction of these tables are left to Garbage Collector.
Is this a bad way? If so, what should I do to increase performance.
Note: For first 5 files, it's twice as fast as Delphi does, but after 100
files it's twice as slow.