473,388 Members | 1,286 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Data Persistence

Hi all

I'm looking into persisting data for the life of an application.

Can anyone enlighten me as to which would produce the least memory overhead;

i) Storing dataset objects in a hashtable

ii) Storing the datasets as xml files and reloading them into memory

Cheers

Keith
Nov 21 '05 #1
3 1426
Hi,

You can store more than one table in a dataset. I would store the
dataset as xml.

Ken
---------------
"Keith" <ke**********@bowe.co.uk> wrote in message
news:cv**********@titan.btinternet.com...
Hi all

I'm looking into persisting data for the life of an application.

Can anyone enlighten me as to which would produce the least memory overhead;

i) Storing dataset objects in a hashtable

ii) Storing the datasets as xml files and reloading them into memory

Cheers

Keith

Nov 21 '05 #2
Keith,

For what kind of application, Webform or windowsform.

(I see not the need for a windowsform so when it is that, than maybe can you
explain why you want to do that. The persistentie from a dataset is the same
as from an hashtable or whatever)

Cor
Nov 21 '05 #3
"Keith" <ke**********@bowe.co.uk> schrieb:
I'm looking into persisting data for the life of an application.

Can anyone enlighten me as to which would produce the least memory
overhead;

i) Storing dataset objects in a hashtable

ii) Storing the datasets as xml files and reloading them into memory


I think these two options serve different purposes. Storing data in a
hashtable doesn't make it persistent, storing it in an XML file does.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4

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

Similar topics

0
by: PerfectDayToChaseTornados | last post by:
Hi All, I'm interested in peoples opinions & experiences of various persistence frameworks. I mainly use EJB2 or straight JDBC for persistence, but have been looking at various alternative...
2
by: Frank Grimm | last post by:
Hi group, i'm looking for a Java persistence framework that is able to cope with changes of the class source, i.e. new/changed attributes and/or methods. Say you have an exported (persistent)...
6
by: Mark Carter | last post by:
I had a play with XML-RPC the other day, and it seemed really simple to use; which really made an impression on me. But you can't make data persist on the server (not without rolling your own...
6
by: Paolo Losi | last post by:
Hi all, I'm pretty new to the python language so please excuse me if this is FAQ... I'm very glad to be part of the list! :-) I'm looking into a way to implement a generic workflow framework...
0
by: Sergei Gnezdov | last post by:
What are the options in persistence area if I want to use .Net? I am interested to know about commercial quality products such as Toplink. My overall impression was that .Net is far behind in...
2
by: Citoyen du Monde | last post by:
Trying to get some ideas on a simple javascript project (to teach myself the language). I want to develop a client-side vocabulary practice application that would allow users to enter their own...
5
by: Kevin C | last post by:
I was curious to know what some developers out in the industry are doing when it comes to exposing Data access logic, specifically persistence. This is assuming that your not using an O/R framework...
7
by: Steve Mauldin | last post by:
I have a public variable that is declared in a public module. This Variable is stored into a Session variable and used to pass data from page to page. I am seeing on my local development box that...
0
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
What is Persistence Manager, Persistence Service, and ORM? Are they related? I have seen these terms mentioned.
0
myusernotyours
by: myusernotyours | last post by:
Hi all, Am trying to create a Java Desktop App that uses Java Persistence in Netbeans. The database is MS Access but I tried with Mysql and got the same error. When I run the app( Create the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.