Click here to Skip to main content
15,915,702 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to store text files for better reading and lesser disk space Pin
Dave Kerr7-Feb-11 22:21
mentorDave Kerr7-Feb-11 22:21 
AnswerRe: How to store text files for better reading and lesser disk space Pin
Luc Pattyn7-Feb-11 22:33
sitebuilderLuc Pattyn7-Feb-11 22:33 
GeneralRe: How to store text files for better reading and lesser disk space Pin
Anurag Gandhi8-Feb-11 0:08
professionalAnurag Gandhi8-Feb-11 0:08 
QuestionRe: How to store text files for better reading and lesser disk space Pin
Luc Pattyn8-Feb-11 0:14
sitebuilderLuc Pattyn8-Feb-11 0:14 
AnswerRe: How to store text files for better reading and lesser disk space Pin
Anurag Gandhi8-Feb-11 0:53
professionalAnurag Gandhi8-Feb-11 0:53 
GeneralRe: How to store text files for better reading and lesser disk space Pin
Luc Pattyn8-Feb-11 1:07
sitebuilderLuc Pattyn8-Feb-11 1:07 
GeneralRe: How to store text files for better reading and lesser disk space Pin
Anurag Gandhi8-Feb-11 2:53
professionalAnurag Gandhi8-Feb-11 2:53 
GeneralRe: How to store text files for better reading and lesser disk space Pin
OriginalGriff8-Feb-11 1:26
mveOriginalGriff8-Feb-11 1:26 
I have to agree with Luc.

ZIP is probably the smallest you will practically get it (or RAR - I won't argue).
A database will quite likely increase the space taken up, as it stores all sorts of extra information over and above your text (table definitions, row ids, etc.).

However, a database may improve the raw disk space usage compared to a lot of separate files, depending on your HDD format. In some formats, a file must occupy complete clusters, so a lot of files mean a lot of partially empty clusters. This is not the case with database or zip.

MySQL does support a COMPRESS function that shrinks a text string, I don't think MsSql does (I could be wrong). However, it required a ZIP library to be loaded so it won't save you anything over using ZIP directly!
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."

AnswerRe: How to store text files for better reading and lesser disk space Pin
Thomas Krojer7-Feb-11 22:34
Thomas Krojer7-Feb-11 22:34 
GeneralRe: How to store text files for better reading and lesser disk space Pin
Anurag Gandhi8-Feb-11 0:03
professionalAnurag Gandhi8-Feb-11 0:03 
GeneralRe: How to store text files for better reading and lesser disk space Pin
Thomas Krojer8-Feb-11 1:20
Thomas Krojer8-Feb-11 1:20 
AnswerRe: How to store text files for better reading and lesser disk space Pin
RobCroll8-Feb-11 11:17
RobCroll8-Feb-11 11:17 
QuestionHow to resume downloading of file. Pin
Pranit Kothari7-Feb-11 21:19
Pranit Kothari7-Feb-11 21:19 
AnswerRe: How to resume downloading of file. Pin
Abhinav S7-Feb-11 21:42
Abhinav S7-Feb-11 21:42 
AnswerRe: How to resume downloading of file. Pin
RaviRanjanKr9-Feb-11 3:19
professionalRaviRanjanKr9-Feb-11 3:19 
QuestionFinding Attached Portable device to PC Pin
Pranit Kothari7-Feb-11 19:42
Pranit Kothari7-Feb-11 19:42 
QuestionWhat is a context? Pin
Super Lloyd7-Feb-11 12:24
Super Lloyd7-Feb-11 12:24 
AnswerRe: What is a context? Pin
Henry Minute7-Feb-11 14:49
Henry Minute7-Feb-11 14:49 
GeneralRe: What is a context? Pin
Super Lloyd7-Feb-11 15:09
Super Lloyd7-Feb-11 15:09 
Questionhow to access calendar Pin
netJP12L7-Feb-11 9:31
netJP12L7-Feb-11 9:31 
AnswerRe: how to access calendar Pin
Henry Minute7-Feb-11 14:40
Henry Minute7-Feb-11 14:40 
QuestionProblem with panels Pin
nighttrain_7-Feb-11 7:41
nighttrain_7-Feb-11 7:41 
AnswerRe: Problem with panels Pin
Luc Pattyn7-Feb-11 8:08
sitebuilderLuc Pattyn7-Feb-11 8:08 
GeneralRe: Problem with panels Pin
OriginalGriff7-Feb-11 8:17
mveOriginalGriff7-Feb-11 8:17 
AnswerRe: Problem with panels Pin
Luc Pattyn7-Feb-11 8:40
sitebuilderLuc Pattyn7-Feb-11 8:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.