GET https://area51.beautytroc.fr/troqueuse/lilybeauty0

Query Metrics

16 Database Queries
9 Different statements
10.52 ms Query time
0 Invalid entities
43 Managed entities

Queries

Group similar statements

#▲ Time Info
1 0.90 ms
SELECT t0.id AS id_1, t0.username AS username_2, t0.username_canonical AS username_canonical_3, t0.old_username_canonical AS old_username_canonical_4, t0.email AS email_5, t0.email_canonical AS email_canonical_6, t0.enabled AS enabled_7, t0.salt AS salt_8, t0.password AS password_9, t0.last_login AS last_login_10, t0.confirmation_token AS confirmation_token_11, t0.password_requested_at AS password_requested_at_12, t0.star AS star_13, t0.roles AS roles_14, t0.user_avatar AS user_avatar_15, t0.user_regdate AS user_regdate_16, t0.user_phone AS user_phone_17, t0.user_trocs AS user_trocs_18, t0.user_products AS user_products_19, t0.user_moyenne AS user_moyenne_20, t0.user_name AS user_name_21, t0.user_first_name AS user_first_name_22, t0.user_address AS user_address_23, t0.user_complementary_address AS user_complementary_address_24, t0.user_cp AS user_cp_25, t0.user_city AS user_city_26, t0.biography AS biography_27, t0.facebook_id AS facebook_id_28, t0.facebook_access_token AS facebook_access_token_29, t0.twitter_id AS twitter_id_30, t0.twitter_access_token AS twitter_access_token_31, t0.wallet AS wallet_32, t0.latitude AS latitude_33, t0.longitude AS longitude_34 FROM bt_users t0 WHERE t0.username_canonical = ? LIMIT 1
Parameters:
[
  "lilybeauty0"
]
2 0.93 ms
SELECT t0.id AS id_1, t0.old_id AS old_id_2, t0.username AS username_3, t0.name AS name_4, t0.master_image AS master_image_5, t0.bio AS bio_6, t0.capacity AS capacity_7, t0.etat AS etat_8, t0.comment AS comment_9, t0.statut AS statut_10, t0.pattern AS pattern_11, t0.datetime AS datetime_12, t0.expiration AS expiration_13, t0.slug AS slug_14, t0.view AS view_15, t0.user_id AS user_id_16, t0.brand_id AS brand_id_17, t0.parent_category_id AS parent_category_id_18, t0.category_id AS category_id_19, t0.box_id AS box_id_20 FROM bt_products t0 WHERE t0.user_id = ? AND t0.statut = ? ORDER BY t0.datetime DESC LIMIT 12
Parameters:
[
  8243
  1
]
3 0.94 ms
SELECT count(DISTINCT b0_.id) AS sclr_0 FROM bt_evaluations b0_ LEFT JOIN bt_users b1_ ON b0_.from_user_id = b1_.id LEFT JOIN bt_evaluations b2_ ON b0_.id = b2_.reply_to_id WHERE b0_.to_user_id = ? AND b0_.reply_to_id IS NULL
Parameters:
[
  8243
]
4 0.71 ms
SELECT DISTINCT b0_.id AS id_0, b0_.datetime AS datetime_1 FROM bt_evaluations b0_ LEFT JOIN bt_users b1_ ON b0_.from_user_id = b1_.id LEFT JOIN bt_evaluations b2_ ON b0_.id = b2_.reply_to_id WHERE b0_.to_user_id = ? AND b0_.reply_to_id IS NULL ORDER BY b0_.datetime DESC LIMIT 5
Parameters:
[
  8243
]
5 1.16 ms
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.lft AS lft_2, b0_.lvl AS lvl_3, b0_.rgt AS rgt_4, b0_.slug AS slug_5, b0_.nb_products AS nb_products_6 FROM bt_categories b0_ ORDER BY b0_.root_id ASC, b0_.lft ASC
Parameters:
[]
6 0.64 ms
SELECT t0.id AS id_1, t0.watched_user_id AS watched_user_id_2, t0.watched_product_id AS watched_product_id_3, t0.user_id AS user_id_4 FROM bt_favorites t0 WHERE t0.user_id = ?
Parameters:
[
  8243
]
7 0.58 ms
SELECT t0.id AS id_1, t0.watched_user_id AS watched_user_id_2, t0.watched_product_id AS watched_product_id_3, t0.user_id AS user_id_4 FROM bt_favorites t0 WHERE t0.watched_user_id = ?
Parameters:
[
  8243
]
8 0.50 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.slug AS slug_6, t0.nb_products AS nb_products_7, t0.root_id AS root_id_8, t0.parent_id AS parent_id_9 FROM bt_categories t0 WHERE t0.id = ?
Parameters:
[
  2
]
9 0.38 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.slug AS slug_6, t0.nb_products AS nb_products_7, t0.root_id AS root_id_8, t0.parent_id AS parent_id_9 FROM bt_categories t0 WHERE t0.id = ?
Parameters:
[
  27
]
10 0.54 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.slug AS slug_6, t0.nb_products AS nb_products_7, t0.root_id AS root_id_8, t0.parent_id AS parent_id_9 FROM bt_categories t0 WHERE t0.id = ?
Parameters:
[
  3
]
11 0.40 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.slug AS slug_6, t0.nb_products AS nb_products_7, t0.root_id AS root_id_8, t0.parent_id AS parent_id_9 FROM bt_categories t0 WHERE t0.id = ?
Parameters:
[
  38
]
12 0.56 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.slug AS slug_6, t0.nb_products AS nb_products_7, t0.root_id AS root_id_8, t0.parent_id AS parent_id_9 FROM bt_categories t0 WHERE t0.id = ?
Parameters:
[
  39
]
13 0.52 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.slug AS slug_6, t0.nb_products AS nb_products_7, t0.root_id AS root_id_8, t0.parent_id AS parent_id_9 FROM bt_categories t0 WHERE t0.id = ?
Parameters:
[
  1
]
14 0.60 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.slug AS slug_6, t0.nb_products AS nb_products_7, t0.root_id AS root_id_8, t0.parent_id AS parent_id_9 FROM bt_categories t0 WHERE t0.id = ?
Parameters:
[
  16
]
15 0.48 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.slug AS slug_6, t0.nb_products AS nb_products_7, t0.root_id AS root_id_8, t0.parent_id AS parent_id_9 FROM bt_categories t0 WHERE t0.id = ?
Parameters:
[
  12
]
16 0.68 ms
SELECT t0.id AS id_1, t0.note AS note_2, t0.advice AS advice_3, t0.datetime AS datetime_4, t0.troc_id AS troc_id_5, t0.from_user_id AS from_user_id_6, t0.to_user_id AS to_user_id_7, t8.id AS id_9, t8.note AS note_10, t8.advice AS advice_11, t8.datetime AS datetime_12, t8.troc_id AS troc_id_13, t8.from_user_id AS from_user_id_14, t8.to_user_id AS to_user_id_15, t8.reply_to_id AS reply_to_id_16, t0.reply_to_id AS reply_to_id_17 FROM bt_evaluations t0 LEFT JOIN bt_evaluations t8 ON t8.reply_to_id = t0.id WHERE t0.to_user_id = ?
Parameters:
[
  8243
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Favorite 13
App\Entity\Product 12
App\Entity\Category 8
App\Entity\User 7
App\Entity\Brand 3