Query Metrics
27
Database Queries
14
Different statements
25.39 ms
Query time
6
Invalid entities
Queries
default connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 2.02 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 | 2.93 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 | 0.56 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 | 0.22 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 | 0.21 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.15 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.33 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 | 0.16 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 | 0.10 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 | 0.09 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 | 0.19 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Banner"
]
|
| 12 | 0.15 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 | 0.12 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.86 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Header2"
]
|
| 15 | 0.12 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Header1"
]
|
| 16 | 0.11 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Header2"
]
|
| 17 | 2.33 ms |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
| 18 | 0.96 ms |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
| 19 | 0.91 ms |
SELECT DATABASE()
Parameters:
[] |
| 20 | 0.98 ms |
SELECT COLUMN_NAME AS Field, COLUMN_TYPE AS Type, IS_NULLABLE AS `Null`, COLUMN_KEY AS `Key`, COLUMN_DEFAULT AS `Default`, EXTRA AS Extra, COLUMN_COMMENT AS Comment, CHARACTER_SET_NAME AS CharacterSet, COLLATION_NAME AS Collation FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'pisu_shop' AND TABLE_NAME = 'doctrine_migration_versions' ORDER BY ORDINAL_POSITION ASC
Parameters:
[] |
| 21 | 0.18 ms |
SELECT DATABASE()
Parameters:
[] |
| 22 | 9.11 ms |
SELECT k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME /*!50116 , c.UPDATE_RULE, c.DELETE_RULE */ FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE k /*!50116 INNER JOIN INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_NAME = 'doctrine_migration_versions' AND k.TABLE_SCHEMA = 'pisu_shop' /*!50116 AND c.CONSTRAINT_SCHEMA = 'pisu_shop' */ORDER BY k.ORDINAL_POSITION
Parameters:
[] |
| 23 | 0.26 ms |
SELECT DATABASE()
Parameters:
[] |
| 24 | 0.52 ms |
SELECT NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_NAME = 'doctrine_migration_versions' AND TABLE_SCHEMA = 'pisu_shop' ORDER BY SEQ_IN_INDEX ASC
Parameters:
[] |
| 25 | 0.64 ms |
SELECT t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'doctrine_migration_versions'
Parameters:
[] |
| 26 | 0.19 ms |
SELECT * FROM doctrine_migration_versions
Parameters:
[] |
| 27 | 0.97 ms |
SELECT DATABASE()
Parameters:
[] |
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. |
| App\Entity\Blog\BlogTranslation | No errors. |
| App\Entity\Pharmacies\PharmaciesProducts | No errors. |
| App\Entity\Pharmacies\PharmacyShippingMethod | No errors. |
| App\Entity\Pharmacies\PharmacyPaymentMethod | No errors. |
| App\Entity\Orders\OrdersPayment | No errors. |
| App\Entity\PromotionalCode\PromotionalCode |
|
| App\Entity\Orders\OrdersPrestations | No errors. |
| App\Entity\PromotionalCode\PromotionalCodeProductsCategories | No errors. |
| App\Entity\Gift\OrderGiftItems | No errors. |
| App\Entity\Products\Categories\ProductsCategoriesTranslation | No errors. |
| App\Entity\Products\ProductBrand | No errors. |
| App\Entity\Products\Associated\AssociatedProductsProducts | No errors. |
| App\Entity\Products\Attribut\AttributTitle |
|
| App\Entity\Products\Attribut\AttributTerms |
|
| App\Entity\PromotionalCode\PromotionalCodeProducts | No errors. |
| App\Entity\Products\ProductsPrestations | No errors. |
| App\Entity\Products\ProductsRecommanded | No errors. |
| App\Entity\Products\ProductsTranslation | No errors. |
| App\Entity\Pharmacists | No errors. |
| App\Entity\Gift\OrderGiftTranslation | No errors. |