GET https://ccms.shady.ro/store/DHgate

Query Metrics

27 Database Queries
17 Different statements
51.34 ms Query time
0 Invalid entities
43 Managed entities

Grouped Statements

Show all queries

Time Count Info
19.03 ms
(37.06%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.value_text AS value_text_4, t0.ord AS ord_5, t0.u_value AS u_value_6, t0.insert_date AS insert_date_7, t0.store_id AS store_id_8 FROM store_meta t0 WHERE t0.store_id = ? AND t0.name = ? LIMIT 1
Parameters:
[
  42
  "description"
]
6.25 ms
(12.17%)
4
SELECT t0.id AS id_1, t0.name_id AS name_id_2, t0.category_id AS category_id_3, t0.name AS name_4, t0.value AS value_5 FROM options t0 WHERE t0.name_id = ? AND t0.category_id = ? LIMIT 1
Parameters:
[
  "pref"
  "settings"
]
4.10 ms
(7.98%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.logo AS logo_2, s0_.url AS url_3, s0_.cashback AS cashback_4, s0_.featured AS featured_5, s0_.offline AS offline_6, s0_.status AS status_7, s0_.channel AS channel_8, s0_.ext_mapping AS ext_mapping_9, s0_.insert_date AS insert_date_10, COUNT(c1_.id) AS sclr_11, (CASE WHEN f2_.id IS NOT NULL THEN 1 ELSE 0 END) AS sclr_12 FROM stores s0_ INNER JOIN countries_lnk c3_ ON (c3_.entity_type = 1 AND c3_.entity_id = s0_.id AND c3_.country = ?) LEFT JOIN coupons c1_ ON (c1_.store_id = s0_.id) LEFT JOIN favorites_lnk f2_ ON (f2_.store_id = s0_.id AND f2_.user_id = ?) WHERE s0_.status = ? AND s0_.name LIKE ? GROUP BY s0_.id LIMIT 50
Parameters:
[
  "1"
  0
  1
  "%DHgate%"
]
3.93 ms
(7.66%)
1
SELECT c0_.id AS id_0, c0_.title AS title_1, c0_.user_id AS user_id_2, c0_.status AS status_3, c0_.code AS code_4, c0_.type AS type_5, c0_.discount_value AS discount_value_6, c0_.currency AS currency_7, c0_.start_date AS start_date_8, c0_.end_date AS end_date_9, c0_.exclusive AS exclusive_10, c0_.featured AS featured_11, c0_.verified AS verified_12, c0_.usage_limit AS usage_limit_13, c0_.usage_count AS usage_count_14, c0_.clicks AS clicks_15, c0_.conversions AS conversions_16, c0_.priority_score AS priority_score_17, c0_.notes AS notes_18, c0_.user_submit AS user_submit_19, c0_.insert_date AS insert_date_20, s1_.id AS id_21, s1_.name AS name_22, s1_.logo AS logo_23, s1_.url AS url_24, s1_.cashback AS cashback_25, s1_.featured AS featured_26, s1_.offline AS offline_27, s1_.status AS status_28, s1_.channel AS channel_29, s1_.ext_mapping AS ext_mapping_30, s1_.insert_date AS insert_date_31, c0_.store_id AS store_id_32 FROM coupons c0_ INNER JOIN stores s1_ ON c0_.store_id = s1_.id INNER JOIN countries_lnk c2_ ON (c2_.entity_type = ? AND c2_.entity_id = s1_.id AND c2_.country = ?) WHERE c0_.status = ? AND c0_.store_id = ? ORDER BY c0_.priority_score DESC LIMIT 10
Parameters:
[
  1
  "1"
  1
  42
]
3.37 ms
(6.57%)
1
SELECT t0.id AS id_1, t0.entity_type AS entity_type_2, t0.entity_id AS entity_id_3, t0.category AS category_4, t0.insert_date AS insert_date_5 FROM categories_lnk t0 WHERE t0.entity_type = ? AND t0.entity_id = ?
Parameters:
[
  1
  42
]
2.41 ms
(4.69%)
4
SELECT t0.id AS id_1, t0.name AS name_2, t0.image AS image_3, t0.controller AS controller_4, t0.config AS config_5, t0.active AS active_6, t0.insert_date AS insert_date_7, t0.channel_id AS channel_id_8 FROM integrations t0 WHERE t0.controller = ? LIMIT 1
Parameters:
[
  "App\Controller\Plugins\Integrations\Impact"
]
1.89 ms
(3.67%)
4
SELECT t0.id AS id_1, t0.label_id AS label_id_2, t0.integration AS integration_3, t0.config AS config_4, t0.last_execution AS last_execution_5, t0.every_minutes AS every_minutes_6, t0.next_execution AS next_execution_7 FROM cron t0 WHERE t0.label_id = ? LIMIT 1
Parameters:
[
  "impact_fetch_data"
]
1.76 ms
(3.42%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.logo AS logo_2, s0_.url AS url_3, s0_.cashback AS cashback_4, s0_.featured AS featured_5, s0_.offline AS offline_6, s0_.status AS status_7, s0_.channel AS channel_8, s0_.ext_mapping AS ext_mapping_9, s0_.insert_date AS insert_date_10, COUNT(c1_.id) AS sclr_11, (CASE WHEN f2_.id IS NOT NULL THEN 1 ELSE 0 END) AS sclr_12 FROM stores s0_ INNER JOIN countries_lnk c3_ ON (c3_.entity_type = 1 AND c3_.entity_id = s0_.id AND c3_.country = ?) LEFT JOIN coupons c1_ ON (c1_.store_id = s0_.id) LEFT JOIN favorites_lnk f2_ ON (f2_.store_id = s0_.id AND f2_.user_id = ?) WHERE s0_.status = ? GROUP BY s0_.id LIMIT 10
Parameters:
[
  "1"
  0
  1
]
1.60 ms
(3.12%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.logo AS logo_2, s0_.url AS url_3, s0_.cashback AS cashback_4, s0_.featured AS featured_5, s0_.offline AS offline_6, s0_.status AS status_7, s0_.channel AS channel_8, s0_.ext_mapping AS ext_mapping_9, s0_.insert_date AS insert_date_10, COUNT(c1_.id) AS sclr_11, (CASE WHEN f2_.id IS NOT NULL THEN 1 ELSE 0 END) AS sclr_12 FROM stores s0_ INNER JOIN countries_lnk c3_ ON (c3_.entity_type = 1 AND c3_.entity_id = s0_.id AND c3_.country = ?) LEFT JOIN coupons c1_ ON (c1_.store_id = s0_.id) LEFT JOIN favorites_lnk f2_ ON (f2_.store_id = s0_.id AND f2_.user_id = ?) WHERE s0_.status = ? AND s0_.featured = ? GROUP BY s0_.id LIMIT 10
Parameters:
[
  "1"
  0
  1
  1
]
1.26 ms
(2.46%)
1
SELECT COUNT(DISTINCT s0_.id) AS sclr_0 FROM stores s0_ LEFT JOIN favorites_lnk f1_ ON (f1_.store_id = s0_.id AND f1_.user_id = ?) INNER JOIN countries_lnk c2_ ON (c2_.entity_type = 1 AND c2_.entity_id = s0_.id AND c2_.country = ?) WHERE s0_.status = ? AND s0_.name LIKE ?
Parameters:
[
  0
  "1"
  1
  "%DHgate%"
]
1.12 ms
(2.19%)
1
SELECT COUNT(DISTINCT c0_.id) AS sclr_0 FROM coupons c0_ INNER JOIN stores s1_ ON c0_.store_id = s1_.id INNER JOIN countries_lnk c2_ ON (c2_.entity_type = ? AND c2_.entity_id = s1_.id AND c2_.country = ?) WHERE c0_.status = ? AND c0_.store_id = ?
Parameters:
[
  1
  "1"
  1
  42
]
1.06 ms
(2.06%)
1
SELECT COUNT(DISTINCT s0_.id) AS sclr_0 FROM stores s0_ LEFT JOIN favorites_lnk f1_ ON (f1_.store_id = s0_.id AND f1_.user_id = ?) INNER JOIN countries_lnk c2_ ON (c2_.entity_type = 1 AND c2_.entity_id = s0_.id AND c2_.country = ?) WHERE s0_.status = ? AND s0_.featured = ?
Parameters:
[
  0
  "1"
  1
  1
]
0.88 ms
(1.72%)
2
SELECT t0.id AS id_1, t0.name_id AS name_id_2, t0.category_id AS category_id_3, t0.name AS name_4, t0.value AS value_5 FROM options t0 WHERE t0.category_id = ?
Parameters:
[
  "paths"
]
0.86 ms
(1.67%)
1
SELECT COUNT(DISTINCT s0_.id) AS sclr_0 FROM stores s0_ LEFT JOIN favorites_lnk f1_ ON (f1_.store_id = s0_.id AND f1_.user_id = ?) INNER JOIN countries_lnk c2_ ON (c2_.entity_type = 1 AND c2_.entity_id = s0_.id AND c2_.country = ?) WHERE s0_.status = ?
Parameters:
[
  0
  "1"
  1
]
0.70 ms
(1.37%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.route AS route_3, t0.icon AS icon_4, t0.parent AS parent_5, t0.menu_position AS menu_position_6, t0.popup_open AS popup_open_7, t0.mandatory AS mandatory_8, t0.menu_default AS menu_default_9 FROM modules t0 WHERE t0.route = ? LIMIT 1
Parameters:
[
  "main_path"
]
0.65 ms
(1.27%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.iso_code AS iso_code_3, t0.icon AS icon_4, t0.def_language AS def_language_5, t0.visible AS visible_6, t0.insert_date AS insert_date_7 FROM countries t0 WHERE t0.id = ?
Parameters:
[
  "1"
]
0.47 ms
(0.92%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.iso_code AS iso_code_3, t0.icon AS icon_4, t0.def_language AS def_language_5, t0.visible AS visible_6, t0.insert_date AS insert_date_7 FROM countries t0 WHERE t0.iso_code = ? LIMIT 1
Parameters:
[
  "US"
]

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\Stores 12
App\Entity\Coupons 10
App\Entity\Options 8
App\Entity\Integrations 4
App\Entity\Channels 4
App\Entity\Cron 3
App\Entity\StoreMeta 1
App\Entity\Countries 1

Entities Mapping

Class Mapping errors
App\Entity\Options No errors.
App\Entity\Countries No errors.
App\Entity\Integrations No errors.
App\Entity\Channels No errors.
App\Entity\Cron No errors.
App\Entity\Modules No errors.
App\Entity\Stores No errors.
App\Entity\CountriesLnk No errors.
App\Entity\Coupons No errors.
App\Entity\FavoritesLnk No errors.
App\Entity\CategoriesLnk No errors.
App\Entity\StoreMeta No errors.