<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How To Handle Large Amounts of Data Quickly and Easily</title>
	<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/</link>
	<description></description>
	<pubDate>Sat, 04 Sep 2010 23:26:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>

	<item>
		<title>By: Adam Jordens</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-766</link>
		<author>Adam Jordens</author>
		<pubDate>Tue, 04 Dec 2007 07:59:52 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-766</guid>
					<description>Were there any optimizations done to actually reduce the in-memory footprint of the cached data?

You mentioned that in your deserialization function that you're converting from a denormalized csv to an in-memory list.

Basically, from what I've read, you've managed to optimize the size on disk of data by transitioning from xml to binary (w/ gzip thrown on top). I agree that this is probably a good thing provided the data is small enough that the overhead of decompression doesn't hurt. That being said, there are some very fast XML parsers available that should be able to rip through 500M of data in well under 100s.

However, I'd be curious to know if the in-memory footprint is still upwards of 500M?

Partitioning the data is often a good position to take with problems like this.  It's one of the core tenets behind Map/Reduce and Google has obviously shown it to scale well. Even with much smaller data sets it's nice to be able to have the flexibility to say 'I haven't used this data in awhile I'm going to evict it from memory', choosing to pay the penalty to reload at a later time. It's unfortunate that this strategy doesn't work for your particular application.

Cheers.</description>
		<content:encoded><![CDATA[<p>Were there any optimizations done to actually reduce the in-memory footprint of the cached data?</p>
<p>You mentioned that in your deserialization function that you&#8217;re converting from a denormalized csv to an in-memory list.</p>
<p>Basically, from what I&#8217;ve read, you&#8217;ve managed to optimize the size on disk of data by transitioning from xml to binary (w/ gzip thrown on top). I agree that this is probably a good thing provided the data is small enough that the overhead of decompression doesn&#8217;t hurt. That being said, there are some very fast XML parsers available that should be able to rip through 500M of data in well under 100s.</p>
<p>However, I&#8217;d be curious to know if the in-memory footprint is still upwards of 500M?</p>
<p>Partitioning the data is often a good position to take with problems like this.  It&#8217;s one of the core tenets behind Map/Reduce and Google has obviously shown it to scale well. Even with much smaller data sets it&#8217;s nice to be able to have the flexibility to say &#8216;I haven&#8217;t used this data in awhile I&#8217;m going to evict it from memory&#8217;, choosing to pay the penalty to reload at a later time. It&#8217;s unfortunate that this strategy doesn&#8217;t work for your particular application.</p>
<p>Cheers.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-767</link>
		<author>David Baxter</author>
		<pubDate>Tue, 04 Dec 2007 14:07:12 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-767</guid>
					<description>I can't say exactly why, but when everything is decompressed into memory my app only takes up about 250 megs or so of RAM. So for some reason it is smaller than when it is on disk...

I have been an xml guy for years, and I love working with it because it is so functional. With that said, I did not want to move away from xml because I am so familiar with it. In .NET if you want to be able to edit an xml object you have to use a XmlDocument object. This slows things down and the XPath we used to search through the lump was just too slow.

If you only need read access to an xml file, then you can use faster parsers like an XPathDocument and XPathNavigator...unfortunately, we couldn't go "read only".

I haven't heard of Map/Reduce before...gonna have to look that one up. Thanks!

David</description>
		<content:encoded><![CDATA[<p>I can&#8217;t say exactly why, but when everything is decompressed into memory my app only takes up about 250 megs or so of RAM. So for some reason it is smaller than when it is on disk&#8230;</p>
<p>I have been an xml guy for years, and I love working with it because it is so functional. With that said, I did not want to move away from xml because I am so familiar with it. In .NET if you want to be able to edit an xml object you have to use a XmlDocument object. This slows things down and the XPath we used to search through the lump was just too slow.</p>
<p>If you only need read access to an xml file, then you can use faster parsers like an XPathDocument and XPathNavigator&#8230;unfortunately, we couldn&#8217;t go &#8220;read only&#8221;.</p>
<p>I haven&#8217;t heard of Map/Reduce before&#8230;gonna have to look that one up. Thanks!</p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Taufik</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-770</link>
		<author>Taufik</author>
		<pubDate>Tue, 04 Dec 2007 18:28:40 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-770</guid>
					<description>Hmm...what about binary xml format (with built in compression)?</description>
		<content:encoded><![CDATA[<p>Hmm&#8230;what about binary xml format (with built in compression)?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-771</link>
		<author>David Baxter</author>
		<pubDate>Tue, 04 Dec 2007 21:20:13 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-771</guid>
					<description>Can't say that I have ever heard of that Taufik. Those two seem mutually exclusive. Do you have a link or something that talks about binary xml?

David</description>
		<content:encoded><![CDATA[<p>Can&#8217;t say that I have ever heard of that Taufik. Those two seem mutually exclusive. Do you have a link or something that talks about binary xml?</p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Canta</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-825</link>
		<author>Canta</author>
		<pubDate>Fri, 04 Jan 2008 19:59:59 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-825</guid>
					<description>Please, excuse my english, as i speak spanish.

About the 250MB vs 500MB... could it be an encoding related issue? 

I mean, doesn't Unicode encoded strings (like UTF-8) use double bytes for characters, when other encodings (like ISO-8859-1) use only one? 

If i'm understanding it right, that means any utf-8 encoded file has double data space used than any same iso-8859-1'd file.

Maybe when serialized that penalty is lost if your XML file is unicode. 
I'm just a high level programmer, not a byte expert, so just guessing.</description>
		<content:encoded><![CDATA[<p>Please, excuse my english, as i speak spanish.</p>
<p>About the 250MB vs 500MB&#8230; could it be an encoding related issue? </p>
<p>I mean, doesn&#8217;t Unicode encoded strings (like UTF-8) use double bytes for characters, when other encodings (like ISO-8859-1) use only one? </p>
<p>If i&#8217;m understanding it right, that means any utf-8 encoded file has double data space used than any same iso-8859-1&#8242;d file.</p>
<p>Maybe when serialized that penalty is lost if your XML file is unicode.<br />
I&#8217;m just a high level programmer, not a byte expert, so just guessing.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-826</link>
		<author>David Baxter</author>
		<pubDate>Fri, 04 Jan 2008 20:06:48 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-826</guid>
					<description>Hey Canta, I am not a byte junkie either, but what you are saying is interesting and worth looking into.

I do know some encoding formats are better than others, but I have never really sat down and thought about it.

In my case, I just trust the .NET serializer to make the right choice, but if space is at a premium, that might be a good way to be more efficient.

Thanks for the advice!

David</description>
		<content:encoded><![CDATA[<p>Hey Canta, I am not a byte junkie either, but what you are saying is interesting and worth looking into.</p>
<p>I do know some encoding formats are better than others, but I have never really sat down and thought about it.</p>
<p>In my case, I just trust the .NET serializer to make the right choice, but if space is at a premium, that might be a good way to be more efficient.</p>
<p>Thanks for the advice!</p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Canta</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-830</link>
		<author>Canta</author>
		<pubDate>Tue, 08 Jan 2008 14:38:08 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-830</guid>
					<description>Hi David.

Please, let me tell you a few tips about that encoding thing i've learned working with XML in Microsoft enviroments. 

As i told you before, we speak spanish here. So, we got a few non-US characters, like the "ñ" and the tilded vowels. Those characters gave us always encoding problems. That's why and where UTF-8 comes in: it's supposed to be universal. Therefore, it's spected that contemporary XML parsers work in UTF-8 by default, meaning that your file may be utf-8 encoded (and have a size of 500M when using 250M chars).

It's easy to know this, by opening the file in Notepad, selecting "Save As", and checking what file encoding does it shows by default; that's the encoding of your file.
Unfortunately, that's not that "easy" to check that way with a 500MB text file (notepad will surely hang).


Visual Studio 6, and windows up to server 2003 (don't know about vista or 2008), handle files in ANSI by default (wich is but an ASCII with MSDOS characters and 16 colours). To write an UTF-8 file, you gotta do a few things.
Therefore, if you save an UTF-8 encoded XML into an ANSI file, it does not work (the system missuderstand some chars).
Also, by default, MSXML up to version 3 (maybe 6 as well, gotta try) wrote XML code in UTF-16 encoding (wich is ANSI compatible, as well as ISO-8859-1).
That's how the things worked before .NET in the Microsoft's XML world: you HAD to put this parameters by hand, and know how to do it.

I assume .NET parsers do work in UTF-8 by now, because of the mess that was all that encoding thing, and therefore you might have an utf-8 file.

Don't know about your version of Visual Studio, nor you framework version, but is good to know this kind of issues everytime you work with an XML file and Microsoft technologies. I learned all this stuff in the hard way. :(

Best.</description>
		<content:encoded><![CDATA[<p>Hi David.</p>
<p>Please, let me tell you a few tips about that encoding thing i&#8217;ve learned working with XML in Microsoft enviroments. </p>
<p>As i told you before, we speak spanish here. So, we got a few non-US characters, like the &#8220;ñ&#8221; and the tilded vowels. Those characters gave us always encoding problems. That&#8217;s why and where UTF-8 comes in: it&#8217;s supposed to be universal. Therefore, it&#8217;s spected that contemporary XML parsers work in UTF-8 by default, meaning that your file may be utf-8 encoded (and have a size of 500M when using 250M chars).</p>
<p>It&#8217;s easy to know this, by opening the file in Notepad, selecting &#8220;Save As&#8221;, and checking what file encoding does it shows by default; that&#8217;s the encoding of your file.<br />
Unfortunately, that&#8217;s not that &#8220;easy&#8221; to check that way with a 500MB text file (notepad will surely hang).</p>
<p>Visual Studio 6, and windows up to server 2003 (don&#8217;t know about vista or 2008), handle files in ANSI by default (wich is but an ASCII with MSDOS characters and 16 colours). To write an UTF-8 file, you gotta do a few things.<br />
Therefore, if you save an UTF-8 encoded XML into an ANSI file, it does not work (the system missuderstand some chars).<br />
Also, by default, MSXML up to version 3 (maybe 6 as well, gotta try) wrote XML code in UTF-16 encoding (wich is ANSI compatible, as well as ISO-8859-1).<br />
That&#8217;s how the things worked before .NET in the Microsoft&#8217;s XML world: you HAD to put this parameters by hand, and know how to do it.</p>
<p>I assume .NET parsers do work in UTF-8 by now, because of the mess that was all that encoding thing, and therefore you might have an utf-8 file.</p>
<p>Don&#8217;t know about your version of Visual Studio, nor you framework version, but is good to know this kind of issues everytime you work with an XML file and Microsoft technologies. I learned all this stuff in the hard way. <img src='http://www.creativeui.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Best.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Elmo</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-913</link>
		<author>Elmo</author>
		<pubDate>Tue, 05 Feb 2008 15:36:12 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-913</guid>
					<description>hello.

Now, i'm a bit new on this, so i got 1 quick question.

I get all this code to work, but i need my program to write to the file, close it, then continue on the same file later in the code.

when i use it as it is it only overwrited the previous data when i try to continue on it.

I tried changing the "FileMode.Create" to "FileMode.Open" but didn't change anything.

so, how do i make it continue on an exsisting file?</description>
		<content:encoded><![CDATA[<p>hello.</p>
<p>Now, i&#8217;m a bit new on this, so i got 1 quick question.</p>
<p>I get all this code to work, but i need my program to write to the file, close it, then continue on the same file later in the code.</p>
<p>when i use it as it is it only overwrited the previous data when i try to continue on it.</p>
<p>I tried changing the &#8220;FileMode.Create&#8221; to &#8220;FileMode.Open&#8221; but didn&#8217;t change anything.</p>
<p>so, how do i make it continue on an exsisting file?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-918</link>
		<author>David Baxter</author>
		<pubDate>Mon, 11 Feb 2008 15:45:48 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-918</guid>
					<description>Hmmm...FileMode shoulda done it I would think. There should be something about Appending when it comes to messing with files. I would take a look at that. Let me know if that doesn't help.

David</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230;FileMode shoulda done it I would think. There should be something about Appending when it comes to messing with files. I would take a look at that. Let me know if that doesn&#8217;t help.</p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1013</link>
		<author>David</author>
		<pubDate>Wed, 18 Jun 2008 16:17:41 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1013</guid>
					<description>Worst recommendation for my project ever. If you want a small file size, then binary formatter and compression may be the way to go. But if you doing data mining or analysis on huge numbers of records or huge arrays I just figured out how to write 700MBs of data to a disk and load it back in in 35 seconds! The binary formatter would run out of memory or take many times longer. You could also write your own algorithm for compressing it and making the file smaller with my method. The way you do it is using a BufferedStream which you pass your fileStream to. Then, you read and write your values using a binaryWriter and BinaryReader. Its so fast. For my application its like have all the memory in the world because if your algorithm takes 30 minutes to hours, needing only seconds to load in all the data into memory is super super fast. Its especially useful for creating the algorithm and debugging on 64 bit since there is no way to keep the data in memory when you want to make changes. 64-bit doesn't allow edit and continue... the bastards! :) well, enjoy! hope this helps someone.</description>
		<content:encoded><![CDATA[<p>Worst recommendation for my project ever. If you want a small file size, then binary formatter and compression may be the way to go. But if you doing data mining or analysis on huge numbers of records or huge arrays I just figured out how to write 700MBs of data to a disk and load it back in in 35 seconds! The binary formatter would run out of memory or take many times longer. You could also write your own algorithm for compressing it and making the file smaller with my method. The way you do it is using a BufferedStream which you pass your fileStream to. Then, you read and write your values using a binaryWriter and BinaryReader. Its so fast. For my application its like have all the memory in the world because if your algorithm takes 30 minutes to hours, needing only seconds to load in all the data into memory is super super fast. Its especially useful for creating the algorithm and debugging on 64 bit since there is no way to keep the data in memory when you want to make changes. 64-bit doesn&#8217;t allow edit and continue&#8230; the bastards! <img src='http://www.creativeui.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> well, enjoy! hope this helps someone.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1014</link>
		<author>David Baxter</author>
		<pubDate>Wed, 18 Jun 2008 17:18:47 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1014</guid>
					<description>Wow...worst ever? Alrighty then.

Sorry it didn't work out for you. Our files are about 100 MB if uncompressed and this method works wonders. However, for super huge data mining ops, then it sounds like you have a good way of doing it. Congrats.

David</description>
		<content:encoded><![CDATA[<p>Wow&#8230;worst ever? Alrighty then.</p>
<p>Sorry it didn&#8217;t work out for you. Our files are about 100 MB if uncompressed and this method works wonders. However, for super huge data mining ops, then it sounds like you have a good way of doing it. Congrats.</p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ramki</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1021</link>
		<author>Ramki</author>
		<pubDate>Sat, 05 Jul 2008 10:01:07 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1021</guid>
					<description>Hi, 

I have got to read a text file(size &#62; 500MB to GBs also) in c#. I have to parse this text file.
the file consists of lines with comma sepearated and some lines not required to parse.

I need to read the log file ( right now doing b stream reader ReadLine() method )
1. then form a data row to build data table.
2. I need to bind this huge data table to grid view.
3. Then Export this grid to Excel Sheet.

Am using stream reader to read the file.
the application hangs or sometimes becomes not responding...

I tried to do the operation in seperate thread then also the behavior didc't change much (Hanging)

and also Binding to Grid is a good thing to do ?

Thanks,
Ramki</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I have got to read a text file(size &gt; 500MB to GBs also) in c#. I have to parse this text file.<br />
the file consists of lines with comma sepearated and some lines not required to parse.</p>
<p>I need to read the log file ( right now doing b stream reader ReadLine() method )<br />
1. then form a data row to build data table.<br />
2. I need to bind this huge data table to grid view.<br />
3. Then Export this grid to Excel Sheet.</p>
<p>Am using stream reader to read the file.<br />
the application hangs or sometimes becomes not responding&#8230;</p>
<p>I tried to do the operation in seperate thread then also the behavior didc&#8217;t change much (Hanging)</p>
<p>and also Binding to Grid is a good thing to do ?</p>
<p>Thanks,<br />
Ramki</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1024</link>
		<author>David Baxter</author>
		<pubDate>Mon, 07 Jul 2008 14:11:39 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1024</guid>
					<description>Hey Ramki, when you are dealing with that much data you definitely don't want to bind it all to the grid at once.

We have a grid that can be as large as 3,000 rows and 1,500 columns (STUPID big)...its a beast, but the key is to use a virtual grid. Most third party grids has some form of virtual grid.

What that does is tells the grid...here is your data source over here (which points to the cache file I talk about in this article), but I only want you to load what the user can see on the screen. To say this dramatically speeds things up is an understatement.

We use the Infragistics grid on our project and it has been really solid.

Hope that helps.

David</description>
		<content:encoded><![CDATA[<p>Hey Ramki, when you are dealing with that much data you definitely don&#8217;t want to bind it all to the grid at once.</p>
<p>We have a grid that can be as large as 3,000 rows and 1,500 columns (STUPID big)&#8230;its a beast, but the key is to use a virtual grid. Most third party grids has some form of virtual grid.</p>
<p>What that does is tells the grid&#8230;here is your data source over here (which points to the cache file I talk about in this article), but I only want you to load what the user can see on the screen. To say this dramatically speeds things up is an understatement.</p>
<p>We use the Infragistics grid on our project and it has been really solid.</p>
<p>Hope that helps.</p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ramki</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1030</link>
		<author>Ramki</author>
		<pubDate>Mon, 14 Jul 2008 07:53:27 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1030</guid>
					<description>Hi David,

Thanks for your reply.

I tried to add to grid row by row after every Readline() of the log.
But this is also consuming time as binding altogether at once after whole reading operation had completed.

Yes having an option to view a bunch of rows is good design. And user can see only a bunch of records at any time. But this is not the requirement.  

virtual grid can be done in v 2005 without 3rd party tools?
-&#62;infragists: to use these tools we need to buy right? 

Ramki</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>Thanks for your reply.</p>
<p>I tried to add to grid row by row after every Readline() of the log.<br />
But this is also consuming time as binding altogether at once after whole reading operation had completed.</p>
<p>Yes having an option to view a bunch of rows is good design. And user can see only a bunch of records at any time. But this is not the requirement.  </p>
<p>virtual grid can be done in v 2005 without 3rd party tools?<br />
-&gt;infragists: to use these tools we need to buy right? </p>
<p>Ramki</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1031</link>
		<author>David Baxter</author>
		<pubDate>Mon, 14 Jul 2008 13:52:18 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1031</guid>
					<description>I believe that VS has a virtual grid, but I also am pretty sure it sucks :P

If you want to use infragistics, it does cost money. If you are a freelancer, then it is probably a bit expensive, but if you are working with a company or a good client, it is money well spent...

David</description>
		<content:encoded><![CDATA[<p>I believe that VS has a virtual grid, but I also am pretty sure it sucks <img src='http://www.creativeui.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>If you want to use infragistics, it does cost money. If you are a freelancer, then it is probably a bit expensive, but if you are working with a company or a good client, it is money well spent&#8230;</p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1062</link>
		<author>David</author>
		<pubDate>Thu, 28 Aug 2008 22:02:07 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1062</guid>
					<description>David,

I'm trying to wrap my mind about your whole process here. Tell me if this is correct:

1) Client app communicates to server app requesting data.
2) Server app requests data from database.
3) Server app compresses data and ships off to client app.
4) Client app decompresses data for use.

If I'm way off here, please let me know. I may be working on a project that involves several gigs of data and I'm looking for a solid solution.

David</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>I&#8217;m trying to wrap my mind about your whole process here. Tell me if this is correct:</p>
<p>1) Client app communicates to server app requesting data.<br />
2) Server app requests data from database.<br />
3) Server app compresses data and ships off to client app.<br />
4) Client app decompresses data for use.</p>
<p>If I&#8217;m way off here, please let me know. I may be working on a project that involves several gigs of data and I&#8217;m looking for a solid solution.</p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Betzie</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1070</link>
		<author>Betzie</author>
		<pubDate>Sun, 07 Sep 2008 05:44:43 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1070</guid>
					<description>Hi everyone

Good Algorithm, like i read here above, i find it difficult to handle amount large data, like &#62; 500 MB - X GB big from an database.
But the nice thing is we dosent need all that data at once, but i want to have it have "on-the-fly", is it better to index the database and hope that the sql query will quick be enough to send over data in realtime when the program ask for it or is it better to cache it up and compress it in-memory, or the last thing, maby is better to cache it up to an virtual file, then using filemapping.

clue: this data is for an own Chart program, where i want to show one or more lines, so the problem here is when i want to show data on the chart, is that,it dosent have to show all the data at once, but when you zoom in you want some connection to more detail-data that can be shown on the chart.
But what technic can be quick enough for that?</description>
		<content:encoded><![CDATA[<p>Hi everyone</p>
<p>Good Algorithm, like i read here above, i find it difficult to handle amount large data, like &gt; 500 MB - X GB big from an database.<br />
But the nice thing is we dosent need all that data at once, but i want to have it have &#8220;on-the-fly&#8221;, is it better to index the database and hope that the sql query will quick be enough to send over data in realtime when the program ask for it or is it better to cache it up and compress it in-memory, or the last thing, maby is better to cache it up to an virtual file, then using filemapping.</p>
<p>clue: this data is for an own Chart program, where i want to show one or more lines, so the problem here is when i want to show data on the chart, is that,it dosent have to show all the data at once, but when you zoom in you want some connection to more detail-data that can be shown on the chart.<br />
But what technic can be quick enough for that?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Jaya</title>
		<link>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1160</link>
		<author>Jaya</author>
		<pubDate>Wed, 12 May 2010 11:37:09 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/12/03/how-to-handle-large-amounts-of-data-quickly-and-easily/#comment-1160</guid>
					<description>Hey Can you please give me the sample source code for this.</description>
		<content:encoded><![CDATA[<p>Hey Can you please give me the sample source code for this.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
