title: Postgres: data types - How to store uint64 in postresql
body: <p>Bigint in postgresql is 8 byte integer. which is has half the range as uint64 (as one bit is used to sign the integer)</p>
  
  <p>I need to do a lot of aggregation on the column and I am under the impression that aggregation on NUMERIC type is slow in comparison to integer types.</p>
  
  <p>How should I optimize my storage in this case?</p>