I have created table as below.
With the reference of this link. Calculating size of datatypes used for this table
Aim: for this calculation is to predict the size of table for n-users while creating or implementing the table.
Queries: Q.1)
Memory size of Unsigned int min: 0 max: 4294967295 = 4 bytes.
By allocating int(11) means max: 4294967295 - 11 =4294967281(remaining size)?
or
By allocating int(11) means 4 * 11 =44 bytes?
Q.2)
consider to create following datatypes used.
int(11) =4 bytes
Var char(2) =6 bytes(L+2 bytes(L is string value in byte) consider “amir” so L value is 4 byte)
Date =3 bytes
-----------------------
Total =13 bytes
-----------------------
Is above calculation is correct?