Page 1 of 1

Dataset Size

Posted: Thu Oct 16, 2008 2:41 am
by shaimil
I'm loading 4 million rows from oracle into a dataset. I find that the size of the dataset files tends to be 10s of Gigs but when I load the same data into a loojup fileset of simple a fileset its Megs.

The load to the dataset aborts due to a space issue, but I estimate that it would require 80gb for the 4 million rows.

Any explanation would be appreciated.

Posted: Thu Oct 16, 2008 3:45 am
by shaimil
I ran the test again but with only 2 cols (4k) and the load is much quicker, although I still ended up with 2 2Gb files.

The file I need to load has record length of 44k (varchar).

Does a dataset treat a varchar as a char, because in most cases my actual record lengths are no where near 44k.

Posted: Thu Oct 16, 2008 5:33 am
by ArndW
Are your VarChar() columns bounded or unbounded? Using unbounded strings will save space, at a cost of performance.