sign in
|
add example
|
see also:
examples
configs
questions
[
new example
]
copy
6
1
calculate and print size of binary logs
du -sm mysql-bin* | awk '{SUM +=$1} END {print SUM}'
mysqlbinlog,
mysql,
binlog,
binary
logs
5 months, 1 week ago
ShahidMahmud
3 |
copy
0
1
queries have been logged to update the cache tables:
mysqlbinlog mysql-bin.000099 | grep -ci 'update cache'
find in mysql binary logs how many update queries were executed;
binlog,
binary
log,
update
cache,
mysqlbinlog
5 months, 1 week ago
ShahidMahmud
3 |
copy
0
0
byte-count / size of update cache queries in binlog
mysqlbinlog mysql-bin.000010 | grep -i 'update cache' | wc -c
byte-count for queries containing the words 'UPDATE cache'. Shows size of each binlog file dedicated to the 'UPDATE cache' queries.
mysqlbinlog,
mysql,
binlog,
binary
log,
cache
size
5 months, 1 week ago
ShahidMahmud
3 |
[
new config
]
[
ask question
]