The main integer fields in Django are the following,
Integer Field
An integer. Values from -2147483648 to 2147483647 are safe in all databases supported by Django. The default form widget for this field is a NumberInput when localize is False or TextInput otherwise.
SmallIntegerField
Like an IntegerField, but only allows values under a certain (database-dependent) point. Values from -32768 to 32767 are safe in all databases supported by Django.
BigIntegerField
A 64 bit integer, much like an IntegerField except that it is guaranteed to fit numbers from -9223372036854775808 to 9223372036854775807. The default form widget for this field is a TextInput.
If I have a number, 33432
(some number that fits in all of the fields), If I choose to store the same number in all of the below fields, will there be an excess use of memory with both the database or at the runtime?
number0 = models.SmallIntegerField()
number1 = models.IntegerField()
number2 = models.BigIntegerField()
My database is PostgreSQL.