How much database disk space is required to store data from a typical text file?
PostgreSQL database may require up to five times the disk space to store data from a text file. As an example, consider a file of 100,000 lines with an integer and text description on each line. Suppose the text string avergages twenty bytes in length. The flat file would be 2.8 MB. The size of the PostgreSQL database file containing this data can be estimated as 6.