Re: dataset Performence Issue
- From: "Sahil Malik [MVP]" <contactmethrumyblog@xxxxxxxxxx>
- Date: Fri, 5 Aug 2005 23:43:50 -0400
Nigel,
Try measuring the time of "removing" rows from a huge dataset (i.e. lots of
datarows).
- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
----------------------------------------------------------------------------
"Nigel Norris" <nospam@xxxxxxxxxx> wrote in message
news:%23Q5UytQmFHA.3256@xxxxxxxxxxxxxxxxxxxxxxx
> Just to get some facts instead of opinions, I ran some tests. The test
> populated a DataTable with varying numbers of records up to 1 million.
>
> The table was simple - 5 string columns, with one of those columns as the
> primary key. Around about 100 bytes of data per row. The kind of
> application I was thinking of was an address lookup table.
>
> The two numbers I was interested in were:
> - the load time per row
> - the time to retrieve a row by primary key
>
> Here's a few sample numbers (times in milliseconds):
>
> Count Load Retrieve
> 1,000 0.02 0.009
> 10,000 0.03 0.013
> 100,000 0.04 0.018
> 1,000,000 0.06 0.028
>
> CPU is an Athlon 2200. Framework version is V1.1
>
> Basically the load cost per row does rise, but not too bad. However this
> is a very simple table. I will interested to try this with the V2.0
> improvements.
>
> Retrieval time also rises, though quite slowly. Still, 30 microseconds
> per lookup is probably better than you'll get out of a database.
>
> So a reasonably large DataSet can work. However I would always be sure to
> measure the behaviour with the largest amount of data that I wanted to be
> able to handle before committing to it.
>
> --------
> Nigel Norris
>
>
>
>
>
>
.
- References:
- dataset Performence Issue
- From: Ashishthaps
- Re: dataset Performence Issue
- From: Sahil Malik [MVP]
- Re: dataset Performence Issue
- From: Adrian Moore
- Re: dataset Performence Issue
- From: Sahil Malik [MVP]
- Re: dataset Performence Issue
- From: Nigel Norris
- Re: dataset Performence Issue
- From: Sahil Malik [MVP]
- Re: dataset Performence Issue
- From: Nigel Norris
- Re: dataset Performence Issue
- From: Nigel Norris
- dataset Performence Issue
- Prev by Date: Probably anlyzed to death- ASP vs ASP.NET; a rough comparison
- Next by Date: Re: Probably anlyzed to death- ASP vs ASP.NET; a rough comparison
- Previous by thread: Re: dataset Performence Issue
- Next by thread: Re: dataset Performence Issue
- Index(es):
Relevant Pages
|