Sunteți pe pagina 1din 7

| InnoDB | |

=====================================
2021-01-20 17:56:41 0x7f878d2a2700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 33 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 280993 srv_active, 0 srv_shutdown, 322915 srv_idle
srv_master_thread log flush and writes: 603867
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 109492
OS WAIT ARRAY INFO: signal count 149511
RW-shared spins 0, rounds 60900, OS waits 22608
RW-excl spins 0, rounds 432665, OS waits 11655
RW-sx spins 800, rounds 19026, OS waits 485
Spin rounds per wait: 60900.00 RW-shared, 432665.00 RW-excl, 23.78 RW-sx
------------------------
LATEST FOREIGN KEY ERROR
------------------------
2021-01-20 14:55:14 0x7f87675db700 Transaction:
TRANSACTION 425345924, ACTIVE 83 sec inserting
mysql tables in use 1, locked 1
4 lock struct(s), heap size 1136, 2 row lock(s), undo log entries 1
MySQL thread id 171513, OS thread handle 140219531507456, query id 116689078
172.18.1.100 pe_demo_pse20 update
insert into
invoice_lines(invoice_id,numOrden,codigoPlu,codigoPluSunat,codigoGS1,unidadMedida,d
escripcion,cantidad,valorUnitario,valorReferencialUnitario,precioVentaUnitario,valo
rVenta,numPlacaVehiculo,montoTotalImpuestos,detallePDF,created_at,updated_at)
values (154627,113,'0444409360940',0,'','NIU','6PK 940 FAJAS BANDO RIB
ACE',2.0000,4.8668000000,0.0000,5.7408000000,9.73,'',1.75,'','2021-01-20
09:53:51','2021-01-20 09:53:51')
Foreign key constraint fails for table `pedemopse`.`invoice_lines`:
,
CONSTRAINT `invoice_lines_invoice_id_foreign` FOREIGN KEY (`invoice_id`)
REFERENCES `invoices` (`id`) ON DELETE CASCADE
Trying to add in child table, in index invoice_lines_invoice_id_foreign tuple:
DATA TUPLE: 2 fields;
0: len 4; hex 80025c03; asc \ ;;
1: len 4; hex 80041492; asc ;;

But in parent table `pedemopse`.`invoices`, in index PRIMARY,


the closest match we can find is record:
PHYSICAL RECORD: n_fields 51; compact format; info bits 0
0: len 4; hex 80025c01; asc \ ;;
1: len 6; hex 000019446647; asc DfG;;
2: len 7; hex 3f000040112f07; asc ? @ / ;;
3: len 4; hex 80000071; asc q;;
4: len 11; hex 3535353535353535353535; asc 55555555555;;
5: len 5; hex 99a8a6958b; asc ;;
6: len 10; hex 323032312d30312d3139; asc 2021-01-19;;
7: len 4; hex 46343434; asc F444;;
8: len 1; hex 38; asc 8;;
9: len 6; hex 463434342d38; asc F444-8;;
10: len 4; hex 30313031; asc 0101;;
11: SQL NULL;
12: len 20; hex 5061727175657369746f7326233033393b736163; asc
Parquesitos'sac;;
13: len 20; hex 5061727175657369746f7326233033393b736163; asc
Parquesitos'sac;;
14: len 4; hex 30303030; asc 0000;;
15: len 5; hex 3139393236; asc 19926;;
16: len 0; hex ; asc ;;
17: len 11; hex 434841434841504f594153; asc CHACHAPOYAS;;
18: len 11; hex 434841434841504f594153; asc CHACHAPOYAS;;
19: len 21; hex 444550415254414d454e544f20414d415a4f4e4153; asc DEPARTAMENTO
AMAZONAS;;
20: len 2; hex 5045; asc PE;;
21: len 6; hex 303430313233; asc 040123;;
22: len 4; hex 80004dd6; asc M ;;
23: len 11; hex 726563657063696f6e5f35; asc recepcion_5;;
24: len 1; hex 36; asc 6;;
25: len 11; hex 3230363037313930343937; asc 20607190497;;
26: len 30; hex c2a6434841434841504f594153c2a6434841434841504f594153c2a64445; asc
CHACHAPOYAS CHACHAPOYAS DE; (total 95 bytes);
27: len 0; hex ; asc ;;
28: len 27; hex 726563657063696f6e66652e7466686b6140676d61696c2e636f6d; asc
recepcionfe.tfhka@gmail.com;;
29: len 2; hex 5349; asc SI;;
30: len 1; hex 31; asc 1;;
31: len 10; hex 323032312d30312d3139; asc 2021-01-19;;
32: len 10; hex 323032312d30312d3139; asc 2021-01-19;;
33: len 3; hex 50454e; asc PEN;;
34: len 7; hex 80000000002b5c; asc +\;;
35: len 28; hex 6d5849646a4d49393856717833635a626a78677a6e6643524e39673d; asc
mXIdjMI98Vqx3cZbjxgznfCRN9g=;;
36: len 30; hex 6971614c4e65624a7437776a514e514d66562b345a76355748684d586658; asc
iqaLNebJt7wjQNQMfV+4Zv5WHhMXfX; (total 344 bytes);
37: len 4; hex 80000000; asc ;;
38: len 4; hex 80000000; asc ;;
39: len 0; hex ; asc ;;
40: len 4; hex 80000000; asc ;;
41: len 30; hex 38353831633862392d623532622d343838302d386531362d666537393563; asc
8581c8b9-b52b-4880-8e16-fe795c; (total 36 bytes);
42: len 8; hex 800000000000013b; asc ;;;
43: len 0; hex ; asc ;;
44: len 4; hex 80000000; asc ;;
45: len 4; hex 80000001; asc ;;
46: len 4; hex 60072259; asc ` "Y;;
47: len 4; hex 60072259; asc ` "Y;;
48: len 0; hex ; asc ;;
49: len 0; hex ; asc ;;
50: len 0; hex ; asc ;;

------------
TRANSACTIONS
------------
Trx id counter 425622341
Purge done for trx's n:o < 425622340 undo n:o < 0 state: running but idle
History list length 38
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 421698087383024, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087381832, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087366336, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087365144, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087384216, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087390176, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087380640, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087379448, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087378256, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087377064, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087374680, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087373488, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087372296, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087369912, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087387792, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087385408, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087391368, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087404480, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087368720, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087375872, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087371104, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087367528, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087363952, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087362760, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087361568, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087360376, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087359184, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087357992, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
---TRANSACTION 421698087356800, not started
0 lock struct(s), heap size 1136, 0 row lock(s)
--------
FILE I/O
--------
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
I/O thread 1 state: waiting for completed aio requests (log thread)
I/O thread 2 state: waiting for completed aio requests (read thread)
I/O thread 3 state: waiting for completed aio requests (read thread)
I/O thread 4 state: waiting for completed aio requests (read thread)
I/O thread 5 state: waiting for completed aio requests (read thread)
I/O thread 6 state: waiting for completed aio requests (write thread)
I/O thread 7 state: waiting for completed aio requests (write thread)
I/O thread 8 state: waiting for completed aio requests (write thread)
I/O thread 9 state: waiting for completed aio requests (write thread)
Pending normal aio reads: [0, 0, 0, 0] , aio writes: [0, 0, 0, 0] ,
ibuf aio reads:, log i/o's:, sync i/o's:
Pending flushes (fsync) log: 0; buffer pool: 0
2174222 OS file reads, 4688265 OS file writes, 1936090 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 10.06 writes/s, 10.06 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 29816, seg size 29818, 740 merges
merged operations:
insert 580, delete mark 15177, delete 2597
discarded operations:
insert 0, delete mark 0, delete 0
Hash table size 553193, node heap has 112 buffer(s)
Hash table size 553193, node heap has 443 buffer(s)
Hash table size 553193, node heap has 5 buffer(s)
Hash table size 553193, node heap has 8 buffer(s)
Hash table size 553193, node heap has 15 buffer(s)
Hash table size 553193, node heap has 5 buffer(s)
Hash table size 553193, node heap has 12 buffer(s)
Hash table size 553193, node heap has 208 buffer(s)
2427.35 hash searches/s, 1708.68 non-hash searches/s
---
LOG
---
Log sequence number 1481163783891
Log flushed up to 1481163783891
Pages flushed up to 1481163225329
Last checkpoint at 1481163225329
Max checkpoint age 651587052
Checkpoint age target 631224957
Modified age 558562
Checkpoint age 558562
0 pending log flushes, 0 pending chkp writes
1751448 log i/o's done, 10.06 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total large memory allocated 2235564032
Dictionary memory allocated 3120972
Internal hash tables (constant factor + variable factor)
Adaptive hash index 48676288 (35404352 + 13271936)
Page hash 277384 (buffer pool 0 only)
Dictionary cache 11972060 (8851088 + 3120972)
File system 1055064 (812272 + 242792)
Lock system 5346360 (5313416 + 32944)
Recovery system 0 (0 + 0)
Buffer pool size 131056
Buffer pool size, bytes 2147221504
Free buffers 8192
Database pages 122056
Old database pages 44892
Modified db pages 396
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 325460, not young 56341141
0.00 youngs/s, 0.00 non-youngs/s
Pages read 2173872, created 725820, written 2834924
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 122056, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
----------------------
INDIVIDUAL BUFFER POOL INFO
----------------------
---BUFFER POOL 0
Buffer pool size 16382
Buffer pool size, bytes 268402688
Free buffers 1024
Database pages 15258
Old database pages 5612
Modified db pages 144
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 38278, not young 6919434
0.00 youngs/s, 0.00 non-youngs/s
Pages read 281977, created 89608, written 418435
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 15258, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 1
Buffer pool size 16382
Buffer pool size, bytes 268402688
Free buffers 1024
Database pages 15255
Old database pages 5611
Modified db pages 7
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 45094, not young 6972794
0.00 youngs/s, 0.00 non-youngs/s
Pages read 265154, created 90838, written 294374
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 15255, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 2
Buffer pool size 16382
Buffer pool size, bytes 268402688
Free buffers 1024
Database pages 15254
Old database pages 5610
Modified db pages 0
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 40644, not young 7445562
0.00 youngs/s, 0.00 non-youngs/s
Pages read 279002, created 90479, written 180290
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 15254, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 3
Buffer pool size 16382
Buffer pool size, bytes 268402688
Free buffers 1024
Database pages 15258
Old database pages 5612
Modified db pages 63
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 45928, not young 6994222
0.00 youngs/s, 0.00 non-youngs/s
Pages read 261293, created 91469, written 303702
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 15258, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 4
Buffer pool size 16382
Buffer pool size, bytes 268402688
Free buffers 1024
Database pages 15259
Old database pages 5612
Modified db pages 38
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 40117, not young 7516814
0.00 youngs/s, 0.00 non-youngs/s
Pages read 280058, created 91059, written 218216
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 15259, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 5
Buffer pool size 16382
Buffer pool size, bytes 268402688
Free buffers 1024
Database pages 15260
Old database pages 5613
Modified db pages 31
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 33167, not young 6779319
0.00 youngs/s, 0.00 non-youngs/s
Pages read 274369, created 89518, written 722116
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 15260, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 6
Buffer pool size 16382
Buffer pool size, bytes 268402688
Free buffers 1024
Database pages 15257
Old database pages 5611
Modified db pages 60
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 42756, not young 6953350
0.00 youngs/s, 0.00 non-youngs/s
Pages read 263749, created 91598, written 357740
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 15257, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
---BUFFER POOL 7
Buffer pool size 16382
Buffer pool size, bytes 268402688
Free buffers 1024
Database pages 15255
Old database pages 5611
Modified db pages 53
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 39476, not young 6759646
0.00 youngs/s, 0.00 non-youngs/s
Pages read 268270, created 91251, written 340051
0.00 reads/s, 0.00 creates/s, 0.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 15255, unzip_LRU len: 0
I/O sum[0]:cur[0], unzip sum[0]:cur[0]
--------------
ROW OPERATIONS
--------------
0 queries inside InnoDB, 0 queries in queue
0 read views open inside InnoDB
0 RW transactions active inside InnoDB
Process ID=75993, Main thread ID=140220783470336, state: sleeping
Number of rows inserted 172914108, updated 1671898, deleted 17317, read 4260975068
216.57 inserts/s, 10.06 updates/s, 0.00 deletes/s, 6592.29 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================
|

S-ar putea să vă placă și