Syntax
BIT_LENGTH(str)
Purpose
You can call this function to return the length of the str string in bits.
Examples
obclient> SELECT BIT_LENGTH('oceanbase');
+-------------------------+
BIT_LENGTH('oceanbase')
+-------------------------+
72
+-------------------------+
1 row in set (0.00 sec)