The EXPLAIN option SERIALIZE reports the cost of converting data for network transmission.
EXPLAIN
SERIALIZE