Query Metrics
16
Database Queries
7
Different statements
324.68 ms
Query time
3
Invalid entities
Queries
default connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 58.82 ms |
SELECT t0.id AS id_1, t0.is_active AS is_active_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t5.id AS id_6, t5.title AS title_7, t5.created_at AS created_at_8, t5.updated_at AS updated_at_9, t5.locale AS locale_10, t5.translatable_id AS translatable_id_11 FROM blog_categories t0 LEFT JOIN blog_categories_translation t5 ON t5.translatable_id = t0.id WHERE t0.id = ?
Parameters:
[
"1"
]
|
| 2 | 69.40 ms |
SELECT count(DISTINCT b0_.id) AS sclr_0 FROM blog b0_ INNER JOIN blog_blog_categories b2_ ON b0_.id = b2_.blog_id INNER JOIN blog_categories b1_ ON b1_.id = b2_.blog_categories_id WHERE b0_.is_active = 1 AND b1_.id = ?
Parameters:
[
1
]
|
| 3 | 90.12 ms |
SELECT DISTINCT b0_.id AS id_0, b0_.created_at AS created_at_1 FROM blog b0_ INNER JOIN blog_blog_categories b2_ ON b0_.id = b2_.blog_id INNER JOIN blog_categories b1_ ON b1_.id = b2_.blog_categories_id WHERE b0_.is_active = 1 AND b1_.id = ? ORDER BY b0_.created_at DESC LIMIT 5
Parameters:
[
1
]
|
| 4 | 14.49 ms |
SELECT b0_.id AS id_0, b0_.is_active AS is_active_1, b0_.created_at AS created_at_2, b0_.updated_at AS updated_at_3 FROM blog_categories b0_ WHERE b0_.is_active = 1 ORDER BY b0_.created_at DESC
Parameters:
[] |
| 5 | 11.89 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6, t7.id AS id_8, t7.is_active AS is_active_9, t7.created_at AS created_at_10, t7.updated_at AS updated_at_11 FROM blog_categories_translation t0 LEFT JOIN blog_categories t7 ON t0.translatable_id = t7.id WHERE t0.translatable_id = ?
Parameters:
[
3
]
|
| 6 | 0.47 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.locale AS locale_5, t0.translatable_id AS translatable_id_6, t7.id AS id_8, t7.is_active AS is_active_9, t7.created_at AS created_at_10, t7.updated_at AS updated_at_11 FROM blog_categories_translation t0 LEFT JOIN blog_categories t7 ON t0.translatable_id = t7.id WHERE t0.translatable_id = ?
Parameters:
[
2
]
|
| 7 | 0.56 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"HEADER_KEYWORD"
]
|
| 8 | 4.96 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"HEADER_DESCRIPTION"
]
|
| 9 | 5.87 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"HEADER_KEYWORD"
]
|
| 10 | 3.84 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"HEADER_DESCRIPTION"
]
|
| 11 | 46.35 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Banner"
]
|
| 12 | 6.72 ms |
SELECT t0.id AS id_1, t0.content AS content_2, t0.locale AS locale_3, t0.translatable_id AS translatable_id_4, t5.id AS id_6, t5.type AS type_7 FROM app_text_translation t0 LEFT JOIN app_text t5 ON t0.translatable_id = t5.id WHERE t0.translatable_id = ?
Parameters:
[
2
]
|
| 13 | 4.87 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Header1"
]
|
| 14 | 0.90 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Header2"
]
|
| 15 | 1.40 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Header1"
]
|
| 16 | 4.05 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Header2"
]
|
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
| pharmonline | doctrine.dbal.pharmonline_connection |
Entity Managers
| Name | Service |
|---|---|
| pharmonline | doctrine.orm.pharmonline_entity_manager |
| default | doctrine.orm.default_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
pharmonline entity manager
| Class | Mapping errors |
|---|---|
| App\EntityPharmonline\Users | No errors. |
default entity manager
| Class | Mapping errors |
|---|---|
| App\Entity\Superadmin | No errors. |
| App\Entity\Blog\BlogCategories | No errors. |
| App\Entity\Blog\BlogCategoriesTranslation | No errors. |
| App\Entity\Blog\Blog | No errors. |
| App\Entity\PharmacyNotification | No errors. |
| App\Entity\Orders\OrdersProducts | No errors. |
| App\Entity\Orders\Orders | No errors. |
| App\Entity\Products\Categories\ProductsCategories |
|
| App\Entity\Products\Products |
|
| App\Entity\Pharmacies\Pharmacies |
|
| App\Entity\Products\Attribut\ProductsAttributsTerms | No errors. |
| App\Entity\Gift\OrderGift | No errors. |
| App\Entity\AppText | No errors. |
| App\Entity\AppTextTranslation | No errors. |