A MySQL server is running on 16 core machine, and update is very slow, some takes more than one minute to finish. cpu usage is 60%, I found a lot of "waiting in InnoDB queue" in innodb status. I have changed innodb_thread_concurrency from 8 to 16, but it does not help.
Please help with this problem, I can provide more info.
*************************** 1. row ***************************
Type: InnoDB
Name:
Status:
=====================================
110929 22:51:52 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 42 seconds
----------
SEMAPHORES
----------
OS WAIT ARRAY INFO: reservation count 835267765, signal count 416064490
--Thread 1258191168 has waited at lock/lock0lock.c line 5179 for 0.00 seconds the semaphore:
Mutex at 0x2aab4b0c62b8 created file srv/srv0srv.c line 886, lock var 1
waiters flag 0
--Thread 1245509952 has waited at lock/lock0lock.c line 3743 for 0.00 seconds the semaphore:
Mutex at 0x2aab4b0c62b8 created file srv/srv0srv.c line 886, lock var 1
waiters flag 0
wait has ended
Mutex spin waits 0, rounds 36729313788, OS waits 676329232
RW-shared spins 1546, OS waits 698; RW-excl spins 517, OS waits 350
------------
TRANSACTIONS
------------
Trx id counter 0 645264274
Purge done for trx's n:o < 0 645263192 undo n:o < 0 0
History list length 303
... truncated...
dclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263912, ACTIVE 87 sec, process no 27699, OS thread id 1260304704 waiting in InnoDB queue
mysql tables in use 1, locked 1
503 lock struct(s), heap size 276464, 0 row lock(s)
MySQL thread id 676, query id 1688581 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263873, ACTIVE 100 sec, process no 27699, OS thread id 1379719488 waiting in InnoDB queue
mysql tables in use 1, locked 1
578 lock struct(s), heap size 325616, 0 row lock(s)
MySQL thread id 474, query id 1687584 10.210.101.102 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263867, ACTIVE 102 sec, process no 27699, OS thread id 1237584192 waiting in InnoDB queue
mysql tables in use 1, locked 1
590 lock struct(s), heap size 325616, 1 row lock(s)
MySQL thread id 772, query id 1687549 10.210.101.102 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263865, ACTIVE 102 sec, process no 27699, OS thread id 1303103808 waiting in InnoDB queue
mysql tables in use 1, locked 1
590 lock struct(s), heap size 325616, 1 row lock(s)
MySQL thread id 926, query id 1687532 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263864, ACTIVE 102 sec, process no 27699, OS thread id 1279854912 waiting in InnoDB queue
mysql tables in use 1, locked 1
592 lock struct(s), heap size 325616, 0 row lock(s)
MySQL thread id 285, query id 1687525 10.210.101.120 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263859, ACTIVE 103 sec, process no 27699, OS thread id 1258191168 unlock_row, thread declared inside InnoDB 397
mysql tables in use 1, locked 1
593 lock struct(s), heap size 325616, 1 row lock(s)
MySQL thread id 790, query id 1687437 10.210.101.120 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263856, ACTIVE 103 sec, process no 27699, OS thread id 1280383296 waiting in InnoDB queue
mysql tables in use 1, locked 1
595 lock struct(s), heap size 325616, 0 row lock(s)
MySQL thread id 694, query id 1687353 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263855, ACTIVE 103 sec, process no 27699, OS thread id 1393985856 waiting in InnoDB queue
mysql tables in use 1, locked 1
595 lock struct(s), heap size 325616, 0 row lock(s)
MySQL thread id 628, query id 1687346 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263850, ACTIVE 103 sec, process no 27699, OS thread id 1393457472 waiting in InnoDB queue
mysql tables in use 1, locked 1
598 lock struct(s), heap size 325616, 0 row lock(s)
MySQL thread id 942, query id 1687332 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263837, ACTIVE 106 sec, process no 27699, OS thread id 1275099456 waiting in InnoDB queue
mysql tables in use 1, locked 1
616 lock struct(s), heap size 342000, 0 row lock(s)
MySQL thread id 810, query id 1686943 10.210.101.120 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263830, ACTIVE 107 sec, process no 27699, OS thread id 1298348352 waiting in InnoDB queue
mysql tables in use 1, locked 1
619 lock struct(s), heap size 342000, 0 row lock(s)
MySQL thread id 320, query id 1686902 10.210.101.102 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263804, ACTIVE 109 sec, process no 27699, OS thread id 1206409536 waiting in InnoDB queue
mysql tables in use 1, locked 1
631 lock struct(s), heap size 342000, 0 row lock(s)
MySQL thread id 949, query id 1686703 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263802, ACTIVE 109 sec, process no 27699, OS thread id 1394514240 waiting in InnoDB queue
mysql tables in use 1, locked 1
634 lock struct(s), heap size 342000, 0 row lock(s)
MySQL thread id 914, query id 1686693 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263785, ACTIVE 112 sec, process no 27699, OS thread id 1216448832 waiting in InnoDB queue
mysql tables in use 1, locked 1
652 lock struct(s), heap size 358384, 3 row lock(s)
MySQL thread id 930, query id 1685580 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263784, ACTIVE 112 sec, process no 27699, OS thread id 1329523008 waiting in InnoDB queue
mysql tables in use 1, locked 1
659 lock struct(s), heap size 358384, 7 row lock(s)
MySQL thread id 671, query id 1685570 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263780, ACTIVE 112 sec, process no 27699, OS thread id 1352243520 waiting in InnoDB queue
mysql tables in use 1, locked 1
664 lock struct(s), heap size 358384, 12 row lock(s)
MySQL thread id 422, query id 1685553 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263778, ACTIVE 112 sec, process no 27699, OS thread id 1178405184 waiting in InnoDB queue
mysql tables in use 1, locked 0
MySQL thread id 1058, query id 1685708 10.210.101.117 demo Sending data
select client0_.client_id as client1_5_, client0_.address as address5_, client0_.agreement_datetime as agreement3_5_, client0_.business_model as business4_5_, client0_.city as city5_, client0_.client_category as client6_5_, client0_.client_type as client7_5_, client0_.company as company5_, client0_.corporate_ein as corporate9_5_, client0_.corporate_website as corporate10_5_, client0_.country as country5_, client0_.created_date as created12_5_, client0_.email as email5_, client0_.internal_status_id as internal14_5_, client0_.link_to_corporate_privacy_policy as link15_5_, client0_.modified_date
Trx read view will not see trx with id >= 0 645263786, sees < 0 645262831
---TRANSACTION 0 645263777, ACTIVE 112 sec, process no 27699, OS thread id 1216977216 waiting in InnoDB queue
mysql tables in use 1, locked 0
MySQL thread id 143, query id 1685584 10.210.101.105 demo Sending data
select client0_.client_id as client1_5_, client0_.address as address5_, client0_.agreement_datetime as agreement3_5_, client0_.business_model as business4_5_, client0_.city as city5_, client0_.client_category as client6_5_, client0_.client_type as client7_5_, client0_.company as company5_, client0_.corporate_ein as corporate9_5_, client0_.corporate_website as corporate10_5_, client0_.country as country5_, client0_.created_date as created12_5_, client0_.email as email5_, client0_.internal_status_id as internal14_5_, client0_.link_to_corporate_privacy_policy as link15_5_, client0_.modified_date
Trx read view will not see trx with id >= 0 645263786, sees < 0 645262831
---TRANSACTION 0 645263776, ACTIVE 112 sec, process no 27699, OS thread id 1274571072 waiting in InnoDB queue
mysql tables in use 1, locked 0
MySQL thread id 695, query id 1685583 10.210.101.101 demo Sending data
select client0_.client_id as client1_5_, client0_.address as address5_, client0_.agreement_datetime as agreement3_5_, client0_.business_model as business4_5_, client0_.city as city5_, client0_.client_category as client6_5_, client0_.client_type as client7_5_, client0_.company as company5_, client0_.corporate_ein as corporate9_5_, client0_.corporate_website as corporate10_5_, client0_.country as country5_, client0_.created_date as created12_5_, client0_.email as email5_, client0_.internal_status_id as internal14_5_, client0_.link_to_corporate_privacy_policy as link15_5_, client0_.modified_date
Trx read view will not see trx with id >= 0 645263786, sees < 0 645262831
---TRANSACTION 0 645263775, ACTIVE 112 sec, process no 27699, OS thread id 1286195520 waiting in InnoDB queue
mysql tables in use 1, locked 0
MySQL thread id 907, query id 1685578 10.210.101.117 demo Sending data
select client0_.client_id as client1_5_, client0_.address as address5_, client0_.agreement_datetime as agreement3_5_, client0_.business_model as business4_5_, client0_.city as city5_, client0_.client_category as client6_5_, client0_.client_type as client7_5_, client0_.company as company5_, client0_.corporate_ein as corporate9_5_, client0_.corporate_website as corporate10_5_, client0_.country as country5_, client0_.created_date as created12_5_, client0_.email as email5_, client0_.internal_status_id as internal14_5_, client0_.link_to_corporate_privacy_policy as link15_5_, client0_.modified_date
Trx read view will not see trx with id >= 0 645263786, sees < 0 645262831
---TRANSACTION 0 645263774, ACTIVE 112 sec, process no 27699, OS thread id 1227016512 waiting in InnoDB queue
mysql tables in use 1, locked 0
MySQL thread id 185, query id 1685573 10.210.101.101 demo Sending data
select client0_.client_id as client1_5_, client0_.address as address5_, client0_.agreement_datetime as agreement3_5_, client0_.business_model as business4_5_, client0_.city as city5_, client0_.client_category as client6_5_, client0_.client_type as client7_5_, client0_.company as company5_, client0_.corporate_ein as corporate9_5_, client0_.corporate_website as corporate10_5_, client0_.country as country5_, client0_.created_date as created12_5_, client0_.email as email5_, client0_.internal_status_id as internal14_5_, client0_.link_to_corporate_privacy_policy as link15_5_, client0_.modified_date
Trx read view will not see trx with id >= 0 645263786, sees < 0 645262831
---TRANSACTION 0 645263770, ACTIVE 113 sec, process no 27699, OS thread id 1278269760 waiting in InnoDB queue
mysql tables in use 1, locked 1
658 lock struct(s), heap size 358384, 0 row lock(s)
MySQL thread id 937, query id 1685532 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263749, ACTIVE 118 sec, process no 27699, OS thread id 1273514304 waiting in InnoDB queue
mysql tables in use 1, locked 0
MySQL thread id 809, query id 1685127 10.210.101.120 demo Sending data
select client0_.client_id as client1_5_, client0_.address as address5_, client0_.agreement_datetime as agreement3_5_, client0_.business_model as business4_5_, client0_.city as city5_, client0_.client_category as client6_5_, client0_.client_type as client7_5_, client0_.company as company5_, client0_.corporate_ein as corporate9_5_, client0_.corporate_website as corporate10_5_, client0_.country as country5_, client0_.created_date as created12_5_, client0_.email as email5_, client0_.internal_status_id as internal14_5_, client0_.link_to_corporate_privacy_policy as link15_5_, client0_.modified_date
Trx read view will not see trx with id >= 0 645263752, sees < 0 645262791
---TRANSACTION 0 645263739, ACTIVE 122 sec, process no 27699, OS thread id 1245509952 unlock_row, thread declared inside InnoDB 122
mysql tables in use 1, locked 1
705 lock struct(s), heap size 374768, 1 row lock(s)
MySQL thread id 909, query id 1684741 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263734, ACTIVE 123 sec, process no 27699, OS thread id 1376020800 waiting in InnoDB queue
mysql tables in use 1, locked 1
712 lock struct(s), heap size 374768, 0 row lock(s)
MySQL thread id 467, query id 1684711 10.210.101.102 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263725, ACTIVE 125 sec, process no 27699, OS thread id 1221204288 waiting in InnoDB queue
mysql tables in use 1, locked 1
724 lock struct(s), heap size 391152, 0 row lock(s)
MySQL thread id 151, query id 1684355 10.210.101.102 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263717, ACTIVE 127 sec, process no 27699, OS thread id 1271929152 waiting in InnoDB queue
mysql tables in use 1, locked 1
739 lock struct(s), heap size 391152, 0 row lock(s)
MySQL thread id 806, query id 1684309 10.210.101.120 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263710, ACTIVE 128 sec, process no 27699, OS thread id 1249208640 waiting in InnoDB queue
mysql tables in use 1, locked 1
745 lock struct(s), heap size 391152, 3 row lock(s)
MySQL thread id 783, query id 1683964 10.210.101.102 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263709, ACTIVE 128 sec, process no 27699, OS thread id 1372322112 waiting in InnoDB queue
mysql tables in use 1, locked 1
744 lock struct(s), heap size 391152, 2 row lock(s)
MySQL thread id 460, query id 1683957 10.210.101.120 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263684, ACTIVE 134 sec, process no 27699, OS thread id 1326881088 waiting in InnoDB queue
mysql tables in use 1, locked 1
780 lock struct(s), heap size 407536, 0 row lock(s)
MySQL thread id 374, query id 1683831 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263679, ACTIVE 135 sec, process no 27699, OS thread id 1229658432 unlock_row, thread declared inside InnoDB 67
mysql tables in use 1, locked 1
786 lock struct(s), heap size 407536, 1 row lock(s)
MySQL thread id 190, query id 1683791 10.210.101.102 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263672, ACTIVE 137 sec, process no 27699, OS thread id 1296234816 waiting in InnoDB queue
mysql tables in use 1, locked 1
798 lock struct(s), heap size 423920, 0 row lock(s)
MySQL thread id 705, query id 1683725 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263663, ACTIVE 140 sec, process no 27699, OS thread id 1252378944 waiting in InnoDB queue
mysql tables in use 1, locked 1
813 lock struct(s), heap size 423920, 0 row lock(s)
MySQL thread id 233, query id 1683658 10.210.101.120 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263657, ACTIVE 141 sec, process no 27699, OS thread id 1253964096 waiting in InnoDB queue
mysql tables in use 1, locked 1
819 lock struct(s), heap size 423920, 0 row lock(s)
MySQL thread id 236, query id 1683630 10.210.101.102 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263655, ACTIVE 141 sec, process no 27699, OS thread id 1232828736 waiting in InnoDB queue
mysql tables in use 1, locked 1
830 lock struct(s), heap size 423920, 11 row lock(s)
MySQL thread id 953, query id 1683616 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263652, ACTIVE 142 sec, process no 27699, OS thread id 1234413888 waiting in InnoDB queue
mysql tables in use 1, locked 1
831 lock struct(s), heap size 423920, 9 row lock(s)
MySQL thread id 199, query id 1683602 10.210.101.120 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263646, ACTIVE 143 sec, process no 27699, OS thread id 1234942272 waiting in InnoDB queue
mysql tables in use 1, locked 1
828 lock struct(s), heap size 423920, 0 row lock(s)
MySQL thread id 890, query id 1683574 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263638, ACTIVE 145 sec, process no 27699, OS thread id 1288309056 waiting in InnoDB queue
mysql tables in use 1, locked 1
843 lock struct(s), heap size 440304, 0 row lock(s)
MySQL thread id 301, query id 1683532 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263632, ACTIVE 146 sec, process no 27699, OS thread id 1398212928 fetching rows, thread declared inside InnoDB 500
mysql tables in use 1, locked 1
846 lock struct(s), heap size 440304, 0 row lock(s)
MySQL thread id 604, query id 1683504 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263619, ACTIVE 148 sec, process no 27699, OS thread id 1366509888 waiting in InnoDB queue
mysql tables in use 1, locked 1
858 lock struct(s), heap size 440304, 0 row lock(s)
MySQL thread id 449, query id 1683432 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263602, ACTIVE 152 sec, process no 27699, OS thread id 1340090688 waiting in InnoDB queue
mysql tables in use 1, locked 1
885 lock struct(s), heap size 473072, 0 row lock(s)
MySQL thread id 661, query id 1683323 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263599, ACTIVE 153 sec, process no 27699, OS thread id 1305745728 waiting in InnoDB queue
mysql tables in use 1, locked 1
888 lock struct(s), heap size 473072, 0 row lock(s)
MySQL thread id 653, query id 1683309 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263591, ACTIVE 155 sec, process no 27699, OS thread id 1212221760 waiting in InnoDB queue
mysql tables in use 1, locked 1
900 lock struct(s), heap size 473072, 0 row lock(s)
MySQL thread id 130, query id 1683267 10.210.101.120 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263575, ACTIVE 160 sec, process no 27699, OS thread id 1221732672 waiting in InnoDB queue
mysql tables in use 1, locked 1
926 lock struct(s), heap size 489456, 0 row lock(s)
MySQL thread id 938, query id 1683176 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263565, ACTIVE 163 sec, process no 27699, OS thread id 1241811264 fetching rows, thread declared inside InnoDB 410
mysql tables in use 1, locked 1
LOCK WAIT 943 lock struct(s), heap size 489456, 1 row lock(s)
MySQL thread id 934, query id 1683120 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
------- TRX HAS BEEN WAITING 0 SEC FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 189 page no 5772 n bits 240 index `PRIMARY` of table `contextlinks_tags_flights`.`stat_daily` trx id 0 645263565 lock_mode X locks rec but not gap waiting
Record lock, heap no 71 PHYSICAL RECORD: n_fields 17; compact format; info bits 0
0: len 3; hex 8fb72b; asc +;; 1: len 4; hex 800004e6; asc ;; 2: len 4; hex 800000f6; asc ;; 3: len 4; hex 800000f6; asc ;; 4: len 4; hex 800007ed; asc ;; 5: len 4; hex 8000090c; asc ;; 6: len 4; hex 80000851; asc Q;; 7: len 4; hex 80000000; asc ;; 8: len 6; hex 000026749ca2; asc &t ;; 9: len 7; hex 800002402c2948; asc @,)H;; 10: len 8; hex 0000000000000000; asc ;; 11: len 8; hex 0000000000000000; asc ;; 12: len 8; hex 0000000000000000; asc ;; 13: len 4; hex 800000c3; asc ;; 14: len 4; hex 8000000d; asc ;; 15: len 4; hex 80000001; asc ;; 16: len 4; hex 80000000; asc ;;
------------------
---TRANSACTION 0 645263561, ACTIVE 164 sec, process no 27699, OS thread id 1275627840 waiting in InnoDB queue
mysql tables in use 1, locked 1
947 lock struct(s), heap size 489456, 0 row lock(s)
MySQL thread id 895, query id 1683099 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263560, ACTIVE 164 sec, process no 27699, OS thread id 1241282880 waiting in InnoDB queue
mysql tables in use 1, locked 1
956 lock struct(s), heap size 489456, 6 row lock(s)
MySQL thread id 644, query id 1683092 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263556, ACTIVE 165 sec, process no 27699, OS thread id 1087412544 waiting in InnoDB queue
mysql tables in use 1, locked 1
956 lock struct(s), heap size 489456, 6 row lock(s)
MySQL thread id 708, query id 1683078 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263554, ACTIVE 165 sec, process no 27699, OS thread id 1180518720 waiting in InnoDB queue
mysql tables in use 1, locked 1
979 lock struct(s), heap size 489456, 26 row lock(s)
MySQL thread id 1023, query id 1683064 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263553, ACTIVE 165 sec, process no 27699, OS thread id 1339562304 waiting in InnoDB queue
mysql tables in use 1, locked 1
979 lock struct(s), heap size 489456, 26 row lock(s)
MySQL thread id 1020, query id 1683057 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263549, ACTIVE 165 sec, process no 27699, OS thread id 1225959744 waiting in InnoDB queue
mysql tables in use 1, locked 1
956 lock struct(s), heap size 489456, 0 row lock(s)
MySQL thread id 1027, query id 1683036 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263546, ACTIVE 166 sec, process no 27699, OS thread id 1395571008 waiting in InnoDB queue
mysql tables in use 1, locked 1
997 lock struct(s), heap size 489456, 41 row lock(s)
MySQL thread id 1031, query id 1683029 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263545, ACTIVE 166 sec, process no 27699, OS thread id 1399269696 unlock_row, thread declared inside InnoDB 252
mysql tables in use 1, locked 1
1024 lock struct(s), heap size 489456, 67 row lock(s)
MySQL thread id 1028, query id 1683018 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263544, ACTIVE 166 sec, process no 27699, OS thread id 1197427008 waiting in InnoDB queue
mysql tables in use 1, locked 1
1026 lock struct(s), heap size 489456, 67 row lock(s)
MySQL thread id 1033, query id 1683011 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263543, ACTIVE 166 sec, process no 27699, OS thread id 1248151872 waiting in InnoDB queue
mysql tables in use 1, locked 1
1018 lock struct(s), heap size 489456, 59 row lock(s)
MySQL thread id 1037, query id 1683004 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263541, ACTIVE 166 sec, process no 27699, OS thread id 1207994688 unlock_row, thread declared inside InnoDB 490
mysql tables in use 1, locked 1
979 lock struct(s), heap size 489456, 24 row lock(s)
MySQL thread id 1040, query id 1682990 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263538, ACTIVE 166 sec, process no 27699, OS thread id 1211693376 waiting in InnoDB queue
mysql tables in use 1, locked 1
1000 lock struct(s), heap size 473072, 41 row lock(s)
MySQL thread id 1026, query id 1682680 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263537, ACTIVE 166 sec, process no 27699, OS thread id 1240754496 waiting in InnoDB queue
mysql tables in use 1, locked 1
1011 lock struct(s), heap size 440304, 49 row lock(s)
MySQL thread id 1035, query id 1682673 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263536, ACTIVE 166 sec, process no 27699, OS thread id 1291479360 waiting in InnoDB queue
mysql tables in use 1, locked 1
998 lock struct(s), heap size 473072, 40 row lock(s)
MySQL thread id 1036, query id 1682666 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263534, ACTIVE 166 sec, process no 27699, OS thread id 1283025216 waiting in InnoDB queue
mysql tables in use 1, locked 1
1128 lock struct(s), heap size 374768, 166 row lock(s)
MySQL thread id 1032, query id 1682659 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263533, ACTIVE 166 sec, process no 27699, OS thread id 1400326464 waiting in InnoDB queue
mysql tables in use 1, locked 1
1026 lock struct(s), heap size 407536, 65 row lock(s)
MySQL thread id 1029, query id 1682652 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263532, ACTIVE 166 sec, process no 27699, OS thread id 1388702016 waiting in InnoDB queue
mysql tables in use 1, locked 1
1122 lock struct(s), heap size 407536, 161 row lock(s)
MySQL thread id 1038, query id 1682645 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263530, ACTIVE 166 sec, process no 27699, OS thread id 1231243584 waiting in InnoDB queue
mysql tables in use 1, locked 1
1061 lock struct(s), heap size 423920, 102 row lock(s)
MySQL thread id 1039, query id 1682641 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263529, ACTIVE 166 sec, process no 27699, OS thread id 1390287168 waiting in InnoDB queue
mysql tables in use 1, locked 1
1024 lock struct(s), heap size 456688, 66 row lock(s)
MySQL thread id 1025, query id 1682638 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263528, ACTIVE 166 sec, process no 27699, OS thread id 1396099392 waiting in InnoDB queue
mysql tables in use 1, locked 1
1065 lock struct(s), heap size 456688, 107 row lock(s)
MySQL thread id 1021, query id 1682624 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263522, ACTIVE 166 sec, process no 27699, OS thread id 1218033984 waiting in InnoDB queue
mysql tables in use 1, locked 1
1059 lock struct(s), heap size 407536, 100 row lock(s)
MySQL thread id 1030, query id 1682610 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263521, ACTIVE 166 sec, process no 27699, OS thread id 1215920448 unlock_row, thread declared inside InnoDB 472
mysql tables in use 1, locked 1
1093 lock struct(s), heap size 342000, 132 row lock(s)
MySQL thread id 1011, query id 1682603 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263520, ACTIVE 166 sec, process no 27699, OS thread id 1308387648 waiting in InnoDB queue
mysql tables in use 1, locked 1
1016 lock struct(s), heap size 407536, 57 row lock(s)
MySQL thread id 1018, query id 1682599 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263519, ACTIVE 166 sec, process no 27699, OS thread id 1202182464 waiting in InnoDB queue
mysql tables in use 1, locked 1
1033 lock struct(s), heap size 407536, 74 row lock(s)
MySQL thread id 1034, query id 1682589 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263518, ACTIVE 166 sec, process no 27699, OS thread id 1342732608 waiting in InnoDB queue
mysql tables in use 1, locked 1
1100 lock struct(s), heap size 358384, 139 row lock(s)
MySQL thread id 1016, query id 1682582 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263517, ACTIVE 167 sec, process no 27699, OS thread id 1182632256 waiting in InnoDB queue
mysql tables in use 1, locked 1
1001 lock struct(s), heap size 374768, 39 row lock(s)
MySQL thread id 1012, query id 1682575 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263513, ACTIVE 167 sec, process no 27699, OS thread id 1238640960 unlock_row, thread declared inside InnoDB 436
mysql tables in use 1, locked 1
1109 lock struct(s), heap size 276464, 147 row lock(s)
MySQL thread id 1022, query id 1682568 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263512, ACTIVE 167 sec, process no 27699, OS thread id 1192671552 waiting in InnoDB queue
mysql tables in use 1, locked 1
1067 lock struct(s), heap size 309232, 105 row lock(s)
MySQL thread id 1019, query id 1682561 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263509, ACTIVE 167 sec, process no 27699, OS thread id 1199540544 unlock_row, thread declared inside InnoDB 48
mysql tables in use 1, locked 1
1094 lock struct(s), heap size 276464, 130 row lock(s)
MySQL thread id 1024, query id 1682554 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263508, ACTIVE 167 sec, process no 27699, OS thread id 1201654080 waiting in InnoDB queue
mysql tables in use 1, locked 1
1000 lock struct(s), heap size 260080, 36 row lock(s)
MySQL thread id 575, query id 1682547 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263504, ACTIVE 167 sec, process no 27699, OS thread id 1186330944 waiting in InnoDB queue
mysql tables in use 1, locked 1
1055 lock struct(s), heap size 260080, 90 row lock(s)
MySQL thread id 1017, query id 1682540 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263502, ACTIVE 167 sec, process no 27699, OS thread id 1311557952 waiting in InnoDB queue
mysql tables in use 1, locked 1
1118 lock struct(s), heap size 325616, 157 row lock(s)
MySQL thread id 1015, query id 1682533 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263501, ACTIVE 167 sec, process no 27699, OS thread id 1277212992 waiting in InnoDB queue
mysql tables in use 1, locked 1
1095 lock struct(s), heap size 325616, 133 row lock(s)
MySQL thread id 853, query id 1682526 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263496, ACTIVE 167 sec, process no 27699, OS thread id 1182103872 waiting in InnoDB queue
mysql tables in use 1, locked 1
1040 lock struct(s), heap size 243696, 72 row lock(s)
MySQL thread id 1009, query id 1682512 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263494, ACTIVE 167 sec, process no 27699, OS thread id 1345902912 waiting in InnoDB queue
mysql tables in use 1, locked 1
1048 lock struct(s), heap size 243696, 83 row lock(s)
MySQL thread id 846, query id 1682505 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263492, ACTIVE 167 sec, process no 27699, OS thread id 1258719552 waiting in InnoDB queue
mysql tables in use 1, locked 1
996 lock struct(s), heap size 227312, 31 row lock(s)
MySQL thread id 849, query id 1682502 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263491, ACTIVE 167 sec, process no 27699, OS thread id 1206937920 unlock_row, thread declared inside InnoDB 447
mysql tables in use 1, locked 1
1012 lock struct(s), heap size 227312, 48 row lock(s)
MySQL thread id 852, query id 1682491 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263489, ACTIVE 167 sec, process no 27699, OS thread id 1200068928 waiting in InnoDB queue
mysql tables in use 1, locked 1
1009 lock struct(s), heap size 210928, 41 row lock(s)
MySQL thread id 1013, query id 1682484 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263488, ACTIVE 167 sec, process no 27699, OS thread id 1354885440 waiting in InnoDB queue
mysql tables in use 1, locked 1
1041 lock struct(s), heap size 260080, 81 row lock(s)
MySQL thread id 976, query id 1682477 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263486, ACTIVE 167 sec, process no 27699, OS thread id 1285667136 waiting in InnoDB queue
mysql tables in use 1, locked 1
1006 lock struct(s), heap size 210928, 41 row lock(s)
MySQL thread id 1014, query id 1682470 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263484, ACTIVE 167 sec, process no 27699, OS thread id 1227544896 waiting in InnoDB queue
mysql tables in use 1, locked 1
978 lock struct(s), heap size 210928, 10 row lock(s)
MySQL thread id 951, query id 1682463 10.210.101.117 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?
..
..
..
---TRANSACTION 0 645263323, ACTIVE 178 sec, process no 27699, OS thread id 1224374592 waiting in InnoDB queue
mysql tables in use 1, locked 1
1037 lock struct(s), heap size 292848, 0 row lock(s)
MySQL thread id 908, query id 1680906 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263309, ACTIVE 182 sec, process no 27699, OS thread id 1261361472 waiting in InnoDB queue
mysql tables in use 1, locked 1
1061 lock struct(s), heap size 325616, 0 row lock(s)
MySQL thread id 250, query id 1680829 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263295, ACTIVE 184 sec, process no 27699, OS thread id 1255020864 waiting in InnoDB queue
mysql tables in use 1, locked 1
1070 lock struct(s), heap size 342000, 0 row lock(s)
MySQL thread id 238, query id 1680763 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263294, ACTIVE 185 sec, process no 27699, OS thread id 1331636544 waiting in InnoDB queue
mysql tables in use 1, locked 1
1070 lock struct(s), heap size 342000, 0 row lock(s)
MySQL thread id 383, query id 1680756 10.210.101.101 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263288, ACTIVE 185 sec, process no 27699, OS thread id 1256606016 waiting in InnoDB queue
mysql tables in use 1, locked 1
1077 lock struct(s), heap size 358384, 1 row lock(s), undo log entries 1
MySQL thread id 788, query id 1680735 10.210.101.120 demo Updating
update stat_daily set internal_cost=internal_cost+?, contract_cost=contract_cost+?, revenue=revenue+?, impression=impression+?, click=click+?, adclick=adclick+?, pixel=pixel+? where (campaign_id, client_id, log_date, pixel_id, setting_id, tag_id, taglink_id, theme_id)=(?, ?, ?, ?, ?, ?, ?, ?)
---TRANSACTION 0 645263185, ACTIVE 209 sec, process no 27699, OS thread id 1214863680 waiting in InnoDB queue
mysql tables in use 3, locked 0
MySQL thread id 883, query id 1680129 10.210.101.10 demo Sending data
SELECT t.theme_id,cm.campaign_id,cl.client_id FROM theme t,campaign cm,client cl where t.campaign_id=cm.campaign_id and cm.client_id=cl.client_id
Trx read view will not see trx with id >= 0 645263187, sees < 0 645262289
--------
FILE I/O
--------
I/O thread 0 state: waiting for i/o request (insert buffer thread)
I/O thread 1 state: waiting for i/o request (log thread)
I/O thread 2 state: waiting for i/o request (read thread)
I/O thread 3 state: waiting for i/o request (write thread)
Pending normal aio reads: 0, aio writes: 0,
ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
Pending flushes (fsync) log: 0; buffer pool: 0
6425 OS file reads, 11765 OS file writes, 3896 OS fsyncs
0.05 reads/s, 16384 avg bytes/read, 4.93 writes/s, 1.71 fsyncs/s
-------------------------------------
INSERT BUFFER AND ADAPTIVE HASH INDEX
-------------------------------------
Ibuf: size 1, free list len 71, seg size 73,
53 inserts, 53 merged recs, 25 merges
Hash table size 4425293, node heap has 72 buffer(s)
7.81 hash searches/s, 5.60 non-hash searches/s
---
LOG
---
Log sequence number 46 1587404674
Log flushed up to 46 1587403584
Last checkpoint at 46 1587399294
0 pending log writes, 0 pending chkp writes
2352 log i/o's done, 1.07 log i/o's/second
----------------------
BUFFER POOL AND MEMORY
----------------------
Total memory allocated 2415129624; in additional pool allocated 1048576
Dictionary memory allocated 438016
Buffer pool size 131072
Free buffers 117096
Database pages 11542
Modified db pages 29
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages read 11381, created 161, written 11418
0.05 reads/s, 0.00 creates/s, 4.17 writes/s
Buffer pool hit rate 1000 / 1000
--------------
ROW OPERATIONS
--------------
16 queries inside InnoDB, 138 queries in queue
12 read views open inside InnoDB
Main thread process no. 27699, id 1177876800, state: doing background drop tables
Number of rows inserted 12578, updated 4268, deleted 24, read 453607600
2.12 inserts/s, 1.14 updates/s, 0.00 deletes/s, 138755.93 reads/s
----------------------------
END OF INNODB MONITOR OUTPUT
============================