Query Metrics
7
Database Queries
7
Different statements
9.01 ms
Query time
5
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
3.30 ms (36.67%) |
1 |
SELECT c0_.id AS id_0, p1_.id AS id_1, u2_.id AS id_2, p3_.id AS id_3, c0_.start AS start_4, c0_.end AS end_5, c0_.title AS title_6, u2_.full_name AS full_name_7, u2_.phone AS phone_8, p3_.activity_price AS activity_price_9, p3_.quantity AS quantity_10, p3_.total AS total_11, p1_.status AS status_12 FROM purchase_item p3_ INNER JOIN purchase p1_ ON p3_.purchase_id = p1_.id INNER JOIN calendar c0_ ON p3_.activity_id = c0_.id AND c0_.calendarType IN ('activity') INNER JOIN user u2_ ON p1_.user_id = u2_.id WHERE c0_.id = ?
Parameters:
[
"1"
]
|
|
1.21 ms (13.41%) |
1 |
SELECT SUM(p0_.quantity) AS sclr_0 FROM purchase_item p0_ WHERE p0_.activity_id = ?
Parameters:
[
"1"
]
|
|
1.02 ms (11.35%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.start AS start_3, t0.end AS end_4, t0.visible AS visible_5, t0.annulation AS annulation_6, t0.stock AS stock_7, t0.price AS price_8, t0.modified_price AS modified_price_9, t0.category_id AS category_id_10, t0.calendarType FROM calendar t0 WHERE t0.id = ? AND t0.calendarType IN ('activity')
Parameters:
[
"1"
]
|
|
0.96 ms (10.65%) |
1 |
SELECT t0.id AS id_1, t0.title_category AS title_category_2, t0.image AS image_3, t0.activity AS activity_4, t5.id AS id_6, t5.price AS price_7, t5.title_category_setting AS title_category_setting_8, t5.text_color AS text_color_9, t5.back_ground_color AS back_ground_color_10, t5.border_color AS border_color_11, t5.category_id AS category_id_12 FROM category t0 LEFT JOIN category_setting t5 ON t5.category_id = t0.id WHERE t0.activity = ?
Parameters:
[
1
]
|
|
0.94 ms (10.42%) |
1 |
SELECT c0_.price AS price_0 FROM calendar c1_ INNER JOIN category c2_ ON c1_.category_id = c2_.id INNER JOIN category_setting c0_ ON c2_.id = c0_.category_id WHERE (c1_.id = ?) AND c1_.calendarType IN ('activity') LIMIT 1
Parameters:
[
"1"
]
|
|
0.88 ms (9.77%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.start AS start_3, t0.end AS end_4, t0.visible AS visible_5, t0.annulation AS annulation_6, t0.stock AS stock_7, t0.price AS price_8, t0.modified_price AS modified_price_9, t0.category_id AS category_id_10, t0.calendarType FROM calendar t0 WHERE t0.calendarType IN ('activity')
Parameters:
[] |
|
0.70 ms (7.74%) |
1 |
SELECT c0_.stock AS stock_0 FROM calendar c0_ WHERE (c0_.id = ?) AND c0_.calendarType IN ('activity')
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\Calendar |
|
| App\Entity\Activity |
|
| App\Entity\Category |
|
| App\Entity\Staff |
|
| App\Entity\Tide | No errors. |
| App\Entity\User | No errors. |
| App\Entity\CategorySetting | No errors. |
| App\Entity\PurchaseItem |
|
| App\Entity\Purchase | No errors. |