How many records can I store in 5 MB of PostgreSQL on Heroku?
问题 I'm going to store records in a single table with 2 fields: id -> 4 characters password_hash -> 64 characters How many records like the one above will I be able to store in a 5mb PostgreSQL on Heroku? P.S.: given a single table with x columns and a length of y - how can I calculate the space it will take in a database? 回答1: Disk space occupied Calculating the space on disk is not trivial. You have to take into account: The overhead per table (small, basically the entries in the system catalog