I am creating a database in where I will need to give items a unique value. I was thinking about using BIGINT while padding left with 0s as I auto_increment.
Does it take longer to search for the number 1 id vs 0000000001 or is the same? I think it would be the same as each column is compared with whatever the given number was.
Also I understand that using a BIGINT takes up more room but being that the item ids could get bigger than the approx to 2 billion limit on an INT I decided to use BIGINT. Is this a poor way of hanlding this situation or is there an industry standard I should be following?