Query Metrics
38
Database Queries
9
Different statements
7.80 ms
Query time
5
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
4.57 ms (58.61%) |
30 |
SELECT t0.id AS id_1, t0.company_name AS company_name_2, t0.company_address AS company_address_3, t0.company_phone AS company_phone_4, t0.company_mail AS company_mail_5, t0.company_other AS company_other_6, t0.price_hour AS price_hour_7 FROM settings t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
1
]
|
|
0.58 ms (7.41%) |
1 |
SELECT w0_.id AS id_0, w0_.payed AS payed_1, w0_.created AS created_2, w0_.payed_hour_price AS payed_hour_price_3, w0_.hours AS hours_4, w0_.day AS day_5, w0_.note AS note_6, w0_.other_price AS other_price_7, w0_.validated_date AS validated_date_8, w0_.is_validated AS is_validated_9, w0_.worker_id AS worker_id_10, w0_.project_id AS project_id_11, w0_.project_product_id AS project_product_id_12, w0_.validated_id AS validated_id_13 FROM work_hours w0_ WHERE w0_.worker_id = (?) AND w0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY w0_.id DESC, w0_.created DESC
Parameters:
[ 16 6330 6313 6308 6307 6287 6278 6277 6265 6264 6235 6230 6225 6208 6195 6182 6177 6173 6146 6145 6144 6140 6139 6124 6112 6103 6102 6089 6088 6075 6056 ] |
|
0.48 ms (6.16%) |
1 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.display_name AS display_name_3, t0.email AS email_4, t0.roles AS roles_5, t0.password AS password_6, t0.modified AS modified_7, t0.worker_id AS worker_id_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
6
]
|
|
0.48 ms (6.16%) |
1 |
SELECT DISTINCT w0_.id AS id_0, w0_.id AS id_1, w0_.created AS created_2 FROM work_hours w0_ WHERE w0_.worker_id = (?) ORDER BY w0_.id DESC, w0_.created DESC LIMIT 30
Parameters:
[
16
]
|
|
0.45 ms (5.82%) |
1 |
SELECT count(w0_.id) AS sclr_0 FROM work_hours w0_ WHERE w0_.worker_id = (?)
Parameters:
[
16
]
|
|
0.38 ms (4.85%) |
1 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.full_name AS full_name_3, t0.price_hour AS price_hour_4, t0.price_month AS price_month_5, t0.created AS created_6, t0.active AS active_7, t0.contribution AS contribution_8, t9.id AS id_10, t9.username AS username_11, t9.display_name AS display_name_12, t9.email AS email_13, t9.roles AS roles_14, t9.password AS password_15, t9.modified AS modified_16, t9.worker_id AS worker_id_17 FROM workers t0 LEFT JOIN user t9 ON t9.worker_id = t0.id WHERE t0.id = ?
Parameters:
[
16
]
|
|
0.35 ms (4.48%) |
1 |
SELECT t0.id AS id_1, t0.payed AS payed_2, t0.created AS created_3, t0.payed_hour_price AS payed_hour_price_4, t0.hours AS hours_5, t0.day AS day_6, t0.note AS note_7, t0.other_price AS other_price_8, t0.validated_date AS validated_date_9, t0.is_validated AS is_validated_10, t0.worker_id AS worker_id_11, t0.project_id AS project_id_12, t0.project_product_id AS project_product_id_13, t0.validated_id AS validated_id_14 FROM work_hours t0 WHERE t0.id IS NULL LIMIT 1
Parameters:
[] |
|
0.29 ms (3.75%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.deadline AS deadline_3, t0.closed AS closed_4, t0.created AS created_5, t0.description AS description_6, t0.price_netto AS price_netto_7, t0.is_closed AS is_closed_8, t0.customer_id AS customer_id_9 FROM projects t0 WHERE t0.id = ?
Parameters:
[
117
]
|
|
0.22 ms (2.77%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.address AS address_3, t0.note AS note_4, t0.created AS created_5, t0.phone AS phone_6, t0.email AS email_7 FROM customers t0 WHERE t0.id = ?
Parameters:
[
5
]
|
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\Workers |
|
| App\Entity\Attachment | No errors. |
| App\Entity\WorkHours |
|
| App\Entity\Projects |
|
| App\Entity\ProjectProducts | No errors. |
| App\Entity\Customers | No errors. |
| App\Entity\Photo |
|
| App\Entity\Material |
|
| App\Entity\Contracts | No errors. |
| App\Entity\Settings | No errors. |