Query Metrics
21
Database Queries
17
Different statements
282.81 ms
Query time
3
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
122.39 ms (43.28%) |
1 |
insert ignore into sending_avis_hint (sending_id, avis_hint_id) select s.id, ah.id from sending s inner join address a on s.recipient_id = a.id and a.isocountry is not null left join avis_hint ah on a.isocountry=ah.country and ah.zip=a.zip where hint_type_id in (2, 3) and s.hinted = 0 and (s.depot_id = ah.depot_id or ah.depot_id is null) and lower(concat(ifnull(a.name1,''), ' ', ifnull(a.name2,''))) like lower(concat('%', replace(ah.name, ' ', '%'), '%')) and (ah.street is null or lower(concat(ifnull(a.street1,''), ' ', ifnull(a.street2,''))) like lower(concat('%', replace(ah.street, ' ', '%'), '%')))
Parameters:
[] |
98.55 ms (34.85%) |
1 |
select distinct s.id from sending s inner join address a2 on s.hinted=0 and s.recipient_id = a2.id and a2.isocountry is not null left join address a3 on s.hinted=0 and s.sender_id = a3.id and a3.isocountry is not null where s.id not in ( select distinct s.id from sending s left join address a on a.id = s.recipient_id left join avis_hint av on a.isocountry = av.country and a.zip = av.zip where (av.depot_id = s.depot_id or av.depot_id is null) and s.hinted=0 and av.hint_type_id in (2,3) and lower(concat(ifnull(a.name1,''), ' ', ifnull(a.name2,''))) like lower(concat('%', replace(name, ' ', '%'), '%')) and (av.street is null or lower(concat(ifnull(a.street1,''), ' ', ifnull(a.street2,''))) like lower(concat('%', replace(av.street, ' ', '%'), '%')))) and s.id not in ( select distinct s.id from sending s left join address a on a.id = s.sender_id left join avis_hint av on a.isocountry = av.country and a.zip = av.zip where (av.depot_id = s.depot_id or av.depot_id is null) and s.hinted=0 and av.hint_type_id in (1,3) and lower(concat(ifnull(a.name1,''), ' ', ifnull(a.name2,''))) like lower(concat('%', replace(name, ' ', '%'), '%')) and (av.street is null or lower(concat(ifnull(a.street1,''), ' ', ifnull(a.street2,''))) like lower(concat('%', replace(av.street, ' ', '%'), '%')))) limit 1000
Parameters:
[] |
19.94 ms (7.05%) |
1 |
update sending set hinted=1 where hinted=0 and id in (select distinct sending_id from sending_avis_hint);
Parameters:
[] |
16.57 ms (5.86%) |
2 |
"COMMIT"
Parameters:
[] |
8.01 ms (2.83%) |
2 |
"START TRANSACTION"
Parameters:
[] |
6.55 ms (2.32%) |
1 |
select min(id) from (select jh.id from job_history jh where jh.job_id=17 order by jh.id desc limit 100) x
Parameters:
[] |
1.82 ms (0.64%) |
2 |
SELECT t0.id AS id_1, t0.state AS state_2, t0.step_kind AS step_kind_3, t0.description AS description_4, t0.state_message_ftp AS state_message_ftp_5, t0.state_message_fax AS state_message_fax_6, t0.state_message_mail AS state_message_mail_7, t0.state_message_sms AS state_message_sms_8, t0.state_message_api AS state_message_api_9, t0.changing_sending AS changing_sending_10, t0.state_group AS state_group_11, t0.avis_try AS avis_try_12, t0.show_hist AS show_hist_13, t0.bookable AS bookable_14, t0.export_state_id AS export_state_id_15, t0.sgroup_id AS sgroup_id_16 FROM type_sending_state t0
Parameters:
[] |
1.35 ms (0.48%) |
2 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.is_dev AS is_dev_5, t0.all_depot AS all_depot_6, t0.email AS email_7, t0.firstname AS firstname_8, t0.lastname AS lastname_9, t0.title AS title_10, t0.created_at AS created_at_11, t0.updated_at AS updated_at_12, t0.right_level_id AS right_level_id_13, t0.standard_depot_id AS standard_depot_id_14, t0.state_id AS state_id_15, t0.created_by_id AS created_by_id_16, t0.updated_by_id AS updated_by_id_17 FROM user t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
-1
]
|
1.18 ms (0.42%) |
1 |
UPDATE job SET hash = ?, updated_at = ? WHERE id = ?
Parameters:
[ null "2025-09-16 04:58:05" 17 ] |
1.01 ms (0.36%) |
1 |
insert ignore into sending_avis_hint (sending_id, avis_hint_id) select s.id, ah.id from sending s inner join address a on s.sender_id = a.id and a.isocountry is not null left join avis_hint ah on a.isocountry=ah.country and ah.zip=a.zip where hint_type_id in (1, 3) and s.hinted = 0 and (s.depot_id = ah.depot_id or ah.depot_id is null) and lower(concat(ifnull(a.name1,''), ' ', ifnull(a.name2,''))) like lower(concat('%', replace(ah.name, ' ', '%'), '%')) and (ah.street is null or lower(concat(ifnull(a.street1,''), ' ', ifnull(a.street2,''))) like lower(concat('%', replace(ah.street, ' ', '%'), '%')))
Parameters:
[] |
0.95 ms (0.34%) |
1 |
select min(id) from (select jh.id from job_history jh where jh.job_id=17 and resultcode=4 order by jh.id desc limit 20) x
Parameters:
[] |
0.93 ms (0.33%) |
1 |
delete from job_history where job_id=17 and resultcode=4 and id <8648650
Parameters:
[] |
0.78 ms (0.28%) |
1 |
INSERT INTO job_history (start, end, resultcode, resulttext, job_id) VALUES (?, ?, ?, ?, ?)
Parameters:
[ "2025-09-16 04:58:05" null 1 "" 17 ] |
0.75 ms (0.26%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.last_run AS last_run_4, t0.last_state AS last_state_5, t0.hash AS hash_6, t0.enabled AS enabled_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.created_by_id AS created_by_id_10, t0.updated_by_id AS updated_by_id_11 FROM job t0
Parameters:
[] |
0.70 ms (0.25%) |
1 |
UPDATE job SET last_run = ?, updated_at = ? WHERE id = ?
Parameters:
[ "2025-09-16 04:58:05" "2025-09-16 04:58:05" 17 ] |
0.67 ms (0.24%) |
1 |
UPDATE job_history SET end = ?, resultcode = ? WHERE id = ?
Parameters:
[ "2025-09-16 04:58:05" 4 8648728 ] |
0.66 ms (0.23%) |
1 |
delete from job_history where job_id=17 and id <8648650
Parameters:
[] |
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
Entity Managers
Name | Service |
---|---|
default | doctrine.orm.default_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
Class | Mapping errors |
---|---|
App\Entity\TypeSendingState | No errors. |
App\Entity\TypeExportState | No errors. |
App\Entity\TypeSendingStateGroup | No errors. |
App\Entity\Message | No errors. |
App\Entity\StatSending |
|
App\Entity\Job | No errors. |
App\Entity\User | No errors. |
App\Entity\CronTimeEntry | No errors. |
App\Entity\JobHistory | No errors. |
App\Entity\TypeRightlevel | No errors. |
App\Entity\Depot |
|
App\Entity\TypeState | No errors. |
App\Entity\UserSetting | No errors. |
App\Entity\Sending | No errors. |
App\Entity\DepotGroup | No errors. |
App\Entity\AssignDepot | No errors. |
App\Entity\StatSc |
|
App\Entity\UserLogin | No errors. |