GET https://ville.mcf.dev/privacy?currency=USD

Query Metrics

106 Database Queries
79 Different statements
30.59 ms Query time
0 Invalid entities
34 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.11 ms
(6.91%)
4
SELECT id FROM kampanjat WHERE NOT EXISTS (SELECT * FROM asiakasryhmat_nakyvyydet WHERE objekti_tyyppi = 'CAMPAIGN' AND objekti_id = kampanjat.id AND nakyvilla = 1)
Parameters:
[]
2.11 ms
(6.91%)
1
SELECT t0.value AS value_1, t0.id AS id_2, t0.entity_id AS entity_id_3, t0.custom_attribute_id AS custom_attribute_id_4 FROM custom_attribute_value_html t0 WHERE t0.custom_attribute_id = ? AND t0.entity_id = ? LIMIT 1
Parameters:
[
  16
  1
]
1.81 ms
(5.91%)
3
SELECT kampanjat.id AS id, kampanjat.lisatty AS created_at, kampanjat.muokattu AS updated_at, kampanjat.poistettu AS deleted_at, kampanjat.alkaa AS starts_at, kampanjat.paattyy AS ends_at, kampanjat.kampanjakoodi AS campaign_code, kampanjat.minimitilaus AS minimum_purchase, kampanjat.tuotealennukset AS product_discounts, kampanjat.maara_alennukset AS quantity_discounts, kampanjat.hinnoittelu_prosentti AS discount_percent, kampanjat.hinnoittelu_pyoristys_kerroin AS rounding_multiple, kampanjat.hinnoittelu_pyoristys_tarkenne AS rounding_operation, kampanjat.hinnoittelu_pyoristys_sievennys AS rounding_amount, kampanjat.toimitustavat AS shipping_method_ids, kampanjat.nollahinnat AS allow_zero_prices, kampanjat.alennusrivi AS discount_row, kampanjat.alennusrivi_kohde AS discount_row_target, kampanjat.alennusrivi_yksikko AS discount_row_type, kampanjat.alennusrivi_arvo AS discount_row_value, kampanjat.alennusrivi_tuoteraportti_id AS discount_row_product_report, kampanjat.enabled AS published, kampanjat.sivu AS page_enabled, kampanjat.kiinnitetty AS pinned, kampanjat.kuva AS image, kampanjat.linkki AS link, kampanjat.Template AS template, kampanjat.discount_type AS discount_type, kampanjat.tuotealennukset_yleinen AS generally_available, kampanjat.source_type AS source_type, kampanjat.source_id AS source_id FROM kampanjat WHERE (id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (enabled = ?)
Parameters:
[
  "1"
  "2"
  "3"
  "4"
  "5"
  "6"
  "7"
  "8"
  "9"
  "10"
  "11"
  "12"
  "13"
  "14"
  "15"
  "17"
  "18"
  "19"
  "20"
  "21"
  "32"
  "34"
  "36"
  "37"
  "45"
  "46"
  "47"
  "48"
  "49"
  "52"
  "63"
  "64"
  "65"
  "69"
  "70"
  "71"
  "72"
  "73"
  "75"
  "74"
  "80"
  "82"
  "62"
  "87"
  "89"
  "91"
  "92"
  "93"
  "94"
  "95"
  "96"
  "97"
  "98"
  "99"
  "100"
  "101"
  "102"
  "114"
  "122"
  "129"
  "130"
  "131"
  "133"
  "134"
  "136"
  "139"
  "141"
  "142"
  "143"
  "144"
  "145"
  "146"
  "147"
  "1"
]
1.66 ms
(5.44%)
4
SELECT id FROM kampanjat WHERE IFNULL(kampanjakoodi, '') = '' AND NOT EXISTS (SELECT * FROM kampanjat_koodit WHERE kampanja_id = kampanjat.id)
Parameters:
[]
1.30 ms
(4.26%)
3
SELECT infosivut.id AS id, infosivut.lisatty AS created_at, infosivut.muokattu AS updated_at, infosivut.poistettu AS deleted_at, infosivut.parent AS parent, infosivut.jnro AS sort, infosivut.kuva AS image, infosivut.Template AS template, infosivut.using_redactor AS using_redactor, infosivut.nimi_en AS name_en, infosivut.nimi_ee AS name_ee, infosivut.nimi_fi AS name_fi, infosivut.nimi_se AS name_se, infosivut.nimi_es AS name_es, infosivut.teksti_en AS content_en, infosivut.teksti_ee AS content_ee, infosivut.teksti_fi AS content_fi, infosivut.teksti_se AS content_se, infosivut.teksti_es AS content_es, infosivut.linkki_en AS link_en, infosivut.linkki_ee AS link_ee, infosivut.linkki_fi AS link_fi, infosivut.linkki_se AS link_se, infosivut.linkki_es AS link_es, infosivut.Title_en AS seo_title_en, infosivut.Title_ee AS seo_title_ee, infosivut.Title_fi AS seo_title_fi, infosivut.Title_se AS seo_title_se, infosivut.Title_es AS seo_title_es, infosivut.PageTitle_en AS seo_page_title_en, infosivut.PageTitle_ee AS seo_page_title_ee, infosivut.PageTitle_fi AS seo_page_title_fi, infosivut.PageTitle_se AS seo_page_title_se, infosivut.PageTitle_es AS seo_page_title_es, infosivut.MetaDescription_en AS seo_meta_description_en, infosivut.MetaDescription_ee AS seo_meta_description_ee, infosivut.MetaDescription_fi AS seo_meta_description_fi, infosivut.MetaDescription_se AS seo_meta_description_se, infosivut.MetaDescription_es AS seo_meta_description_es FROM infosivut WHERE id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "1"
  "2"
  "3"
  "4"
  "5"
  "6"
  "8"
  "9"
  "10"
  "11"
  "12"
  "13"
  "14"
  "15"
  "16"
  "17"
  "18"
  "19"
  "20"
  "21"
  "22"
  "23"
  "24"
  "25"
  "26"
  "27"
  "28"
  "29"
  "30"
]
1.07 ms
(3.51%)
4
SELECT id FROM kampanjat WHERE enabled = 1 AND IFNULL(alkaa, 0) <= UNIX_TIMESTAMP() AND (IFNULL(paattyy, 0) = 0 OR paattyy >= UNIX_TIMESTAMP())
Parameters:
[]
0.77 ms
(2.51%)
1
SELECT tuoteryhmat.*
				FROM versiot_nakyvyydet
					JOIN tuoteryhmat
						ON versiot_nakyvyydet.versio_id = ?
						AND versiot_nakyvyydet.nakyvilla = '1'
						AND versiot_nakyvyydet.objekti_tyyppi = 'CATEGORY'
						AND versiot_nakyvyydet.objekti_id = tuoteryhmat.id
Parameters:
[
  3
]
0.75 ms
(2.46%)
3
SELECT id, parent AS parent_id FROM infosivut WHERE id IN (1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30) ORDER BY jnro ASC
Parameters:
[]
0.75 ms
(2.44%)
4
SELECT campaign_translations.name AS name, campaign_translations.description AS description, campaign_translations.seo_title AS seo_title, campaign_translations.seo_page_title AS seo_page_title, campaign_translations.seo_meta_description AS seo_meta_description, campaign_translations.id AS id, campaign_translations.translatable_id AS translatable_id, campaign_translations.locale AS locale FROM campaign_translations WHERE translatable_id = ?
Parameters:
[
  "21"
]
0.71 ms
(2.33%)
2
SELECT * FROM versiot WHERE id = 3 LIMIT 1
Parameters:
[]
0.71 ms
(2.31%)
2
SELECT t0.shopclosed AS shopclosed_1, t0.shopclosed_info AS shopclosed_info_2, t0.lisatty AS lisatty_3, t0.require_login AS require_login_4, t0.default_country AS default_country_5, t0.default_currency AS default_currency_6, t0.poistettu AS poistettu_7, t0.homepage_id AS homepage_id_8, t0.id AS id_9, t0.klevu_js_api_key AS klevu_js_api_key_10, t0.klevu_rest_api_key AS klevu_rest_api_key_11, t0.klevu_search_backend AS klevu_search_backend_12, t0.code AS code_13, t0.logo AS logo_14, t0.favicon AS favicon_15, t0.name AS name_16, t0.notifications AS notifications_17, t0.no_vat AS no_vat_18, t0.minimum_order AS minimum_order_19, t0.preview_key AS preview_key_20, t0.privacy_page_id AS privacy_page_id_21, t0.reseller_terms AS reseller_terms_22, t0.use_ssl AS use_ssl_23, t0.shopemail AS shopemail_24, t0.shopname AS shopname_25, t0.jnro AS jnro_26, t0.terms_page_id AS terms_page_id_27, t0.theme AS theme_28, t0.theme_emails AS theme_emails_29, t0.theme_prints AS theme_prints_30, t0.theme_settings AS theme_settings_31, t0.time_settings AS time_settings_32, t0.type AS type_33, t0.muokattu AS muokattu_34, t0.url AS url_35, t0.using_redactor AS using_redactor_36, t0.vat_code AS vat_code_37, t0.bank_account AS bank_account_38, t0.post_office AS post_office_39, t0.company AS company_40, t0.country AS country_41, t0.contact_information AS contact_information_42, t0.email AS email_43, t0.fax AS fax_44, t0.internet AS internet_45, t0.phone AS phone_46, t0.postal_code AS postal_code_47, t0.street_address_1 AS street_address_1_48, t0.street_address_2 AS street_address_2_49, t0.parent_id AS parent_id_50, t0.price_list_id AS price_list_id_51, t0.stock_location_id AS stock_location_id_52 FROM versiot t0 WHERE t0.url = ? LIMIT 1
Parameters:
[
  "ville.mcf.dev"
]
0.69 ms
(2.27%)
4
SELECT tuote_id FROM kampanjat_tuotteet WHERE kampanja_id = ?
Parameters:
[
  62
]
0.69 ms
(2.26%)
1
SELECT kampanjat.id
				FROM kampanjat
				JOIN versiot_nakyvyydet
					ON kampanjat.enabled = 1
					AND versio_id = 3
					AND objekti_tyyppi = 'CAMPAIGN'
					AND objekti_id = kampanjat.id
					AND versiot_nakyvyydet.nakyvilla = 1
Parameters:
[]
0.63 ms
(2.07%)
3
SELECT id, nimi_en       AS name FROM infosivut WHERE id IN('30','29','27','3','4','5','6','8','1','9','10','11','12','13','14','15','16','17','18','19','20','21','22')
Parameters:
[]
0.56 ms
(1.82%)
1
SELECT asetus AS db_name, arvo AS value FROM asetukset WHERE 1
Parameters:
[]
0.49 ms
(1.59%)
1
SHOW TABLES LIKE 'redirects'
Parameters:
[]
0.47 ms
(1.53%)
1
SELECT t0.enabled AS enabled_1, t0.id AS id_2, t0.source_id AS source_id_3, t0.source_type AS source_type_4, t0.alkaa AS alkaa_5, t0.paattyy AS paattyy_6, t0.lisatty AS lisatty_7, t0.muokattu AS muokattu_8, t0.discount_type, t0.kampanjakoodi AS kampanjakoodi_9, t0.discount_rules AS discount_rules_10, t0.kampanjakoodi AS kampanjakoodi_11, t0.alennusrivi AS alennusrivi_12, t0.alennusrivi_tuoteraportti_id AS alennusrivi_tuoteraportti_id_13, t0.alennusrivi_kohde AS alennusrivi_kohde_14, t0.alennusrivi_yksikko AS alennusrivi_yksikko_15, t0.alennusrivi_arvo AS alennusrivi_arvo_16, t0.tuotealennukset_yleinen AS tuotealennukset_yleinen_17, t0.minimitilaus AS minimitilaus_18, t0.tuotealennukset AS tuotealennukset_19, t0.maara_alennukset AS maara_alennukset_20, t0.toimitustavat AS toimitustavat_21, t0.sivu AS sivu_22, t0.kiinnitetty AS kiinnitetty_23, t0.price_list_id AS price_list_id_24, t0.discount_rules AS discount_rules_25, t0.sivu AS sivu_26, t0.kiinnitetty AS kiinnitetty_27 FROM kampanjat t0 WHERE t0.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND t0.discount_type IN ('DISCOUNT_CODES', 'FREE_SHIPPING', 'LEGACY', 'X_FOR_Y')
Parameters:
[
  "1"
  "9"
  "12"
  "20"
  "37"
  "62"
  "63"
  "65"
  "69"
  "72"
  "73"
  "75"
  "96"
  "99"
  "100"
  "101"
  "102"
  "114"
  "122"
  "129"
  "130"
  "133"
  "134"
  "139"
  "146"
]
0.47 ms
(1.53%)
3
SELECT muokattu AS updated_at, data FROM istunnot WHERE tunniste = ? AND IFNULL(poistettu, 0) = 0 LIMIT 1
Parameters:
[
  "fen3qseoqho8nsud11aitq1hvq"
]
0.43 ms
(1.41%)
1
SELECT * FROM kampanjat WHERE id IN (1, 9, 12, 20, 37, 62, 63, 65, 69, 72, 73, 75, 96, 99, 100, 101, 102, 114, 122, 129, 130, 133, 134, 139, 146)
Parameters:
[]
0.41 ms
(1.33%)
1
SELECT versiot.id AS id, versiot.lisatty AS created_at, versiot.homepage_id AS homepage_id, versiot.muokattu AS updated_at, versiot.name AS name, versiot.code AS language, versiot.logo AS logo, versiot.favicon AS favicon, versiot.url AS url, versiot.use_ssl AS ssl_enabled, versiot.shopclosed AS is_closed, versiot.require_login AS is_login_required, versiot.shopname AS shop_name, versiot.shopemail AS shop_email, versiot.default_country AS default_country, versiot.default_currency AS default_currency, versiot.theme AS theme, versiot.theme_emails AS theme_emails, versiot.theme_prints AS theme_prints, versiot.theme_settings AS theme_settings, versiot.time_settings AS time_settings, versiot.notifications AS notifications, IF(ISNULL(versiot.minimum_order), NULL, IF(versiot.minimum_order <> 0, ROUND(versiot.minimum_order, 2), '0')) AS minimum_order, versiot.jnro AS sort, versiot.klevu_js_api_key AS klevu_js_api_key, versiot.klevu_rest_api_key AS klevu_rest_api_key, versiot.klevu_search_backend AS klevu_search_backend, versiot.privacy_page_id AS privacy_page_id, versiot.contact_information AS contact_information, versiot.company AS company, versiot.street_address_1 AS address_line_1, versiot.street_address_2 AS address_line_2, versiot.postal_code AS postal_code, versiot.post_office AS city, versiot.country AS country, versiot.phone AS phone, versiot.no_vat AS no_vat, versiot.internet AS internet, versiot.stock_location_id AS stock_location_id, versiot.preview_key AS preview_key, versiot.parent_id AS parent_id, versiot.type AS type FROM versiot WHERE url = ?
Parameters:
[
  "ville.mcf.dev"
]
0.39 ms
(1.27%)
1
SELECT t0.shopclosed AS shopclosed_1, t0.shopclosed_info AS shopclosed_info_2, t0.lisatty AS lisatty_3, t0.require_login AS require_login_4, t0.default_country AS default_country_5, t0.default_currency AS default_currency_6, t0.poistettu AS poistettu_7, t0.homepage_id AS homepage_id_8, t0.id AS id_9, t0.klevu_js_api_key AS klevu_js_api_key_10, t0.klevu_rest_api_key AS klevu_rest_api_key_11, t0.klevu_search_backend AS klevu_search_backend_12, t0.code AS code_13, t0.logo AS logo_14, t0.favicon AS favicon_15, t0.name AS name_16, t0.notifications AS notifications_17, t0.no_vat AS no_vat_18, t0.minimum_order AS minimum_order_19, t0.preview_key AS preview_key_20, t0.privacy_page_id AS privacy_page_id_21, t0.reseller_terms AS reseller_terms_22, t0.use_ssl AS use_ssl_23, t0.shopemail AS shopemail_24, t0.shopname AS shopname_25, t0.jnro AS jnro_26, t0.terms_page_id AS terms_page_id_27, t0.theme AS theme_28, t0.theme_emails AS theme_emails_29, t0.theme_prints AS theme_prints_30, t0.theme_settings AS theme_settings_31, t0.time_settings AS time_settings_32, t0.type AS type_33, t0.muokattu AS muokattu_34, t0.url AS url_35, t0.using_redactor AS using_redactor_36, t0.vat_code AS vat_code_37, t0.bank_account AS bank_account_38, t0.post_office AS post_office_39, t0.company AS company_40, t0.country AS country_41, t0.contact_information AS contact_information_42, t0.email AS email_43, t0.fax AS fax_44, t0.internet AS internet_45, t0.phone AS phone_46, t0.postal_code AS postal_code_47, t0.street_address_1 AS street_address_1_48, t0.street_address_2 AS street_address_2_49, t0.parent_id AS parent_id_50, t0.price_list_id AS price_list_id_51, t0.stock_location_id AS stock_location_id_52 FROM versiot t0 WHERE t0.id = ?
Parameters:
[
  "3"
]
0.33 ms
(1.09%)
1
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.loyalty_program_id AS loyalty_program_id_4, t0.type, t0.settings AS settings_5, t0.settings AS settings_6, t0.settings AS settings_7, t0.settings AS settings_8 FROM loyalty_program_rules t0 WHERE t0.loyalty_program_id = ? AND t0.type IN ('AccruePointsForDeliveredOrders', 'AccruePointsForSignUp', 'EarnPointsForProductReview', 'RewardDiscountCodeForPoints')
Parameters:
[
  1
]
0.31 ms
(1.03%)
1
SELECT * FROM `tuoteryhmat` LIMIT 1
Parameters:
[]
0.31 ms
(1.01%)
1
select id from kampanjat where kiinnitetty = 1 and id in ('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','28','32','36','37','52','54','62','63','64','65','66','69','70','71','72','73','74','75','80','82','84','87','88','89','90','91','92','93','94','95','96','97','98','99','100','101','102','107','114','122','126','129','130','131','133','134','135','136','137','138','139','140','141','142','143','144','145','146','147','148')
Parameters:
[]
0.31 ms
(1.00%)
1
select id from kampanjat where sivu = 1 and id in ('1','2','5','6','7','9','10','11','12','13','20','21','32','36','37','62','63','65','69','72','73','75','82','91','93','96','97','98','99','100','101','102','114','122','129','130','133','134','136','139','143','144','146','147')
Parameters:
[]
0.29 ms
(0.95%)
1
SELECT infosivut.id AS id, infosivut.lisatty AS created_at, infosivut.muokattu AS updated_at, infosivut.poistettu AS deleted_at, infosivut.parent AS parent, infosivut.jnro AS sort, infosivut.kuva AS image, infosivut.Template AS template, infosivut.using_redactor AS using_redactor, infosivut.nimi_en AS name_en, infosivut.nimi_ee AS name_ee, infosivut.nimi_fi AS name_fi, infosivut.nimi_se AS name_se, infosivut.nimi_es AS name_es, infosivut.teksti_en AS content_en, infosivut.teksti_ee AS content_ee, infosivut.teksti_fi AS content_fi, infosivut.teksti_se AS content_se, infosivut.teksti_es AS content_es, infosivut.linkki_en AS link_en, infosivut.linkki_ee AS link_ee, infosivut.linkki_fi AS link_fi, infosivut.linkki_se AS link_se, infosivut.linkki_es AS link_es, infosivut.Title_en AS seo_title_en, infosivut.Title_ee AS seo_title_ee, infosivut.Title_fi AS seo_title_fi, infosivut.Title_se AS seo_title_se, infosivut.Title_es AS seo_title_es, infosivut.PageTitle_en AS seo_page_title_en, infosivut.PageTitle_ee AS seo_page_title_ee, infosivut.PageTitle_fi AS seo_page_title_fi, infosivut.PageTitle_se AS seo_page_title_se, infosivut.PageTitle_es AS seo_page_title_es, infosivut.MetaDescription_en AS seo_meta_description_en, infosivut.MetaDescription_ee AS seo_meta_description_ee, infosivut.MetaDescription_fi AS seo_meta_description_fi, infosivut.MetaDescription_se AS seo_meta_description_se, infosivut.MetaDescription_es AS seo_meta_description_es FROM infosivut WHERE id = ?
Parameters:
[
  "1"
]
0.29 ms
(0.95%)
1
SELECT code FROM versiot WHERE url = ? LIMIT 1
Parameters:
[
  "ville.mcf.dev"
]
0.28 ms
(0.92%)
1
SELECT * FROM versiot WHERE id IN (1, 2, 21, 3, 24, 25, 9, 8)  ORDER BY jnro ASC
Parameters:
[]
0.28 ms
(0.91%)
1
SELECT id FROM kampanjat WHERE (ISNULL(poistettu) OR poistettu = 0)
Parameters:
[]
0.28 ms
(0.90%)
1
SELECT code AS kieli FROM versiot ORDER BY jnro, id
Parameters:
[]
0.27 ms
(0.88%)
1
SELECT maksutavat.id AS id, maksutavat.lisatty AS created_at, maksutavat.muokattu AS updated_at, maksutavat.poistettu AS deleted_at, maksutavat.maksupalvelu AS provider_id, maksutavat.provider_settings AS provider_settings, maksutavat.kayttajatunnus AS username, maksutavat.salasana AS password, maksutavat.tuotenumero AS product_code, maksutavat.jnro AS sort, maksutavat.logo AS logo, maksutavat.maksukulut_kiinteat AS fixed_costs, maksutavat.maksukulut_muuttuvat AS variable_costs, maksutavat.using_redactor AS using_redactor, maksutavat.enabled AS published, maksutavat.nimi_en AS name_en, maksutavat.nimi_ee AS name_ee, maksutavat.nimi_fi AS name_fi, maksutavat.nimi_se AS name_se, maksutavat.nimi_es AS name_es, maksutavat.selite_en AS description_en, maksutavat.selite_ee AS description_ee, maksutavat.selite_fi AS description_fi, maksutavat.selite_se AS description_se, maksutavat.selite_es AS description_es, maksutavat.maksuohje_en AS help_en, maksutavat.maksuohje_ee AS help_ee, maksutavat.maksuohje_fi AS help_fi, maksutavat.maksuohje_se AS help_se, maksutavat.maksuohje_es AS help_es FROM maksutavat WHERE (IFNULL(poistettu, 0) = 0) AND (maksupalvelu = ?)
Parameters:
[
  "KCO_V3"
]
0.26 ms
(0.86%)
1
SELECT l0_.id AS id_0, l0_.published_at AS published_at_1, l0_.deleted_at AS deleted_at_2, l0_.settings AS settings_3, l0_.created_at AS created_at_4, l0_.updated_at AS updated_at_5 FROM loyalty_programs l0_ INNER JOIN loyalty_programs_versions l2_ ON l0_.id = l2_.loyalty_program_id INNER JOIN versiot v1_ ON v1_.id = l2_.version_id WHERE v1_.id = ? AND l0_.deleted_at IS NULL
Parameters:
[
  3
]
0.26 ms
(0.85%)
1
SELECT t0.id AS id_1, t0.type AS type_2, t0.code AS code_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.entity FROM custom_attributes t0 WHERE t0.code = ? AND t0.entity IN ('INFO_PAGE') LIMIT 1
Parameters:
[
  "test"
]
0.26 ms
(0.84%)
1
SELECT * FROM `maksutavat` LIMIT 1
Parameters:
[]
0.25 ms
(0.82%)
1
SELECT code FROM maintenance WHERE completed > 0
Parameters:
[]
0.25 ms
(0.82%)
1
SELECT * FROM kampanjat WHERE id IN (21, 82, 96, 122)
Parameters:
[]
0.25 ms
(0.82%)
1
select nakyvilla from versiot_nakyvyydet where versio_id='3' AND objekti_tyyppi='CATEGORY' AND objekti_id='100'
Parameters:
[]
0.25 ms
(0.82%)
1
SELECT * FROM toimitustavat WHERE id IN (29, 677, 681, 691, 698, 699)
Parameters:
[]
0.25 ms
(0.80%)
1
SELECT id FROM toimitustavat WHERE (ISNULL(poistettu) OR poistettu = 0) AND id IN ('698','681','677','29','691','699')
Parameters:
[]
0.24 ms
(0.80%)
1
SELECT * FROM `versiot` LIMIT 1
Parameters:
[]
0.24 ms
(0.80%)
1
SELECT * FROM infosivut WHERE id = 1 LIMIT 1
Parameters:
[]
0.23 ms
(0.74%)
1
SELECT bannerit.id AS id, bannerit.lisatty AS created_at, bannerit.muokattu AS updated_at, bannerit.poistettu AS deleted_at, bannerit.ryhma AS group_id, bannerit.jnro AS sort, bannerit.koodi AS code, bannerit.alkaa AS visible_from, bannerit.paattyy AS visible_to, bannerit.banneri AS file, bannerit.using_redactor AS using_redactor, bannerit.nimi_en AS title_en, bannerit.nimi_ee AS title_ee, bannerit.nimi_fi AS title_fi, bannerit.nimi_se AS title_se, bannerit.nimi_es AS title_es, bannerit.teksti_en AS content_en, bannerit.teksti_ee AS content_ee, bannerit.teksti_fi AS content_fi, bannerit.teksti_se AS content_se, bannerit.teksti_es AS content_es, bannerit.linkki_en AS link_en, bannerit.linkki_ee AS link_ee, bannerit.linkki_fi AS link_fi, bannerit.linkki_se AS link_se, bannerit.linkki_es AS link_es FROM bannerit WHERE (IFNULL(poistettu, 0) = 0) AND (id IN (?, ?, ?, ?)) AND ((IFNULL(alkaa, 0) = 0 OR alkaa < 1769530239)) AND ((IFNULL(paattyy, 0) = 0 OR paattyy > 1769530239)) ORDER BY jnro ASC
Parameters:
[
  "1"
  "2"
  "3"
  "4"
]
0.23 ms
(0.74%)
1
SELECT * FROM `ostoskorit` LIMIT 1
Parameters:
[]
0.22 ms
(0.72%)
1
SELECT * FROM `toimitustavat` LIMIT 1
Parameters:
[]
0.22 ms
(0.71%)
1
SELECT * FROM `infosivut` LIMIT 1
Parameters:
[]
0.22 ms
(0.71%)
1
SELECT * FROM tuoteryhmat WHERE id = 100 LIMIT 1
Parameters:
[]
0.22 ms
(0.70%)
1
select kaytossa from laajennukset where koodi = 'CustomUrls'
Parameters:
[]
0.20 ms
(0.67%)
1
SELECT new FROM redirects WHERE ? LIKE REPLACE(old, '*', '%') OR ? LIKE REPLACE(old, '*', '%') ORDER BY old, new ASC LIMIT 1
Parameters:
[
  "https://ville.mcf.dev/privacy"
  "/privacy?currency=USD"
]
0.20 ms
(0.67%)
1
SELECT id FROM kampanjat WHERE (ISNULL(poistettu) OR poistettu = 0) AND id IN ('21','82','96','122')
Parameters:
[]
0.20 ms
(0.67%)
1
SELECT translatable_id AS id, name FROM campaign_translations WHERE locale = ? AND translatable_id IN (21,82,96,122)
Parameters:
[
  "en"
]
0.19 ms
(0.63%)
1
SELECT id FROM ostoskorit_tuotteet WHERE (ISNULL(poistettu) OR poistettu = 0) AND ostoskori_id = '0'
Parameters:
[]
0.19 ms
(0.62%)
1
SELECT ostoskorit.id AS id, ostoskorit.lisatty AS created_at, ostoskorit.muokattu AS updated_at, ostoskorit.istunto_id AS session_id, ostoskorit.ip_osoite AS session_ip, ostoskorit.asiakas_id AS customer_id, ostoskorit.tilaus_id AS order_id, ostoskorit.laskutusosoite_id AS customer_information_id, ostoskorit.toimitusosoite_id AS shipping_information_id, ostoskorit.toimitustapa_id AS shipping_method_id, ostoskorit.toimitustapa_tarkenne AS external_pickup_point_id, ostoskorit.lahjakortti_idt AS gift_card_ids, ostoskorit.maksutapa_id AS payment_method_id, ostoskorit.versio_id AS version_id, ostoskorit.kieli AS language, ostoskorit.kuponkikoodi AS coupon_code, ostoskorit.kampanjakoodi AS campaign_code, ostoskorit.lisatiedot AS details, ostoskorit.hinnat AS data, ostoskorit.custom_data AS custom_data FROM ostoskorit WHERE id = ?
Parameters:
[
  0
]
0.19 ms
(0.61%)
1
select koodi as code from laajennukset where kaytossa = 1
Parameters:
[]
0.18 ms
(0.60%)
1
SELECT id FROM versiot WHERE (ISNULL(poistettu) OR poistettu = 0) AND shopclosed = '0' ORDER BY jnro ASC
Parameters:
[]
0.18 ms
(0.60%)
1
SELECT * FROM `ostoskorit_tuotteet` LIMIT 1
Parameters:
[]
0.17 ms
(0.56%)
1
SELECT koodi FROM laajennukset WHERE kaytossa = 1
Parameters:
[]
0.17 ms
(0.56%)
1
SELECT ostoskorit_tuotteet.id AS id, ostoskorit_tuotteet.lisatty AS created_at, ostoskorit_tuotteet.muokattu AS updated_at, ostoskorit_tuotteet.ostoskori_id AS cart_id, ostoskorit_tuotteet.tuotepaketti_id AS bundle_id, ostoskorit_tuotteet.tuote_id AS product_id, ostoskorit_tuotteet.variaatio_id AS variation_id, ostoskorit_tuotteet.lataus_id AS download_id, ostoskorit_tuotteet.valinnat AS customizations, ostoskorit_tuotteet.maara AS quantity, ostoskorit_tuotteet.tuotepaketti_joukko AS bundle_set, ostoskorit_tuotteet.hintasaannot AS data, ostoskorit_tuotteet.custom_data AS custom_data FROM ostoskorit_tuotteet WHERE ostoskori_id IN (NULL)
Parameters:
[]
0.17 ms
(0.55%)
1
SELECT id FROM kampanjat WHERE (ISNULL(poistettu) OR poistettu = 0) AND id IN ('1','9','12','20','37','62','63','65','69','72','73','75','96','99','100','101','102','114','122','129','130','133','134','139','146')
Parameters:
[]
0.17 ms
(0.55%)
1
SELECT banneriryhmat.id AS id, banneriryhmat.lisatty AS created_at, banneriryhmat.muokattu AS updated_at, banneriryhmat.poistettu AS deleted_at, banneriryhmat.koodi AS code, banneriryhmat.nimi_en AS title_en, banneriryhmat.nimi_ee AS title_ee, banneriryhmat.nimi_fi AS title_fi, banneriryhmat.nimi_se AS title_se, banneriryhmat.nimi_es AS title_es FROM banneriryhmat
Parameters:
[]
0.16 ms
(0.53%)
1
SELECT id FROM istunnot WHERE tunniste = 'pl4j53hg6gt12avsnlslr17o4k' LIMIT 1
Parameters:
[]
0.16 ms
(0.53%)
1
SELECT * FROM versiot WHERE id IN (3)
Parameters:
[]
0.16 ms
(0.53%)
1
select code from versiot where url = ?
Parameters:
[
  "ville.mcf.dev"
]
0.15 ms
(0.50%)
1
SELECT id FROM maksutavat WHERE (ISNULL(poistettu) OR poistettu = 0) AND id IN ('40')
Parameters:
[]
0.15 ms
(0.49%)
1
SELECT koodi AS code, `en` AS translation FROM kielitiedosto WHERE `en` <> ''
Parameters:
[]
0.15 ms
(0.48%)
1
SELECT id FROM versiot WHERE (ISNULL(poistettu) OR poistettu = 0) AND url = 'ville.mcf.dev' LIMIT 1
Parameters:
[]
0.15 ms
(0.48%)
1
SELECT translatable_id AS id, name FROM campaign_translations WHERE locale = ? AND translatable_id IN (122)
Parameters:
[
  "en"
]
0.14 ms
(0.47%)
1
SELECT gift_cards.id AS id, gift_cards.created_at AS created_at, gift_cards.updated_at AS updated_at, gift_cards.deleted_at AS deleted_at, gift_cards.expires_at AS expires_at, gift_cards.source_type AS source_type, gift_cards.source_id AS source_id, gift_cards.code AS code, gift_cards.custom_code AS custom_code, gift_cards.balance AS balance, gift_cards.notes AS notes FROM gift_cards WHERE (gift_cards.deleted_at IS NULL) AND (id IN (NULL))
Parameters:
[]
0.14 ms
(0.46%)
1
SELECT id, nimi_en       AS name FROM infosivut WHERE id IN('28')
Parameters:
[]
0.14 ms
(0.46%)
1
SELECT translatable_id AS id, name FROM campaign_translations WHERE locale = ? AND translatable_id IN (96)
Parameters:
[
  "en"
]
0.14 ms
(0.45%)
1
SELECT * FROM `kampanjat` LIMIT 1
Parameters:
[]
0.14 ms
(0.45%)
1
select code from versiot order by jnro, id asc
Parameters:
[]
0.13 ms
(0.41%)
1
SELECT parent FROM infosivut WHERE id = 1
Parameters:
[]
0.12 ms
(0.40%)
1
select * from istunnot where tunniste = ? limit 1
Parameters:
[
  "fen3qseoqho8nsud11aitq1hvq"
]
0.12 ms
(0.38%)
1
SELECT * FROM maksutavat WHERE id IN (40)
Parameters:
[]
0.11 ms
(0.35%)
1
SELECT * FROM `osoitekirja` LIMIT 1
Parameters:
[]
0.11 ms
(0.35%)
1
SELECT id, nimi_en       AS name FROM infosivut WHERE id IN('23')
Parameters:
[]
0.08 ms
(0.28%)
1
SELECT id, nimi_en       AS name FROM infosivut WHERE id IN('24')
Parameters:
[]
0.07 ms
(0.23%)
1
SELECT id, nimi_en       AS name FROM infosivut WHERE id IN('25')
Parameters:
[]
0.07 ms
(0.21%)
1
SELECT id, nimi_en       AS name FROM infosivut WHERE id IN('26')
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.

Managed Entities

default entity manager

Class Amount of managed objects
Mcf\Component\Campaign\CampaignEntity 25
Mcf\Component\LoyaltyProgram\LoyaltyProgramRuleEntity 4
Mcf\Entity\Version 1
Mcf\Component\Inventory\StockLocationEntity 1
Mcf\Component\LoyaltyProgram\LoyaltyProgramEntity 1
Mcf\Component\CustomAttributes\CustomAttributeEntity 1
Mcf\Component\CustomAttributes\CustomAttributeValueHtmlEntity 1

Entities Mapping

Class Mapping errors
Mcf\Component\Pos\Transaction\PosDrawerTransactionEntity No errors.
Mcf\Component\Pos\Session\PosSessionEntity No errors.
Mcf\Component\ProductBundle\ProductBundleEntity No errors.
Mcf\Entity\Product No errors.
Mcf\Entity\ProductVariation No errors.
Mcf\Component\Printing\PrinterEntity No errors.
Mcf\Component\Pricing\PriceListEntity No errors.
Mcf\Component\Version\VersionContactEmbeddable No errors.
Mcf\Entity\Version No errors.
Mcf\Component\Pricing\BasePriceListEntity No errors.
Mcf\Component\Inventory\StockLocationEntity No errors.
Mcf\Component\Pos\Location\PosLocationEntity No errors.
Mcf\Entity\Visibility No errors.
Mcf\Component\Campaign\CampaignEntity No errors.
Mcf\Component\Campaign\DiscountCodesCampaignEntity No errors.
Mcf\Component\Campaign\ShippingCampaignEntity No errors.
Mcf\Component\Campaign\LegacyCampaignEntity No errors.
Mcf\Component\Pricing\CampaignPriceListEntity No errors.
Mcf\Component\Campaign\BuyXGetYFreeEntity No errors.
Mcf\Component\Customer\CustomerGroupVisibilityEntity No errors.
Mcf\Component\Campaign\CampaignCustomerGroupVisibilityEntity No errors.
Mcf\Component\Campaign\CampaignProductEntity No errors.
Mcf\Component\Campaign\CampaignVisibilityEntity No errors.
Mcf\Component\Campaign\CampaignEntityTranslation No errors.
Mcf\Component\Campaign\CampaignCodeEntity No errors.
Mcf\Component\ShippingMethod\ShippingMethodEntity No errors.
Mcf\Component\LoyaltyProgram\LoyaltyProgramEntity No errors.
Mcf\Component\LoyaltyProgram\LoyaltyProgramMembershipEntity No errors.
Mcf\Component\LoyaltyProgram\LoyaltyProgramRuleEntity No errors.
Mcf\Component\LoyaltyProgram\Rule\AccruePointsForDeliveredOrdersRuleEntity No errors.
Mcf\Component\LoyaltyProgram\Rule\AccruePointsForSignUpRuleEntity No errors.
Mcf\Component\LoyaltyProgram\Rule\EarnPointsForProductReviewRuleEntity No errors.
Mcf\Component\LoyaltyProgram\Rule\RewardDiscountCodeForPointsRuleEntity No errors.
Mcf\Component\Conversion\ConversionEntity No errors.
Mcf\Component\CustomAttributes\CustomAttributeEntity No errors.
Mcf\Component\CustomAttributes\CustomInfoPageAttributeEntity No errors.
Mcf\Component\CustomAttributes\CustomAttributeValueHtmlEntity No errors.
Mcf\Component\ProductFeed\ProductFeedEntity No errors.
Mcf\Component\Inventory\StockItemEntity No errors.
Mcf\Component\Inventory\StockItemNotificationEntity No errors.