Add CDB_UserDataSize() sql function, use from user model