Query Metrics
19
Database Queries
17
Different statements
12.42 ms
Query time
0
Invalid entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 1.85 ms |
SELECT p0_.id AS id_0, p0_.price AS price_1, p0_.original_price AS original_price_2, p0_.duration AS duration_3, p0_.sessions AS sessions_4, p0_.image_name AS image_name_5, p1_.title AS title_6, p1_.hint AS hint_7, p1_.options AS options_8 FROM plan p0_ INNER JOIN plan_translation p1_ ON p0_.id = p1_.plan_id INNER JOIN locale l2_ ON p1_.locale_id = l2_.id WHERE p0_.enabled = ? AND p0_.type = ? AND l2_.code = ? LIMIT 3
Parameters:
[ 1 "horse" "fr_FR" ] |
| 2 | 0.84 ms |
SELECT count(DISTINCT a0_.id) AS sclr_0 FROM article a0_ INNER JOIN article_translation a1_ ON a0_.id = a1_.article_id INNER JOIN locale l2_ ON a1_.locale_id = l2_.id WHERE (l2_.code = ?) AND a0_.discriminator IN ('service')
Parameters:
[
"fr_FR"
]
|
| 3 | 0.38 ms |
SELECT DISTINCT a0_.id AS id_0, a0_.created_at AS created_at_1 FROM article a0_ INNER JOIN article_translation a1_ ON a0_.id = a1_.article_id INNER JOIN locale l2_ ON a1_.locale_id = l2_.id WHERE (l2_.code = ?) AND a0_.discriminator IN ('service') ORDER BY a0_.created_at ASC LIMIT 4
Parameters:
[
"fr_FR"
]
|
| 4 | 0.66 ms |
SELECT a0_.id AS id_0, a0_.type AS type_1, a0_.date AS date_2, a0_.price AS price_3, a0_.duration AS duration_4, a0_.image_name AS image_name_5, a1_.title AS title_6, a1_.text AS text_7, a1_.description AS description_8 FROM article a0_ INNER JOIN article_translation a1_ ON a0_.id = a1_.article_id INNER JOIN locale l2_ ON a1_.locale_id = l2_.id WHERE (l2_.code = ? AND a0_.id IN (?)) AND a0_.discriminator IN ('service') ORDER BY a0_.created_at ASC
Parameters:
[ "fr_FR" [ 5 6 7 8 ] ] |
| 5 | 0.27 ms |
SELECT t0.id AS id_1, t0.code AS code_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4 FROM locale t0
Parameters:
[] |
| 6 | 0.61 ms |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
| 7 | 0.29 ms |
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[] |
| 8 | 0.87 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 = 'u385252836_staging' AND TABLE_NAME = 'doctrine_migration_versions' ORDER BY ORDINAL_POSITION ASC
Parameters:
[] |
| 9 | 0.36 ms |
SELECT DISTINCT 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 = 'doctrine_migration_versions' */ WHERE k.table_name = 'doctrine_migration_versions' AND k.table_schema = 'u385252836_staging' /*!50116 AND c.constraint_schema = 'u385252836_staging' */ AND k.`REFERENCED_COLUMN_NAME` is not NULL
Parameters:
[] |
| 10 | 0.20 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 = 'u385252836_staging' ORDER BY SEQ_IN_INDEX ASC
Parameters:
[] |
| 11 | 0.21 ms |
SELECT ENGINE, AUTO_INCREMENT, TABLE_COLLATION, TABLE_COMMENT, CREATE_OPTIONS FROM information_schema.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'doctrine_migration_versions'
Parameters:
[] |
| 12 | 0.20 ms |
SELECT * FROM doctrine_migration_versions
Parameters:
[] |
| 13 | 0.30 ms |
SELECT t0.id AS id_1, t0.code AS code_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4 FROM locale t0
Parameters:
[] |
| 14 | 1.26 ms |
SELECT s0_.id AS id_0, s0_.page AS page_1, s0_.link AS link_2, s0_.priority AS priority_3, s0_.direction AS direction_4, s0_.image_name AS image_name_5, s0_.mobile_image_name AS mobile_image_name_6, s1_.title AS title_7, s1_.sub_title AS sub_title_8, s1_.button AS button_9, s1_.text AS text_10 FROM slide s0_ INNER JOIN slide_translation s1_ ON s0_.id = s1_.slide_id INNER JOIN locale l2_ ON s1_.locale_id = l2_.id WHERE s0_.page = ? AND s0_.type = ? AND l2_.code = ? ORDER BY s0_.priority DESC
Parameters:
[ "home" "horse" "fr_FR" ] |
| 15 | 0.47 ms |
SELECT count(DISTINCT m0_.id) AS sclr_0 FROM media m0_ WHERE m0_.product_id IS NULL AND m0_.article_id IS NULL
Parameters:
[] |
| 16 | 0.20 ms |
SELECT DISTINCT m0_.id AS id_0 FROM media m0_ WHERE m0_.product_id IS NULL AND m0_.article_id IS NULL LIMIT 3
Parameters:
[] |
| 17 | 1.23 ms |
SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.email AS email_2, t0_.image_name AS image_name_3, t1_.testimony AS testimony_4 FROM testimonial t0_ INNER JOIN testimonial_translation t1_ ON t0_.id = t1_.testimonial_id INNER JOIN locale l2_ ON t1_.locale_id = l2_.id WHERE l2_.code = ? AND t0_.active = ? ORDER BY t0_.created_at DESC LIMIT 10
Parameters:
[ "fr_FR" 1 ] |
| 18 | 1.10 ms |
SELECT p0_.id AS id_0, p0_.type AS type_1, p0_.author AS author_2, p0_.date AS date_3, p0_.image_name AS image_name_4, p0_.author_image_name AS author_image_name_5, p1_.title AS title_6, p1_.description AS description_7 FROM post p0_ INNER JOIN post_translation p1_ ON p0_.id = p1_.post_id INNER JOIN locale l2_ ON p1_.locale_id = l2_.id WHERE l2_.code = ? ORDER BY p0_.created_at DESC LIMIT 10
Parameters:
[
"fr_FR"
]
|
| 19 | 1.15 ms |
SELECT p0_.id AS id_0, p0_.type AS type_1, p0_.author AS author_2, p0_.date AS date_3, p0_.image_name AS image_name_4, p0_.author_image_name AS author_image_name_5, p1_.title AS title_6, p1_.description AS description_7 FROM post p0_ INNER JOIN post_translation p1_ ON p0_.id = p1_.post_id INNER JOIN locale l2_ ON p1_.locale_id = l2_.id WHERE l2_.code = ? ORDER BY p0_.created_at DESC LIMIT 2
Parameters:
[
"fr_FR"
]
|
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 |
|---|---|
| Vich\UploaderBundle\Entity\File | No errors. |
| App\Entity\Course\Plan | No errors. |
| App\Entity\Article\Article | No errors. |
| App\Entity\Article\Service | No errors. |
| App\Entity\Booking\Booking | No errors. |
| App\Entity\User | No errors. |
| App\Entity\Course\PlanTranslation | No errors. |
| App\Entity\Locale | No errors. |
| App\Entity\Article\ArticleTranslation | No errors. |
| App\Entity\Category\CategoryTranslation | No errors. |
| App\Entity\Product\ProductTranslation | No errors. |
| App\Entity\Payment\PaymentMethodTranslation | No errors. |
| App\Entity\Slide\SlideTranslation | No errors. |
| App\Entity\Blog\PostTranslation | No errors. |
| App\Entity\Testimonial\TestimonialTranslation | No errors. |
| App\Entity\Faq\FaqTranslation | No errors. |
| App\Entity\Tax\TaxTranslation | No errors. |
| App\Entity\Media | No errors. |
| App\Entity\Address\Address | No errors. |
| App\Entity\Address\AddressUser | No errors. |
| App\Entity\Payment\Payment | No errors. |
| App\Entity\Category\Category | No errors. |
| App\Entity\Product\Product | No errors. |
| App\Entity\Discount | No errors. |
| App\Entity\Club | No errors. |
| App\Entity\Payment\PaymentMethod | No errors. |
| App\Entity\Currency\Currency | No errors. |
| App\Entity\Blog\Post | No errors. |
| App\Entity\Product\Review | No errors. |
| App\Entity\Testimonial\Testimonial | No errors. |
| App\Entity\Tax\Tax | No errors. |
| App\Entity\Slide\Slide | No errors. |
| App\Entity\Faq\Faq | No errors. |
| App\Entity\Article\Event | No errors. |
| App\Entity\Article\Competition | No errors. |
| App\Entity\Product\Horse | No errors. |
| App\Entity\Product\Camel | No errors. |
| App\Entity\Product\Quad | No errors. |
| App\Entity\Currency\ExchangeRate | No errors. |
| App\Entity\Blog\Comment | No errors. |
| App\Entity\ResetPasswordRequest | No errors. |
| App\Entity\Newsletter\Newsletter | No errors. |
| App\Entity\Banner\Banner | No errors. |
| App\Entity\ReservationDate | No errors. |