Query Metrics
29
Database Queries
15
Different statements
23.84 ms
Query time
6
Invalid entities
Queries
default connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 1.00 ms |
SELECT count(DISTINCT b0_.id) AS sclr_0 FROM blog b0_ WHERE b0_.is_active = 1
Parameters:
[] |
| 2 | 0.49 ms |
SELECT DISTINCT b0_.id AS id_0, b0_.created_at AS created_at_1 FROM blog b0_ WHERE b0_.is_active = 1 ORDER BY b0_.created_at DESC LIMIT 5
Parameters:
[] |
| 3 | 0.52 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 b0_ WHERE b0_.is_active = 1 AND b0_.id IN (?) ORDER BY b0_.created_at DESC
Parameters:
[
2
]
|
| 4 | 1.43 ms |
SELECT t0.id AS id_1, t0.title AS title_2, t0.content AS content_3, t0.slug AS slug_4, t0.image AS image_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.locale AS locale_8, t0.translatable_id AS translatable_id_9, t10.id AS id_11, t10.is_active AS is_active_12, t10.created_at AS created_at_13, t10.updated_at AS updated_at_14 FROM blog_translation t0 LEFT JOIN blog t10 ON t0.translatable_id = t10.id WHERE t0.translatable_id = ?
Parameters:
[
2
]
|
| 5 | 0.96 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:
[] |
| 6 | 0.91 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
]
|
| 7 | 1.88 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
]
|
| 8 | 0.35 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:
[
1
]
|
| 9 | 1.19 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.29 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.12 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"HEADER_KEYWORD"
]
|
| 12 | 1.00 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"HEADER_DESCRIPTION"
]
|
| 13 | 0.31 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Banner"
]
|
| 14 | 1.46 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
]
|
| 15 | 0.28 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.20 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Header2"
]
|
| 17 | 0.09 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Header1"
]
|
| 18 | 0.07 ms |
SELECT t0.id AS id_1, t0.type AS type_2 FROM app_text t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
"Header2"
]
|
| 19 | 1.40 ms |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
| 20 | 0.97 ms |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
| 21 | 0.20 ms |
SELECT DATABASE()
Parameters:
[] |
| 22 | 0.63 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:
[] |
| 23 | 0.70 ms |
SELECT DATABASE()
Parameters:
[] |
| 24 | 6.02 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:
[] |
| 25 | 0.19 ms |
SELECT DATABASE()
Parameters:
[] |
| 26 | 0.36 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:
[] |
| 27 | 0.50 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:
[] |
| 28 | 0.15 ms |
SELECT * FROM doctrine_migration_versions
Parameters:
[] |
| 29 | 0.19 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\Blog | No errors. |
| App\Entity\Blog\BlogTranslation | No errors. |
| App\Entity\Blog\BlogCategoriesTranslation | 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\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. |