← Back to team overview

maria-discuss team mailing list archive

New Question: Determining size of a row in bytes

 

Hello,

A new question has been asked in "MariaDB Community" by shortwave. Please answer it at http://mariadb.com/kb/en/determining-size-of-a-row-in-bytes/ as the person asking the question may not be subscribed to the mailing list.

--------------------------------
I have a small but essential requirement that is making me seriously consider a shift away from MySQL and I am wondering if MariaDB is a viable alternative.

I need to measure the size of a row in bytes (easily).

Specifically, a table consists of rows belonging to several users. I need to know how much disk space is consumed by each of those users.

The only solution I can find in MySQL documentation/forums are inefficient and inaccurate approximations.

Does MariaDB provide some way of doing this easily? I have to do it on multiple tables which will probably change, so I don't want to build maintenance overheads in. Also obviously I don't want too much of a performance hit.
--------------------------------

To view or answer this question please visit: http://mariadb.com/kb/en/determining-size-of-a-row-in-bytes/