GET https://thorha.com/es/category/01a1b1c7-1352-7647-bba9-77e61661e5f2/categoria-electronica

Query Metrics

22 Database Queries
15 Different statements
11.80 ms Query time
0 Invalid entities
8 Managed entities

Grouped Statements

Show all queries

Time▼ Count Info
1.42 ms
(12.05%)
3
SELECT c0_.code AS code_0 FROM domain_allowed_currencies d1_ INNER JOIN currencies c0_ ON d1_.currency_id = c0_.id WHERE d1_.domain_id = ? AND d1_.active = 1 AND c0_.active = 1 ORDER BY c0_.code ASC
Parameters:
[
  b"\x01¡±Ç\v#u\x1E¼ÃIq\x1D\x14Á"
]
1.31 ms
(11.08%)
1
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.description AS description_2, p0_.public_price AS public_price_3, p0_.stock AS stock_4, MIN(i1_.image) AS sclr_5, c2_.code AS code_6, p0_.rating_average AS rating_average_7, p0_.rating_count AS rating_count_8 FROM products p0_ INNER JOIN domains d3_ ON p0_.domain_id = d3_.id LEFT JOIN currencies c2_ ON p0_.currency_id = c2_.id LEFT JOIN images_products i1_ ON p0_.id = i1_.product_id AND (i1_.active = ?) INNER JOIN products_categories p4_ ON (p4_.product_id = p0_.id AND p4_.active = ?) INNER JOIN categories c5_ ON p4_.category_id = c5_.id WHERE d3_.id = ? AND p0_.active = ? AND (p0_.stock IS NULL OR p0_.stock > 0) AND p0_.visibility IN (?) AND c5_.id = ? GROUP BY p0_.id, p0_.name, p0_.description, p0_.public_price, p0_.stock, c2_.code, p0_.rating_average, p0_.rating_count, p0_.created_at ORDER BY p0_.name ASC LIMIT 12
Parameters:
[
  1
  1
  b"\x01¡±Ç\v#u\x1E¼ÃIq\x1D\x14Á"
  1
  "public"
  b"\x01¡±Ç\x13RvG»©wæ\x16aåò"
]
0.98 ms
(8.29%)
1
SELECT t0.name AS name_1, t0.description AS description_2, t0.iso_code AS iso_code_3, t0.id AS id_4, t0.active AS active_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.currency_id AS currency_id_8 FROM countries t0 WHERE t0.iso_code = ? AND t0.active = ? LIMIT 1
Parameters:
[
  "US"
  1
]
0.93 ms
(7.89%)
1
SELECT COUNT(DISTINCT p0_.id) AS sclr_0 FROM products p0_ INNER JOIN domains d1_ ON p0_.domain_id = d1_.id LEFT JOIN currencies c2_ ON p0_.currency_id = c2_.id LEFT JOIN images_products i3_ ON p0_.id = i3_.product_id AND (i3_.active = ?) INNER JOIN products_categories p4_ ON (p4_.product_id = p0_.id AND p4_.active = ?) INNER JOIN categories c5_ ON p4_.category_id = c5_.id WHERE d1_.id = ? AND p0_.active = ? AND (p0_.stock IS NULL OR p0_.stock > 0) AND p0_.visibility IN (?) AND c5_.id = ? ORDER BY p0_.name ASC
Parameters:
[
  1
  1
  b"\x01¡±Ç\v#u\x1E¼ÃIq\x1D\x14Á"
  1
  "public"
  b"\x01¡±Ç\x13RvG»©wæ\x16aåò"
]
0.91 ms
(7.73%)
1
SELECT d0_.domain AS domain_0, d0_.name AS name_1, d0_.logo AS logo_2, d0_.notification_email AS notification_email_3, d0_.support_email AS support_email_4, d0_.facebook_url AS facebook_url_5, d0_.instagram_url AS instagram_url_6, d0_.pinterest_url AS pinterest_url_7, d0_.timezone AS timezone_8, d0_.min_cancellation_notice_minutes AS min_cancellation_notice_minutes_9, d0_.appointments_allow_online_payment AS appointments_allow_online_payment_10, d0_.appointments_max_advance_days AS appointments_max_advance_days_11, d0_.currency_mode AS currency_mode_12, d0_.appointments_allow_pay_at_business AS appointments_allow_pay_at_business_13, d0_.maintenance_mode AS maintenance_mode_14, d0_.maintenance_message AS maintenance_message_15, d0_.chat_enabled AS chat_enabled_16, d0_.reviews_require_approval AS reviews_require_approval_17, d0_.review_request_enabled AS review_request_enabled_18, d0_.review_request_delay_days AS review_request_delay_days_19, d0_.home_products_strategy AS home_products_strategy_20, d0_.appointments_music_enabled AS appointments_music_enabled_21, d0_.appointments_points_enabled AS appointments_points_enabled_22, d0_.membership_points_enabled AS membership_points_enabled_23, d0_.membership_points_per_checkin AS membership_points_per_checkin_24, d0_.membership_points_per_class AS membership_points_per_class_25, d0_.test_domain AS test_domain_26, d0_.home_sections AS home_sections_27, d0_.id AS id_28, d0_.active AS active_29, d0_.created_at AS created_at_30, d0_.updated_at AS updated_at_31, d0_.tenant_id AS tenant_id_32 FROM domains d0_ INNER JOIN tenants t1_ ON d0_.tenant_id = t1_.id WHERE d0_.domain IN (?, ?, ?, ?, ?, ?) AND d0_.active = 1 AND t1_.active = 1
Parameters:
[
  "http://thorha.com"
  "https://thorha.com"
  "thorha.com"
  "http://thorha.com/"
  "https://thorha.com/"
  "thorha.com/"
]
0.91 ms
(7.72%)
2
SELECT c0_.id AS id_0 FROM countries_catalogs c1_ INNER JOIN countries c0_ ON c1_.country_id = c0_.id WHERE c1_.catalogs_id = ? AND c1_.active = ?
Parameters:
[
  b"\x01¡±Ç\x13Rps»©wæ\x15ç­ï"
  1
]
0.83 ms
(7.08%)
2
SELECT t0.money_per_point AS money_per_point_1, t0.point_value AS point_value_2, t0.min_points_to_redeem AS min_points_to_redeem_3, t0.max_redeem_percent AS max_redeem_percent_4, t0.expiration_days AS expiration_days_5, t0.id AS id_6, t0.active AS active_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.domain_id AS domain_id_10 FROM point_conditions t0 WHERE t0.domain_id = ? AND t0.active = ? ORDER BY t0.created_at ASC
Parameters:
[
  b"\x01¡±Ç\v#u\x1E¼ÃIq\x1D\x14Á"
  1
]
0.76 ms
(6.47%)
2
SELECT r0_.id AS id_0 FROM regions_catalogs r1_ INNER JOIN regions r0_ ON r1_.region_id = r0_.id WHERE r1_.catalogs_id = ? AND r1_.active = ?
Parameters:
[
  b"\x01¡±Ç\x13Rps»©wæ\x15ç­ï"
  1
]
0.70 ms
(5.95%)
2
SELECT c0_.id AS id_0 FROM cities_catalogs c1_ INNER JOIN cities c0_ ON c1_.city_id = c0_.id WHERE c1_.catalogs_id = ? AND c1_.active = ?
Parameters:
[
  b"\x01¡±Ç\x13Rps»©wæ\x15ç­ï"
  1
]
0.68 ms
(5.72%)
2
SELECT t0.code AS code_1, t0.name AS name_2, t0.symbol AS symbol_3, t0.decimal_places AS decimal_places_4, t0.thousands_separator AS thousands_separator_5, t0.decimal_separator AS decimal_separator_6, t0.id AS id_7, t0.active AS active_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10 FROM currencies t0 WHERE t0.code = ? AND t0.active = ? LIMIT 1
Parameters:
[
  "USD"
  1
]
0.56 ms
(4.72%)
1
SELECT s0_.page_url AS page_url_0, s0_.id AS id_1, s0_.active AS active_2, s0_.created_at AS created_at_3, s0_.updated_at AS updated_at_4, s0_.page_type AS page_type_5, s0_.meta_title AS meta_title_6, s0_.meta_description AS meta_description_7, s0_.meta_keywords AS meta_keywords_8, s0_.canonical_url AS canonical_url_9, s0_.robots_directive AS robots_directive_10, s0_.og_title AS og_title_11, s0_.og_description AS og_description_12, s0_.og_image AS og_image_13, s0_.scope AS scope_14, s0_.domain_id AS domain_id_15 FROM seo s0_ WHERE (s0_.domain_id = ? AND s0_.page_url = ? AND s0_.active = ?) AND s0_.scope IN ('page') LIMIT 1
Parameters:
[
  b"\x01¡±Ç\v#u\x1E¼ÃIq\x1D\x14Á"
  "/es/category/01a1b1c7-1352-7647-bba9-77e61661e5f2/categoria-electronica"
  1
]
0.54 ms
(4.55%)
1
SELECT c0_.name AS name_0, c0_.description AS description_1, c0_.id AS id_2, c0_.active AS active_3, c0_.created_at AS created_at_4, c0_.updated_at AS updated_at_5, c0_.domain_id AS domain_id_6 FROM catalogs c0_ INNER JOIN domains d1_ ON c0_.domain_id = d1_.id WHERE d1_.id = ? AND c0_.active = ?
Parameters:
[
  b"\x01¡±Ç\v#u\x1E¼ÃIq\x1D\x14Á"
  1
]
0.46 ms
(3.88%)
1
SELECT t0.code AS code_1, t0.name AS name_2, t0.symbol AS symbol_3, t0.decimal_places AS decimal_places_4, t0.thousands_separator AS thousands_separator_5, t0.decimal_separator AS decimal_separator_6, t0.id AS id_7, t0.active AS active_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10 FROM currencies t0 WHERE t0.active = ? ORDER BY t0.code ASC
Parameters:
[
  1
]
0.42 ms
(3.59%)
1
SELECT t0.code AS code_1, t0.name AS name_2, t0.symbol AS symbol_3, t0.decimal_places AS decimal_places_4, t0.thousands_separator AS thousands_separator_5, t0.decimal_separator AS decimal_separator_6, t0.id AS id_7, t0.active AS active_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10 FROM currencies t0 WHERE t0.id = ?
Parameters:
[
  b"\x01¡±Ç\x15²~¶»\r_ô\x02 N²"
]
0.39 ms
(3.28%)
1
SELECT t0.name AS name_1, t0.description AS description_2, t0.image AS image_3, t0.specification_template AS specification_template_4, t0.size_guide AS size_guide_5, t0.id AS id_6, t0.active AS active_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.domain_id AS domain_id_10 FROM categories t0 WHERE t0.id = ?
Parameters:
[
  b"\x01¡±Ç\x13RvG»©wæ\x16aåò"
]

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\Tenants\Currencies\Currencies 2
App\Entity\Products\Catalogs\Catalogs 2
App\Entity\Configurations\Globals\Countries 1
App\Entity\Tenants\Domains\Domains 1
App\Entity\Tenants\Tenants 1
App\Entity\Products\Categories\Categories 1