GET https://indecoder.ru/function/anti-acne

Query Metrics

6 Database Queries
6 Different statements
5.55 ms Query time
0 Invalid entities
18 Managed entities

Queries

Group similar statements

# Time Info
1 0.61 ms
SELECT t0.id AS id_1, t0.function_name AS function_name_2, t0.slug AS slug_3, t0.function_desctiption AS function_desctiption_4, t0.readable AS readable_5, t0.official AS official_6 FROM functions t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "anti-acne"
]
2 0.72 ms
SELECT field_name, content FROM translations
             WHERE entity_type = ? AND entity_id = ? AND locale = ?
Parameters:
[
  "function"
  186
  "ru"
]
3 0.40 ms
SELECT COUNT(*) FROM translations
             WHERE entity_type = ? AND entity_id = ? AND locale = ?
Parameters:
[
  "function"
  186
  "ru"
]
4 1.08 ms
SELECT count(DISTINCT i0_.id) AS sclr_0 FROM ingredients i0_ INNER JOIN function_to_ingredient f2_ ON i0_.id = f2_.ingredient_id INNER JOIN functions f1_ ON f1_.id = f2_.function_id WHERE f1_.id = ?
Parameters:
[
  186
]
5 1.00 ms
SELECT DISTINCT i0_.id AS id_0, i0_.ingredient_name AS ingredient_name_1 FROM ingredients i0_ INNER JOIN function_to_ingredient f2_ ON i0_.id = f2_.ingredient_id INNER JOIN functions f1_ ON f1_.id = f2_.function_id WHERE f1_.id = ? ORDER BY i0_.ingredient_name ASC LIMIT 50
Parameters:
[
  186
]
6 1.75 ms
SELECT i0_.id AS id_0, i0_.ingredient_name AS ingredient_name_1, i0_.slug AS slug_2, i0_.ingredient_image AS ingredient_image_3, i0_.ingredient_second_name AS ingredient_second_name_4, i0_.is_goodie AS is_goodie_5, i0_.all_functions AS all_functions_6, i0_.ingr_irritancy AS ingr_irritancy_7, i0_.ingr_comedogencity AS ingr_comedogencity_8, i0_.ingr_description AS ingr_description_9, i0_.ingr_cas_1 AS ingr_cas_1_10, i0_.ingr_ec_number_1 AS ingr_ec_number_1_11, i0_.ingr_ec_number_2 AS ingr_ec_number_2_12, i0_.ingr_details AS ingr_details_13, i0_.UPAC_Name AS UPAC_Name_14, i0_.Ph_Eur_Name AS Ph_Eur_Name_15, i0_.Cosmetic_Restrictions AS Cosmetic_Restrictions_16, i0_.Details AS Details_17, i0_.Geeky_Details AS Geeky_Details_18 FROM ingredients i0_ INNER JOIN function_to_ingredient f2_ ON i0_.id = f2_.ingredient_id INNER JOIN functions f1_ ON f1_.id = f2_.function_id WHERE f1_.id = ? AND i0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY i0_.ingredient_name ASC
Parameters:
[
  186
  18688
  18359
  16981
  16982
  18305
  16995
  17309
  16921
  18801
  17541
  17751
  17693
  16832
  16854
  18802
  17431
  17255
]

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\Ingredient 17
App\Entity\IngredientFunction 1

Entities Mapping

Class Mapping errors
App\Entity\IngredientFunction No errors.
App\Entity\Ingredient No errors.
App\Entity\IngredientList No errors.
App\Entity\IngredientAka No errors.
App\Entity\QuickFact No errors.
App\Entity\SccsOpinion No errors.