Query Metrics
131
Database Queries
16
Different statements
127.87 ms
Query time
1
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
29.84 ms (23.33%) |
20 |
SELECT t0.id AS id_1, t0.amount AS amount_2, t0.cash_amount AS cash_amount_3, t0.mpesa_amount AS mpesa_amount_4, t0.tax_percentage AS tax_percentage_5, t0.tax_amount AS tax_amount_6, t0.gross_amount AS gross_amount_7, t0.station_expenses AS station_expenses_8, t0.station_balance AS station_balance_9, t0.expenses AS expenses_10, t0.balance AS balance_11, t0.created_at AS created_at_12, t0.is_cancelled AS is_cancelled_13, t0.is_complete AS is_complete_14, t0.is_paid AS is_paid_15, t0.paid_by AS paid_by_16, t0.mpesa_payment_phone AS mpesa_payment_phone_17, t0.payment_method AS payment_method_18, t0.pin_number AS pin_number_19, t0.cu_invoice_number AS cu_invoice_number_20, t0.cu_invoice_number_credit AS cu_invoice_number_credit_21, t0.cu_serial_number AS cu_serial_number_22, t0.is_final AS is_final_23, t0.way_bill_id AS way_bill_id_24, t0.created_by AS created_by_25, t0.organization_id AS organization_id_26, t0.daily_account_id AS daily_account_id_27 FROM transaction t0 WHERE t0.way_bill_id = ?
Parameters:
[
1269685
]
|
|
19.71 ms (15.41%) |
20 |
SELECT t0.id AS id_1, t0.description AS description_2, t0.number AS number_3, t0.is_in_delivery AS is_in_delivery_4, t0.created_at AS created_at_5, t0.way_bill_id AS way_bill_id_6 FROM parcel t0 WHERE t0.way_bill_id = ?
Parameters:
[
1269685
]
|
|
14.89 ms (11.64%) |
20 |
SELECT t0.id AS id_1, t0.is_consignee AS is_consignee_2, t0.consignee_national_id AS consignee_national_id_3, t0.collector_name AS collector_name_4, t0.national_id AS national_id_5, t0.created_at AS created_at_6, t0.waybill_id AS waybill_id_7, t0.created_by AS created_by_8 FROM collected_parcel t0 WHERE t0.waybill_id = ?
Parameters:
[
1269685
]
|
|
14.86 ms (11.62%) |
1 |
SELECT w0_.id AS id_0, w0_.sender_name AS sender_name_1, w0_.sender_phone_number AS sender_phone_number_2, w0_.receiver_name AS receiver_name_3, w0_.receiver_phone_number AS receiver_phone_number_4, w0_.created_at AS created_at_5, w0_.is_collected AS is_collected_6, w0_.is_received AS is_received_7, w0_.received_at AS received_at_8, w0_.percel_count AS percel_count_9, w0_.longitude AS longitude_10, w0_.latitude AS latitude_11, w0_.parcel_value AS parcel_value_12, w0_.from_station_id AS from_station_id_13, w0_.to_station_id AS to_station_id_14, w0_.created_by AS created_by_15, w0_.received_by AS received_by_16, w0_.organization_id AS organization_id_17 FROM way_bill w0_ INNER JOIN transaction t1_ ON w0_.id = t1_.way_bill_id WHERE w0_.from_station_id = ? ORDER BY w0_.id DESC LIMIT 20
Parameters:
[
30
]
|
|
11.36 ms (8.88%) |
20 |
SELECT t0.id AS id_1, t0.amount AS amount_2, t0.created_at AS created_at_3, t0.transaction_id AS transaction_id_4, t0.expense_type AS expense_type_5, t0.created_by AS created_by_6 FROM transaction_expense t0 WHERE t0.transaction_id = ?
Parameters:
[
1269644
]
|
|
6.93 ms (5.42%) |
11 |
SELECT t0.id AS id_1, t0.station_name AS station_name_2, t0.station_address AS station_address_3, t0.phone_numbers AS phone_numbers_4, t0.created_at AS created_at_5, t0.operating_hrs AS operating_hrs_6, t0.is_mobile AS is_mobile_7, t0.organization_id AS organization_id_8, t0.created_by AS created_by_9 FROM station t0 WHERE t0.id = ?
Parameters:
[
30
]
|
|
5.96 ms (4.66%) |
8 |
SELECT t0.id AS id_1, t0.amount AS amount_2, t0.expense_accrued AS expense_accrued_3, t0.description AS description_4, t0.created_at AS created_at_5, t0.is_cancelled AS is_cancelled_6, t0.station_id AS station_id_7, t0.daily_account_id AS daily_account_id_8, t0.expense_type_id AS expense_type_id_9, t0.created_by AS created_by_10 FROM station_expense t0 WHERE t0.daily_account_id = ?
Parameters:
[
44170
]
|
|
4.34 ms (3.40%) |
3 |
SELECT t0.id AS id_1, t0.expense_name AS expense_name_2, t0.is_automatic AS is_automatic_3, t0.is_way_bill AS is_way_bill_4, t0.is_active AS is_active_5, t0.created_at AS created_at_6, t0.automatic_expense_id AS automatic_expense_id_7, t0.created_by AS created_by_8 FROM expense_type t0 WHERE t0.id = ?
Parameters:
[
6
]
|
|
3.94 ms (3.08%) |
8 |
SELECT t0.id AS id_1, t0.account_date AS account_date_2, t0.is_closed AS is_closed_3, t0.closing_date AS closing_date_4, t0.is_banked AS is_banked_5, t0.created_at AS created_at_6, t0.closed_by AS closed_by_7, t0.created_by AS created_by_8, t0.station_id AS station_id_9 FROM station_daily_account t0 WHERE t0.id = ?
Parameters:
[
21568
]
|
|
3.86 ms (3.02%) |
1 |
SELECT t0.id AS id_1, t0.drawer_cash AS drawer_cash_2, t0.account_date AS account_date_3, t0.is_closed AS is_closed_4, t0.created_at AS created_at_5, t0.user_id AS user_id_6, t0.station_daily_account AS station_daily_account_7, t0.closed_by AS closed_by_8 FROM daily_account t0 WHERE t0.user_id = ? AND t0.is_closed = ? ORDER BY t0.id DESC LIMIT 1
Parameters:
[ 134 0 ] |
|
3.01 ms (2.36%) |
5 |
SELECT t0.id AS id_1, t0.first_name AS first_name_2, t0.second_name AS second_name_3, t0.sir_name AS sir_name_4, t0.gender AS gender_5, t0.national_id AS national_id_6, t0.phone_number AS phone_number_7, t0.created_at AS created_at_8, t0.date_of_birth AS date_of_birth_9, t0.preferred_name AS preferred_name_10, t0.created_by AS created_by_11 FROM person t0 WHERE t0.id = ?
Parameters:
[
3
]
|
|
2.87 ms (2.24%) |
7 |
SELECT t0.id AS id_1, t0.drawer_cash AS drawer_cash_2, t0.account_date AS account_date_3, t0.is_closed AS is_closed_4, t0.created_at AS created_at_5, t0.user_id AS user_id_6, t0.station_daily_account AS station_daily_account_7, t0.closed_by AS closed_by_8 FROM daily_account t0 WHERE t0.id = ?
Parameters:
[
44169
]
|
|
1.98 ms (1.55%) |
1 |
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.is_active AS is_active_7, t0.person_id AS person_id_8 FROM user t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
134
]
|
|
1.90 ms (1.49%) |
4 |
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.is_active AS is_active_7, t0.person_id AS person_id_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
2
]
|
|
1.25 ms (0.97%) |
1 |
SELECT t0.id AS id_1, t0.is_active AS is_active_2, t0.created_at AS created_at_3, t0.user AS user_4, t0.station_id AS station_id_5 FROM user_station t0 WHERE t0.user = ? ORDER BY t0.id DESC LIMIT 1
Parameters:
[
134
]
|
|
1.18 ms (0.92%) |
1 |
SELECT t0.id AS id_1, t0.organization_name AS organization_name_2, t0.code AS code_3, t0.county AS county_4, t0.town AS town_5, t0.address AS address_6, t0.person_id AS person_id_7, t0.created_by AS created_by_8 FROM organization t0 WHERE t0.id = ?
Parameters:
[
1
]
|
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\DailyAccount | No errors. |
| App\Entity\StationDailyAccount | No errors. |
| App\Entity\StationExpense | No errors. |
| App\Entity\UserStation | No errors. |
| App\Entity\Station | No errors. |
| App\Entity\WayBill |
|
| App\Entity\Transaction | No errors. |
| App\Entity\Organization | No errors. |
| App\Entity\TransactionExpense | No errors. |
| App\Entity\Parcel | No errors. |
| App\Entity\CollectedParcel | No errors. |
| App\Entity\ExpenseType | No errors. |
| App\Entity\AutomaticExpense | No errors. |