Link to home
Start Free TrialLog in
Avatar of radhakrishan
radhakrishan

asked on

DATASET .Net - Number of records LIMIT

Hi,

Im FETCHING data from database into a DATASET.

Just want to know: Is there any limit to the amount of RECORDS one can fetch/store in DATASET

DATABASE has got 100,000 records.

Will it hold that much data ?

Will there gonna be any PERFORMANCE issues?

Regards
ASKER CERTIFIED SOLUTION
Avatar of Chirag1211
Chirag1211
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Chirag1211's comments are correct. In addition, since this is posted under ASP.Net, I assume it is for a web application. The memory consumed by this dataset alone could cause your app to recycle when you have multiple users. If this is for display in a grid, it would take too long to render.

Paging is not that difficult to implement if you need to display contents of the dataset on the screen. If you are going to be performing some calculations on the content, you might consider doing the calculations on the DB server with one or more stored procedures and just returning the results you need.

One more thing - If all the rows are from one table, you can use a DataTable instead of a DataSet and save a bit of overhead.