I have a table on which rows are inserted on hourly basis. The row contains id, installation, product_id and hit_allowed. all of them were mediumint in the beginning. but few days back id reached it limit and I had to change the datatype to bigint.
But since then the script from which these rows are populated, it has stopped populating product_id. No changes in the script were made. Can anyone tell me if I will have to change the datatype for it too ?
"db_name.pb_stat_rule.product_id","0","16777215","1","8","3346985","1148373","26621.3943","45543.8722","MEDIUMINT(8) UNSIGNED"This is the output of the query – vinny Jun 13 '12 at 18:43MEDIUMINT UNSIGNED. The max is 16777215. That means it cannot go further. You must change it to INT UNSIGNED. – RolandoMySQLDBA Jun 13 '12 at 18:52idwas a primary key andproduct_idis not, the maximum value thats in the column is 394874. So, how would it affect it ? There is another column namedinstallationwhich is still populating the data ! Thanks for a quick reply – vinny Jun 13 '12 at 19:04