https://sys.nenocourier.co.ke/fos/transactions/transaction-list Return to referer URL

Query Metrics

4 Database Queries
4 Different statements
5516.44 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.92 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 = ?
Parameters:
[
  59
]
2 131.15 ms
SELECT b.id,c.account_date,a.expenses,a.created_at,d.station_name,b.sender_name,b.sender_phone_number,b.receiver_name,b.receiver_phone_number,a.amount, a.is_cancelled FROM transaction a 
                            JOIN way_bill b on a.way_bill_id = b.id
                            JOIN daily_account c ON c.id = a.daily_account_id
                            JOIN station d ON d.id = b.to_station_id
                  WHERE  b.from_station_id = 2   AND  b.receiver_name like'%ceci%' ORDER BY b.id DESC LIMIT  0,20
Parameters:
[]
3 1.22 ms
EXPLAIN SELECT count(a.id) as total  FROM transaction a 
                            JOIN way_bill b on a.way_bill_id = b.id
                            JOIN daily_account c ON c.id = a.daily_account_id
                            JOIN station d ON d.id = b.to_station_id
                  WHERE  b.from_station_id = 2  AND  b.receiver_name like'%ceci%'
Parameters:
[]
4 5383.15 ms
SELECT SUM(b.percel_count) as parcel_count, SUM(a.station_expenses) as station_expenses,SUM(a.tax_amount) as tax_amount, SUM(a.amount) as amount, SUM(a.expenses) as expenses, SUM(a.balance) as balance  FROM transaction a 
                            JOIN way_bill b on a.way_bill_id = b.id
                            JOIN daily_account c ON c.id = a.daily_account_id
                            JOIN station d ON d.id = b.to_station_id
                  WHERE  b.from_station_id = 2 AND a.created_by = 59  AND  b.receiver_name like'%ceci%'
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\Transaction No errors.