473,486 Members | 1,984 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

dataset size

Hi all and thanks in advance,

I am thinking of passing around a dataset as parameter to different methods
through my code ...my question is what is a reasonable size for a dataset in
order to avoid performance definiciencies? how many rows of data can a
dataset have before it becomes too large?

I appreciate your comments,

Amadelle
Nov 16 '05 #1
2 4899
Amadelle <am******@yahoo.com> wrote:
I am thinking of passing around a dataset as parameter to different methods
through my code ...my question is what is a reasonable size for a dataset in
order to avoid performance definiciencies? how many rows of data can a
dataset have before it becomes too large?


Too large to pass? DataSet is a reference type, so unless you're using
remoting or serialization or something similar, all that's happening is
a single reference being passed to the method.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 16 '05 #2
Amadelle,

That's too generic a question to ask. If you are on a system with a low
amount of RAM compared to a system with gigabytes of RAM, then the size of
the dataset could vary, assuming no other parameters. Of course, if you
have other things going on at the same time that could suck up ram, this
could factor into it as well.

Generally speaking though, I wouldn't get into the habit of passing
around recordsets that are too unwieldy (personally, I think this is in the
tens of thousands and above range, but that depends on what I am doing with
it).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Amadelle" <am******@yahoo.com> wrote in message
news:u5**************@tk2msftngp13.phx.gbl...
Hi all and thanks in advance,

I am thinking of passing around a dataset as parameter to different methods through my code ...my question is what is a reasonable size for a dataset in order to avoid performance definiciencies? how many rows of data can a
dataset have before it becomes too large?

I appreciate your comments,

Amadelle

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
7545
by: Matt | last post by:
Hello, Is it possible to find the size of a populated DataSet? I have an application (VB.Net) that that populates a DataSet and then sends that DataSet to a PDA. The application on the PDA...
3
2144
by: Derrick | last post by:
I am reading in xml files that equate to sql tables, via XmlDataDocument, and then operating on the DataSet. With the most simple app that just loads the xml doc, I see the memory footprint of the...
5
1812
by: Grant | last post by:
Hello, How come when I add a new row to my dataset table it shows up as changed (agencyData.Haschanges() = True) but when I delete a row the dataset thinks here are no...
35
2084
by: MuZZy | last post by:
Hi All, I got a issue here and hope someone can help me: Let's consider this code: // =================== CODE START ================================= using System; using System.Data; ...
0
3476
by: Dave | last post by:
Tried posting in the Winform Forum without much luck, so posting here... After inserting a new data row to a DataTable that is bound to a datagrid, I am unable to change data in a row that is...
3
5034
by: Mae | last post by:
Dear All, I have a problem here, I'm using C# Webform calling a webservices. The webservices return me a XMLnode, using this XMLnode I want to convert it to dataset so I can bind to the...
2
1409
by: Steve | last post by:
I would not have thought that getting a DataGrid connected to a DataSet (read in from an XML file) would be this complicated. I cannot get this to work. I have read everything I could find and...
2
1237
by: Wayne Wengert | last post by:
I have a VB App (VSNET 2003) in which, during form load, I create a dataset (ds1) and then populate a datagrid by binding to the dataset. That works fine. The form has a button which, when clicked,...
5
9177
by: Mark Rae | last post by:
Hi, I'm encountering a strange phenomenon whereby a DataSet object is not releasing its memory when it's being disposed and/or set to Nothing. It is part of a Windows service written in VB.NET...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7319
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5430
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4864
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.