https://staging.family-horse.com/newsletter/fr?type=sidebar

Query Metrics

16 Database Queries
14 Different statements
7.07 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.63 ms
SELECT t0.id AS id_1, t0.page AS page_2, t0.type AS type_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.image_name AS image_name_6, t0.image_original_name AS image_original_name_7, t0.image_mime_type AS image_mime_type_8, t0.image_size AS image_size_9, t0.image_dimensions AS image_dimensions_10 FROM banner t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
  "horse"
]
2 0.48 ms
SELECT count(DISTINCT p0_.id) AS sclr_0 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 = ?
Parameters:
[
  "fr_FR"
]
3 0.35 ms
SELECT DISTINCT p0_.id AS id_0, p0_.created_at AS created_at_1 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 5
Parameters:
[
  "fr_FR"
]
4 1.09 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 = ? AND p0_.id IN (?) ORDER BY p0_.created_at DESC
Parameters:
[
  "fr_FR"
  [
    10
    9
    8
    7
    6
  ]
]
5 0.85 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 5
Parameters:
[
  "fr_FR"
]
6 0.32 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:
[]
7 0.23 ms
SELECT DISTINCT m0_.id AS id_0 FROM media m0_ WHERE m0_.product_id IS NULL AND m0_.article_id IS NULL LIMIT 6
Parameters:
[]
8 0.19 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:
[]
9 0.44 ms
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[]
10 0.31 ms
SHOW FULL TABLES WHERE Table_type = 'BASE TABLE'
Parameters:
[]
11 0.97 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:
[]
12 0.33 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:
[]
13 0.27 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:
[]
14 0.23 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:
[]
15 0.18 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
16 0.22 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:
[]

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\Banner\Banner No errors.
App\Entity\Blog\Post No errors.
App\Entity\Media No errors.
App\Entity\Blog\PostTranslation No errors.
App\Entity\Locale 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\Testimonial\TestimonialTranslation No errors.
App\Entity\Article\ArticleTranslation No errors.
App\Entity\Faq\FaqTranslation No errors.
App\Entity\Tax\TaxTranslation No errors.
App\Entity\Course\PlanTranslation No errors.
App\Entity\User No errors.
App\Entity\Blog\Comment No errors.
App\Entity\Product\Product No errors.
App\Entity\Article\Article No errors.
App\Entity\Category\Category No errors.
App\Entity\Payment\PaymentMethod No errors.
App\Entity\Slide\Slide No errors.
App\Entity\Testimonial\Testimonial No errors.
App\Entity\Faq\Faq No errors.
App\Entity\Tax\Tax No errors.
App\Entity\Course\Plan No errors.
App\Entity\Address\Address No errors.
App\Entity\Discount No errors.
App\Entity\Club No errors.
App\Entity\Booking\Booking No errors.
App\Entity\Currency\Currency No errors.
App\Entity\Product\Review No errors.
App\Entity\Address\AddressUser No errors.
App\Entity\Product\Horse No errors.
App\Entity\Product\Camel No errors.
App\Entity\Product\Quad No errors.
App\Entity\Article\Event No errors.
App\Entity\Article\Competition No errors.
App\Entity\Article\Service No errors.
App\Entity\Payment\Payment No errors.
App\Entity\ResetPasswordRequest No errors.
App\Entity\Newsletter\Newsletter No errors.
App\Entity\Currency\ExchangeRate No errors.
App\Entity\ReservationDate No errors.