You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, In documentation of CRUD section, there is a notation that we should define vid_type, which could be FIXED_STRING(N). My question is about N parameter. What happens, when we define for example N = 10 then we put a key with length N = 2? Are those extra 8 bytes allocated and we have waste of disk usage or they will be ignored and just (2 * size of string) is allocated?
The text was updated successfully, but these errors were encountered:
Define N=10, if the length is less than 10, it will automatically fill in'\0'. Allocate space for '\0', but do not count the length of the string. Same as char(N) in SQL
Hi, In documentation of CRUD section, there is a notation that we should define
vid_type
, which could be FIXED_STRING(N). My question is aboutN
parameter. What happens, when we define for example N = 10 then we put a key with length N = 2? Are those extra 8 bytes allocated and we have waste of disk usage or they will be ignored and just (2 * size of string) is allocated?The text was updated successfully, but these errors were encountered: