Query Metrics
62
Database Queries
15
Different statements
19.82 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
11.67 ms (58.88%) |
40 |
SELECT tr.id_state FROM n4u0_tax_rules_group trg INNER JOIN n4u0_tax_rule tr ON tr.id_tax_rules_group = trg.id_tax_rules_group INNER JOIN n4u0_tax t ON t.id_tax = tr.id_tax WHERE (trg.id_tax_rules_group = :taxRulesGroupId) AND (tr.id_country = :countryId) AND (trg.deleted = 0)
Parameters:
[ "taxRulesGroupId" => 53 "countryId" => 82 ] |
|
1.53 ms (7.74%) |
1 |
SELECT p.`id_product`, p.`reference`, p.`id_shop_default`, ps.`price` AS `price_tax_excluded`, ps.`ecotax` AS `ecotax_tax_excluded`, ps.`id_tax_rules_group`, ps.`active`, pl.`name`, pl.`link_rewrite`, cl.`name` AS `category`, img_shop.`id_image`, img_lang.legend, p.`id_tax_rules_group`, (ps.`price` + ps.`ecotax`) AS `final_price_tax_excluded`, IF(sa.`quantity` IS NULL OR sa.`quantity` = '', 0, sa.`quantity`) AS quantity FROM n4u0_product p INNER JOIN n4u0_product_shop ps ON ps.`id_product` = p.`id_product` AND ps.`id_shop` = :shopId LEFT JOIN n4u0_shop s ON s.`id_shop` = ps.`id_shop` LEFT JOIN n4u0_product_lang pl ON pl.`id_product` = p.`id_product` AND pl.`id_lang` = :langId AND pl.`id_shop` = :shopId LEFT JOIN n4u0_stock_available sa ON sa.`id_product` = p.`id_product` AND sa.`id_product_attribute` = 0 AND sa.`id_shop` = :shopId LEFT JOIN n4u0_category_lang cl ON cl.`id_category` = ps.`id_category_default` AND cl.`id_lang` = :langId AND cl.`id_shop` = :shopId LEFT JOIN n4u0_image_shop img_shop ON img_shop.`id_product` = ps.`id_product` AND img_shop.`cover` = 1 AND img_shop.`id_shop` = :shopId LEFT JOIN n4u0_image_lang img_lang ON img_shop.`id_image` = img_lang.`id_image` AND img_lang.`id_lang` = :langId WHERE p.`state` = 1 ORDER BY name asc LIMIT 20
Parameters:
[ "langId" => 1 "shopId" => 1 ] |
|
1.16 ms (5.85%) |
6 |
SELECT t0.id_tab AS id_tab_1, t0.id_parent AS id_parent_2, t0.position AS position_3, t0.module AS module_4, t0.class_name AS class_name_5, t0.route_name AS route_name_6, t0.active AS active_7, t0.enabled AS enabled_8, t0.icon AS icon_9, t0.wording AS wording_10, t0.wording_domain AS wording_domain_11 FROM n4u0_tab t0 WHERE t0.id_tab = ? LIMIT 1
Parameters:
[
10
]
|
|
0.79 ms (3.99%) |
2 |
SELECT q.id_quick_access, q.new_window, q.link, ql.name FROM n4u0_quick_access q INNER JOIN n4u0_quick_access_lang ql ON q.id_quick_access = ql.id_quick_access WHERE ql.id_lang = :languageId ORDER BY ql.name ASC
Parameters:
[ "languageId" => 1 ] |
|
0.77 ms (3.87%) |
1 |
SELECT COUNT(p.`id_product`) FROM n4u0_product p INNER JOIN n4u0_product_shop ps ON ps.`id_product` = p.`id_product` AND ps.`id_shop` = :shopId LEFT JOIN n4u0_shop s ON s.`id_shop` = ps.`id_shop` LEFT JOIN n4u0_product_lang pl ON pl.`id_product` = p.`id_product` AND pl.`id_lang` = :langId AND pl.`id_shop` = :shopId LEFT JOIN n4u0_stock_available sa ON sa.`id_product` = p.`id_product` AND sa.`id_product_attribute` = 0 AND sa.`id_shop` = :shopId LEFT JOIN n4u0_category_lang cl ON cl.`id_category` = ps.`id_category_default` AND cl.`id_lang` = :langId AND cl.`id_shop` = :shopId LEFT JOIN n4u0_image_shop img_shop ON img_shop.`id_product` = ps.`id_product` AND img_shop.`cover` = 1 AND img_shop.`id_shop` = :shopId LEFT JOIN n4u0_image_lang img_lang ON img_shop.`id_image` = img_lang.`id_image` AND img_lang.`id_lang` = :langId WHERE p.`state` = 1
Parameters:
[ "langId" => 1 "shopId" => 1 ] |
|
0.62 ms (3.14%) |
2 |
SELECT t0.id AS id_1, t0.employee AS employee_2, t0.shop AS shop_3, t0.controller AS controller_4, t0.action AS action_5, t0.filter AS filter_6, t0.filter_id AS filter_id_7 FROM n4u0_admin_filter t0 WHERE t0.employee = ? AND t0.shop = ? AND t0.filter_id = ? LIMIT 1
Parameters:
[ 4 1 "product" ] |
|
0.61 ms (3.09%) |
1 |
SELECT n0_.id_employee AS id_employee_0, n0_.firstname AS firstname_1, n0_.lastname AS lastname_2, n0_.email AS email_3, n0_.passwd AS passwd_4, n0_.last_passwd_gen AS last_passwd_gen_5, n0_.reset_password_token AS reset_password_token_6, n0_.reset_password_validity AS reset_password_validity_7, n0_.default_tab AS default_tab_8, n0_.active AS active_9, n0_.last_connection_date AS last_connection_date_10, n0_.has_enabled_gravatar AS has_enabled_gravatar_11, n0_.stats_date_from AS stats_date_from_12, n0_.stats_date_to AS stats_date_to_13, n0_.stats_compare_from AS stats_compare_from_14, n0_.stats_compare_to AS stats_compare_to_15, n0_.stats_compare_option AS stats_compare_option_16, n0_.preselect_date_range AS preselect_date_range_17, n0_.bo_color AS bo_color_18, n0_.bo_theme AS bo_theme_19, n0_.bo_css AS bo_css_20, n0_.bo_width AS bo_width_21, n0_.bo_menu AS bo_menu_22, n0_.optin AS optin_23, n0_.id_last_order AS id_last_order_24, n0_.id_last_customer_message AS id_last_customer_message_25, n0_.id_last_customer AS id_last_customer_26, n0_.id_employee AS id_employee_27, n0_.firstname AS firstname_28, n0_.lastname AS lastname_29, n0_.email AS email_30, n0_.passwd AS passwd_31, n0_.last_passwd_gen AS last_passwd_gen_32, n0_.reset_password_token AS reset_password_token_33, n0_.reset_password_validity AS reset_password_validity_34, n0_.default_tab AS default_tab_35, n0_.active AS active_36, n0_.last_connection_date AS last_connection_date_37, n0_.has_enabled_gravatar AS has_enabled_gravatar_38, n0_.stats_date_from AS stats_date_from_39, n0_.stats_date_to AS stats_date_to_40, n0_.stats_compare_from AS stats_compare_from_41, n0_.stats_compare_to AS stats_compare_to_42, n0_.stats_compare_option AS stats_compare_option_43, n0_.preselect_date_range AS preselect_date_range_44, n0_.bo_color AS bo_color_45, n0_.bo_theme AS bo_theme_46, n0_.bo_css AS bo_css_47, n0_.bo_width AS bo_width_48, n0_.bo_menu AS bo_menu_49, n0_.optin AS optin_50, n0_.id_last_order AS id_last_order_51, n0_.id_last_customer_message AS id_last_customer_message_52, n0_.id_last_customer AS id_last_customer_53, n1_.id_profile AS id_profile_54, n2_.id_lang AS id_lang_55, n2_.name AS name_56, n2_.active AS active_57, n2_.iso_code AS iso_code_58, n2_.language_code AS language_code_59, n2_.locale AS locale_60, n2_.date_format_lite AS date_format_lite_61, n2_.date_format_full AS date_format_full_62, n2_.is_rtl AS is_rtl_63, n3_.id_employee_session AS id_employee_session_64, n3_.token AS token_65, n3_.date_add AS date_add_66, n3_.date_upd AS date_upd_67, n0_.id_profile AS id_profile_68, n0_.id_lang AS id_lang_69, n3_.id_employee AS id_employee_70 FROM n4u0_employee n0_ LEFT JOIN n4u0_profile n1_ ON n0_.id_profile = n1_.id_profile LEFT JOIN n4u0_lang n2_ ON n0_.id_lang = n2_.id_lang LEFT JOIN n4u0_employee_session n3_ ON n0_.id_employee = n3_.id_employee WHERE n0_.email = ?
Parameters:
[
"sila27.3.2022@gmail.com"
]
|
|
0.53 ms (2.65%) |
2 |
SELECT s.id_shop_group FROM n4u0_shop s WHERE s.id_shop = :shopId
Parameters:
[ "shopId" => 1 ] |
|
0.40 ms (2.03%) |
1 |
SELECT t0.id_tab AS id_tab_1, t0.id_parent AS id_parent_2, t0.position AS position_3, t0.module AS module_4, t0.class_name AS class_name_5, t0.route_name AS route_name_6, t0.active AS active_7, t0.enabled AS enabled_8, t0.icon AS icon_9, t0.wording AS wording_10, t0.wording_domain AS wording_domain_11 FROM n4u0_tab t0 WHERE t0.route_name = ? LIMIT 1
Parameters:
[
"admin_products_index"
]
|
|
0.38 ms (1.90%) |
1 |
SELECT n0_.id_tab AS id_tab_0, n0_.class_name AS class_name_1 FROM n4u0_tab n0_ WHERE n0_.class_name = BINARY(?) AND n0_.id_tab <> 0
Parameters:
[
"AdminProducts"
]
|
|
0.35 ms (1.75%) |
1 |
SELECT t0.id_authorization_role AS id_authorization_role_1, t0.slug AS slug_2 FROM n4u0_authorization_role t0 INNER JOIN n4u0_access ON t0.id_authorization_role = n4u0_access.id_authorization_role WHERE n4u0_access.id_profile = ?
Parameters:
[
4
]
|
|
0.33 ms (1.68%) |
1 |
SELECT t0.id_employee AS id_employee_1, t0.firstname AS firstname_2, t0.lastname AS lastname_3, t0.email AS email_4, t0.passwd AS passwd_5, t0.last_passwd_gen AS last_passwd_gen_6, t0.reset_password_token AS reset_password_token_7, t0.reset_password_validity AS reset_password_validity_8, t0.default_tab AS default_tab_9, t0.active AS active_10, t0.last_connection_date AS last_connection_date_11, t0.has_enabled_gravatar AS has_enabled_gravatar_12, t0.stats_date_from AS stats_date_from_13, t0.stats_date_to AS stats_date_to_14, t0.stats_compare_from AS stats_compare_from_15, t0.stats_compare_to AS stats_compare_to_16, t0.stats_compare_option AS stats_compare_option_17, t0.preselect_date_range AS preselect_date_range_18, t0.bo_color AS bo_color_19, t0.bo_theme AS bo_theme_20, t0.bo_css AS bo_css_21, t0.bo_width AS bo_width_22, t0.bo_menu AS bo_menu_23, t0.optin AS optin_24, t0.id_last_order AS id_last_order_25, t0.id_last_customer_message AS id_last_customer_message_26, t0.id_last_customer AS id_last_customer_27, t0.id_profile AS id_profile_28, t0.id_lang AS id_lang_29 FROM n4u0_employee t0 WHERE t0.id_employee = ?
Parameters:
[
4
]
|
|
0.25 ms (1.24%) |
1 |
SELECT t0.id_tab AS id_tab_1, t0.id_parent AS id_parent_2, t0.position AS position_3, t0.module AS module_4, t0.class_name AS class_name_5, t0.route_name AS route_name_6, t0.active AS active_7, t0.enabled AS enabled_8, t0.icon AS icon_9, t0.wording AS wording_10, t0.wording_domain AS wording_domain_11 FROM n4u0_tab t0 WHERE t0.class_name = ? LIMIT 1
Parameters:
[
"AdminProducts"
]
|
|
0.23 ms (1.16%) |
1 |
SELECT t0.id_employee_session AS id_employee_session_1, t0.token AS token_2, t0.date_add AS date_add_3, t0.date_upd AS date_upd_4, t0.id_employee AS id_employee_5 FROM n4u0_employee_session t0 WHERE t0.id_employee = ?
Parameters:
[
4
]
|
|
0.20 ms (1.03%) |
1 |
SELECT s.id_shop FROM n4u0_shop s
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 |
|---|---|
| PrestaShopBundle\Entity\Employee\Employee | No errors. |
| PrestaShopBundle\Entity\Employee\Profile | No errors. |
| PrestaShopBundle\Entity\Lang | No errors. |
| PrestaShopBundle\Entity\Employee\EmployeeSession | No errors. |
| PrestaShopBundle\Entity\Employee\AuthorizationRole | No errors. |
| PrestaShopBundle\Entity\Translation | No errors. |
| PrestaShopBundle\Entity\Shop | No errors. |
| PrestaShopBundle\Entity\Tab | No errors. |
| PrestaShopBundle\Entity\AdminFilter | No errors. |
| PrestaShopBundle\Entity\TabLang | No errors. |
| PrestaShopBundle\Entity\ShopGroup | No errors. |
| PrestaShopBundle\Entity\ShopUrl | No errors. |