1
|
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
2
|
| Status |
|
3
|
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
4
|
|
|
5
|
=====================================
|
6
|
090225 9:30:05 INNODB MONITOR OUTPUT
|
7
|
=====================================
|
8
|
Per second averages calculated from the last 11 seconds
|
9
|
----------
|
10
|
SEMAPHORES
|
11
|
----------
|
12
|
OS WAIT ARRAY INFO: reservation count 64, signal count 64
|
13
|
Mutex spin waits 0, rounds 870, OS waits 1
|
14
|
RW-shared spins 171, OS waits 13; RW-excl spins 66, OS waits 50
|
15
|
------------------------
|
16
|
LATEST DETECTED DEADLOCK
|
17
|
------------------------
|
18
|
090224 20:36:24
|
19
|
*** (1) TRANSACTION:
|
20
|
TRANSACTION 0 10412, ACTIVE 0 sec, process no 19408, OS thread id 3032349584 inserting
|
21
|
mysql tables in use 1, locked 1
|
22
|
LOCK WAIT 3 lock struct(s), heap size 320, undo log entries 1
|
23
|
MySQL thread id 5, query id 20932 localhost root update
|
24
|
INSERT INTO `changesets` (`commit_date`, `committed_on`, `comments`, `revision`, `scmid`, `user_id`, `repository_id`, `committer`) VALUES('2007-10-26 20:29:48', '2007-10-26 20:29:48', 'test.log', '601', NULL, NULL, 1, 'tanaka')
|
25
|
*** (1) WAITING FOR THIS LOCK TO BE GRANTED:
|
26
|
RECORD LOCKS space id 0 page no 281 n bits 944 index `changesets_repos_rev` of table `redmine/changesets` trx id 0 10412 lock mode S waiting
|
27
|
Record lock, heap no 278 PHYSICAL RECORD: n_fields 3; compact format; info bits 0
|
28
|
0: len 4; hex 80000001; asc ;; 1: len 3; hex 363031; asc 601;; 2: len 4; hex 80000259; asc Y;;
|
29
|
|
30
|
*** (2) TRANSACTION:
|
31
|
TRANSACTION 0 10411, ACTIVE 29 sec, process no 19408, OS thread id 3032550288 setting auto-inc lock
|
32
|
mysql tables in use 1, locked 1
|
33
|
4 lock struct(s), heap size 1024, undo log entries 2130
|
34
|
MySQL thread id 4, query id 20970 localhost root update
|
35
|
INSERT INTO `changesets` (`commit_date`, `committed_on`, `comments`, `revision`, `scmid`, `user_id`, `repository_id`, `committer`) VALUES('2007-10-30 13:50:20', '2007-10-30 13:50:20', 'add', '674', NULL, NULL, 1, 'suzuki')
|
36
|
*** (2) HOLDS THE LOCK(S):
|
37
|
RECORD LOCKS space id 0 page no 281 n bits 944 index `changesets_repos_rev` of table `redmine/changesets` trx id 0 10411 lock_mode X locks rec but not gap
|
38
|
Record lock, heap no 278 PHYSICAL RECORD: n_fields 3; compact format; info bits 0
|
39
|
0: len 4; hex 80000001; asc ;; 1: len 3; hex 363031; asc 601;; 2: len 4; hex 80000259; asc Y;;
|
40
|
|
41
|
*** (2) WAITING FOR THIS LOCK TO BE GRANTED:
|
42
|
TABLE LOCK table `redmine/changesets` trx id 0 10411 lock mode AUTO-INC waiting
|
43
|
*** WE ROLL BACK TRANSACTION (1)
|
44
|
------------
|
45
|
TRANSACTIONS
|
46
|
------------
|
47
|
Trx id counter 0 10455
|
48
|
Purge done for trx's n:o < 0 10400 undo n:o < 0 0
|
49
|
History list length 2
|
50
|
Total number of lock structs in row lock hash table 0
|
51
|
LIST OF TRANSACTIONS FOR EACH SESSION:
|
52
|
---TRANSACTION 0 0, not started, process no 19408, OS thread id 3032750992
|
53
|
MySQL thread id 6, query id 166588 localhost root
|
54
|
show innodb status
|
55
|
--------
|
56
|
FILE I/O
|
57
|
--------
|
58
|
I/O thread 0 state: waiting for i/o request (insert buffer thread)
|
59
|
I/O thread 1 state: waiting for i/o request (log thread)
|
60
|
I/O thread 2 state: waiting for i/o request (read thread)
|
61
|
I/O thread 3 state: waiting for i/o request (write thread)
|
62
|
Pending normal aio reads: 0, aio writes: 0,
|
63
|
ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
|
64
|
Pending flushes (fsync) log: 0; buffer pool: 0
|
65
|
436 OS file reads, 3839 OS file writes, 2169 OS fsyncs
|
66
|
0.00 reads/s, 0 avg bytes/read, 0.00 writes/s, 0.00 fsyncs/s
|
67
|
-------------------------------------
|
68
|
INSERT BUFFER AND ADAPTIVE HASH INDEX
|
69
|
-------------------------------------
|
70
|
Ibuf: size 1, free list len 0, seg size 2,
|
71
|
0 inserts, 0 merged recs, 0 merges
|
72
|
Hash table size 34679, used cells 6367, node heap has 8 buffer(s)
|
73
|
0.00 hash searches/s, 0.00 non-hash searches/s
|
74
|
---
|
75
|
LOG
|
76
|
---
|
77
|
Log sequence number 0 123940149
|
78
|
Log flushed up to 0 123940149
|
79
|
Last checkpoint at 0 123940149
|
80
|
0 pending log writes, 0 pending chkp writes
|
81
|
1710 log i/o's done, 0.00 log i/o's/second
|
82
|
----------------------
|
83
|
BUFFER POOL AND MEMORY
|
84
|
----------------------
|
85
|
Total memory allocated 17581092; in additional pool allocated 1048576
|
86
|
Buffer pool size 512
|
87
|
Free buffers 0
|
88
|
Database pages 504
|
89
|
Modified db pages 0
|
90
|
Pending reads 0
|
91
|
Pending writes: LRU 0, flush list 0, single page 0
|
92
|
Pages read 564, created 1045, written 3826
|
93
|
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
|
94
|
No buffer pool page gets since the last printout
|
95
|
--------------
|
96
|
ROW OPERATIONS
|
97
|
--------------
|
98
|
0 queries inside InnoDB, 0 queries in queue
|
99
|
1 read views open inside InnoDB
|
100
|
Main thread process no. 19408, id 2996902800, state: waiting for server activity
|
101
|
Number of rows inserted 124176, updated 1, deleted 43736, read 24734470
|
102
|
0.00 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
|
103
|
----------------------------
|
104
|
END OF INNODB MONITOR OUTPUT
|
105
|
============================
|
106
|
|
|
107
|
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
108
|
1 row in set, 1 warning (0.00 sec)
|