Query Metrics
6
Database Queries
6
Different statements
2712.99 ms
Query time
1
Invalid entities
Queries
#▲ | Time | Info |
---|---|---|
1 | 1.03 ms |
SELECT t0.id AS id_1, t0.username AS username_2, t0.password AS password_3, t0.created_at AS created_at_4, t0.roles AS roles_5, t0.email AS email_6, t0.person_id AS person_id_7 FROM user t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
146
]
|
2 | 0.84 ms |
SELECT t0.id AS id_1, t0.status AS status_2, t0.amount AS amount_3, t0.sms AS sms_4, t0.recepient AS recepient_5, t0.created_at AS created_at_6, t0.status_code AS status_code_7, t0.manually_sent AS manually_sent_8, t0.action AS action_9, t0.message_id AS message_id_10, t0.transaction_id AS transaction_id_11, t0.organization_id AS organization_id_12, t0.created_by AS created_by_13 FROM sms t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
"1355074"
]
|
3 | 0.43 ms |
"START TRANSACTION"
Parameters:
[] |
4 | 1.42 ms |
UPDATE sms SET manually_sent = ? WHERE id = ?
Parameters:
[ 1 1355074 ] |
5 | 4.81 ms |
"COMMIT"
Parameters:
[] |
6 | 2704.44 ms |
select ANY_VALUE(c.id) as sms_id, a.id as waybill,a.receiver_name,a.receiver_phone_number,a.sender_name, a.sender_phone_number,ANY_VALUE(c.recepient) as receipient,ANY_VALUE(c.sms) as sms ,c.status,ANY_VALUE(c.status_code) as status_code,ANY_VALUE(c.created_at) as created_at, ( select description from parcel where way_bill_id= a.id limit 1) as description from sms c JOIN transaction b on b.id = c.transaction_id JOIN way_bill a ON b.way_bill_id = a.id WHERE c.recepient = concat('+254',substr(Replace(a.receiver_phone_number,' ',''),2)) AND c.status = 'Failed' AND c.action = 'receiving' AND a.to_station_id = 2 AND (c.manually_sent= 0 or c.manually_sent IS NULL) AND date(c.created_at) >= DATE_SUB(cast(now() as date),INTERVAL 5 DAY) group by c.transaction_id order by c.transaction_id desc
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\User | No errors. |
App\Entity\Person | No errors. |
App\Entity\Sms | No errors. |
App\Entity\Transaction | No errors. |
App\Entity\Organization | No errors. |
App\Entity\WayBill |
|