google-code-export / mysql-cacti-templates

Automatically exported from code.google.com/p/mysql-cacti-templates
GNU General Public License v2.0
1 stars 0 forks source link

Calculate binlog space without a mysql query #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
binlog space used can be counted with just ordinary PHP '+' operator.  The
result will be an inexact floating-point number, but who cares about a byte
here or there.  The result must be formatted as an integer with
sprintf('%u', $result).

Original issue reported on code.google.com by baron.schwartz on 17 Nov 2008 at 7:23

GoogleCodeExporter commented 9 years ago
Fixed in r162 and r163

Original comment by baron.schwartz on 18 Nov 2008 at 2:03