I use int(255) in mysql as my id. Is this long enough? If I got about 1,000,000 records....Thank you.
The INT in mysql use 4 byte storage, and range from -2147483648 to 2147483647. If you use unsigned int, the range is 0 to 4294967295.
INT
mysql