MariaDB’s INT

Reminder to self: INT(3) DOES NOT mean the database will manage a smaller amount of memory or storage than INT(255).

No, it doesn’t work that way.

This is how it works.

So instead of using INT(3) to hold somebody’s age data, we should use TINYINT(3).

source: https://planetscale.com/learn/courses/mysql-for-developers/