Int data type storage always 4 bytes?

560 Views Asked by At

Quick question does using an INT in MySQL always result in 4 bytes of storage no matter the value, e.g. Does the value of 5 use the same amount of bytes as 2000000?

Or is the data type storage a maximum storage?

1

There are 1 best solutions below

10
On BEST ANSWER

I am pretty sure the size does not depend on the value.