MySQL Forums
Forum List  »  InnoDB

Re: log sequence number
Posted by: Aftab Khan
Date: April 16, 2009 04:17AM

you can find log growth rate, try this

mysql> pager grep sequence;
PAGER set to 'grep sequence'

mysql> show innodb status\G select sleep(60); show innodb status\G
Log sequence number 225 829924781
1 row in set, 1 warning (0.57 sec)

1 row in set (1 min 0.02 sec)

Log sequence number 225 830007918
1 row in set, 1 warning (0.58 sec)

mysql> select ( 830007918-829782115)/1024/1024 AS "MByte/min";
1 row in set (0.00 sec)

mysql> pager
Default pager wasn't set, using stdout.

mysql> select ( 830007918-829782115)/1024/1024 AS "MByte/min";
+------------+
| MByte/min |
+------------+
| 0.21534252 |
+------------+
1 row in set (0.00 sec)

Options: ReplyQuote


Subject
Views
Written By
Posted
3612
April 15, 2009 01:01PM
Re: log sequence number
4330
April 16, 2009 04:17AM
2192
April 16, 2009 07:23AM
2182
April 16, 2009 09:29AM
2077
April 17, 2009 05:43AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.