Query Metrics
52
Database Queries
51
Different statements
329.73 ms
Query time
5
Invalid entities
Grouped Statements
site connection
Time▼ | Count | Info |
---|---|---|
44.92 ms (13.62%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 44 and now() between active_since and active_till
Parameters:
[] |
44.50 ms (13.50%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 50 and now() between active_since and active_till
Parameters:
[] |
44.21 ms (13.41%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 107 and now() between active_since and active_till
Parameters:
[] |
28.05 ms (8.51%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 33 and now() between active_since and active_till
Parameters:
[] |
14.76 ms (4.48%) |
2 |
SELECT t0.name AS name_1, t0.domain AS domain_2, t0.name_genitive AS name_genitive_3, t0.name_locative AS name_locative_4, t0.active AS active_5, t0.position AS position_6, t0.google_analytics AS google_analytics_7, ST_AsEWKT(t0.point::geometry) AS point_8, t0.id AS id_9, t0.parent_id AS parent_id_10 FROM city t0 INNER JOIN branding_banner_city ON t0.id = branding_banner_city.city_id WHERE branding_banner_city.banner_id = ?
Parameters:
[
706
]
|
9.58 ms (2.91%) |
1 |
SELECT DISTINCT category.id, category.name FROM category INNER JOIN category2entity category2entity ON category.id = category2entity.category_id INNER JOIN offer offer ON offer.id = category2entity.entity_id INNER JOIN offer_extension offer_extension ON offer.id = offer_extension.offer_id INNER JOIN geo_location_relation geo_location_relation ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id WHERE (category.active = :categoryActive) AND (category.past = :categoryPast) AND (category.domain_object_id = :domainObjectId) AND (category.type = :categoryType) AND (category.type_id IN (1, 2)) AND (category.id IN (SELECT category_child_relation.child_id FROM category_child_relation WHERE category_child_relation.parent_id = :parentCategoryId)) AND (now() between offer.active_since and offer.active_till) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND ((offer_extension.active IS NULL) OR (offer_extension.active = :offerExtensionActive)) AND (offer_extension.type = :tireExtensionType) AND (geo_location.schedule IS NOT NULL)
Parameters:
[ "domainObjectId" => 1 "categoryActive" => true "categoryPast" => false "categoryType" => 0 "parentCategoryId" => 6243 "offerActive" => true "offerHidden" => false "offerExtensionActive" => true "tireExtensionType" => 3 ] |
4.66 ms (1.41%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 19 and now() between active_since and active_till
Parameters:
[] |
4.56 ms (1.38%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 22 and now() between active_since and active_till
Parameters:
[] |
4.38 ms (1.33%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 67 and now() between active_since and active_till
Parameters:
[] |
4.37 ms (1.33%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 111 and now() between active_since and active_till
Parameters:
[] |
4.22 ms (1.28%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 66 and now() between active_since and active_till
Parameters:
[] |
4.19 ms (1.27%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 68 and now() between active_since and active_till
Parameters:
[] |
4.01 ms (1.22%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 47 and now() between active_since and active_till
Parameters:
[] |
3.98 ms (1.21%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 48 and now() between active_since and active_till
Parameters:
[] |
3.92 ms (1.19%) |
1 |
SELECT t0.created_on AS created_on_1, t0.entity_id AS entity_id_2, t0.active AS active_3, t0.resource_url AS resource_url_4, t0.main_alias AS main_alias_5, t0.title AS title_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.page_description AS page_description_9, t0.meta_keywords AS meta_keywords_10, t0.domain AS domain_11, t0.id AS id_12 FROM seo t0 WHERE t0.domain = ? AND t0.main_alias = ? AND t0.active = ? ORDER BY t0.id DESC LIMIT 1
Parameters:
[ "www" "/populyarnye-aktsii/obuchenie" 1 ] |
3.89 ms (1.18%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 95 and now() between active_since and active_till
Parameters:
[] |
3.83 ms (1.16%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 115 and now() between active_since and active_till
Parameters:
[] |
3.79 ms (1.15%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 46 and now() between active_since and active_till
Parameters:
[] |
3.78 ms (1.15%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 84 and now() between active_since and active_till
Parameters:
[] |
3.77 ms (1.14%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 24 and now() between active_since and active_till
Parameters:
[] |
3.68 ms (1.12%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 40 and now() between active_since and active_till
Parameters:
[] |
3.67 ms (1.11%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 26 and now() between active_since and active_till
Parameters:
[] |
3.67 ms (1.11%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 131 and now() between active_since and active_till
Parameters:
[] |
3.66 ms (1.11%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 121 and now() between active_since and active_till
Parameters:
[] |
3.66 ms (1.11%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 25 and now() between active_since and active_till
Parameters:
[] |
3.63 ms (1.10%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 35 and now() between active_since and active_till
Parameters:
[] |
3.60 ms (1.09%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 93 and now() between active_since and active_till
Parameters:
[] |
3.59 ms (1.09%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 53 and now() between active_since and active_till
Parameters:
[] |
3.51 ms (1.06%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 141 and now() between active_since and active_till
Parameters:
[] |
3.47 ms (1.05%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 51 and now() between active_since and active_till
Parameters:
[] |
3.46 ms (1.05%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 101 and now() between active_since and active_till
Parameters:
[] |
3.45 ms (1.05%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 114 and now() between active_since and active_till
Parameters:
[] |
3.44 ms (1.04%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 113 and now() between active_since and active_till
Parameters:
[] |
3.40 ms (1.03%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 52 and now() between active_since and active_till
Parameters:
[] |
3.40 ms (1.03%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 18 and now() between active_since and active_till
Parameters:
[] |
3.37 ms (1.02%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 29 and now() between active_since and active_till
Parameters:
[] |
3.31 ms (1.01%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 57 and now() between active_since and active_till
Parameters:
[] |
3.31 ms (1.00%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 9 and now() between active_since and active_till
Parameters:
[] |
3.29 ms (1.00%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 69 and now() between active_since and active_till
Parameters:
[] |
3.23 ms (0.98%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 31 and now() between active_since and active_till
Parameters:
[] |
3.22 ms (0.98%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 13 and now() between active_since and active_till
Parameters:
[] |
3.17 ms (0.96%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 109 and now() between active_since and active_till
Parameters:
[] |
3.02 ms (0.91%) |
1 |
select count(distinct offer.id) from offer inner join category2entity on offer.id = category2entity.entity_id inner join category on category2entity.category_id = category.id where offer.active and category.city_id = 42 and now() between active_since and active_till
Parameters:
[] |
1.51 ms (0.46%) |
1 |
SELECT b0_.banner_id AS banner_id_0, b0_.title AS title_1, b0_.url AS url_2, b0_.right_side_url AS right_side_url_3, b0_.active_since AS active_since_4, b0_.active_till AS active_till_5, b0_.active AS active_6, b0_.test AS test_7, b0_.for_categories AS for_categories_8, b0_.pass_through AS pass_through_9, b0_.small_image AS small_image_10, b0_.middle_image AS middle_image_11, b0_.big_image AS big_image_12, b0_.mobile_image AS mobile_image_13, b0_.mobile_banner AS mobile_banner_14, b0_.mobile_divider AS mobile_divider_15, b0_.id AS id_16 FROM branding_banner b0_ WHERE b0_.active_since < ? AND b0_.active_till > ? AND b0_.test = ? AND b0_.active = ? ORDER BY b0_.id DESC
Parameters:
[ "2025-05-01 05:13:57" "2025-04-30 05:13:57" 0 1 ] |
1.20 ms (0.36%) |
1 |
SELECT n0_.active AS active_0, n0_.test AS test_1, n0_.type AS type_2, n0_.cookie_name AS cookie_name_3, n0_.active_till AS active_till_4, n0_.start_after AS start_after_5, n0_.picture_text AS picture_text_6, n0_.picture_text_bg_color AS picture_text_bg_color_7, n0_.left_text AS left_text_8, n0_.right_text AS right_text_9, n0_.mobile_text AS mobile_text_10, n0_.right_bg_color AS right_bg_color_11, n0_.button_text AS button_text_12, n0_.button_link AS button_link_13, n0_.button_bg_color AS button_bg_color_14, n0_.button_text_color AS button_text_color_15, n0_.dark_close_btn AS dark_close_btn_16, n0_.active_from AS active_from_17, n0_.id AS id_18 FROM notice_popup n0_ WHERE n0_.active = true AND n0_.type = ? AND CURRENT_TIMESTAMP BETWEEN n0_.active_from AND n0_.active_till
Parameters:
[
1
]
|
1.06 ms (0.32%) |
1 |
INSERT INTO visit (created_on, entity_id, entity_type_id, ip_address, device_type, referrer, id, user_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 1 => "2025-05-01 05:13:57" 2 => 6243 3 => 5 4 => "18.220.50.218" 5 => 0 6 => "" 7 => 776357564 8 => null ] |
1.00 ms (0.30%) |
1 |
"COMMIT"
Parameters:
[] |
0.82 ms (0.25%) |
1 |
SELECT t0.name AS name_1, t0.h1 AS h1_2, t0.active AS active_3, t0.sort_order AS sort_order_4, t0.api_sort_order AS api_sort_order_5, t0.map_pin_color AS map_pin_color_6, t0.id AS id_7, t0.type_id AS type_id_8, t0.domain_object_id AS domain_object_id_9, t0.past AS past_10, t0.code AS code_11, t0.top_count AS top_count_12, t0.description AS description_13, t0.mobile_api_hash AS mobile_api_hash_14, t0.entity_count AS entity_count_15, t0.last_modified AS last_modified_16, t0.in_menu_bottom AS in_menu_bottom_17, t0.hot_feed_name AS hot_feed_name_18, t0.unpopular AS unpopular_19, t0.featured_in_menu AS featured_in_menu_20, t0.position AS position_21, t0.telegram_bot_show AS telegram_bot_show_22, t0.telegram_bot_name AS telegram_bot_name_23, t0.telegram_bot_position AS telegram_bot_position_24, t0.split_offers_with_same_categories AS split_offers_with_same_categories_25, t0.utm_campaign AS utm_campaign_26, t0.me_on_map_active AS me_on_map_active_27, t0.me_on_map_position AS me_on_map_position_28, t0.me_on_map_featured_active AS me_on_map_featured_active_29, t0.me_on_map_featured_position AS me_on_map_featured_position_30, t0.show_items_catalog AS show_items_catalog_31, t0.active_in_best_offers_category AS active_in_best_offers_category_32, t0.hide_work_examples AS hide_work_examples_33, t0.is_bonus_code AS is_bonus_code_34, t0.city_id AS city_id_35, t0.type_id AS type_id_36, t0.type FROM category t0 WHERE t0.id = ? AND t0.type IN ('0')
Parameters:
[
6243
]
|
0.78 ms (0.24%) |
1 |
SELECT NEXTVAL('visit_id_seq')
Parameters:
[] |
0.56 ms (0.17%) |
1 |
SELECT s0_.eligibility_rule AS eligibility_rule_0, s0_.id AS id_1 FROM server_feature_state s0_
Parameters:
[] |
0.21 ms (0.06%) |
1 |
"START TRANSACTION"
Parameters:
[] |
admin connection
No database queries were performed.
subscription connection
No database queries were performed.
default connection
No database queries were performed.
Database Connections
Name | Service |
---|---|
site | doctrine.dbal.site_connection |
admin | doctrine.dbal.admin_connection |
subscription | doctrine.dbal.subscription_connection |
default | doctrine.dbal.default_connection |
Entity Managers
Name | Service |
---|---|
default | doctrine.orm.default_entity_manager |
admin | doctrine.orm.admin_entity_manager |
subscription | doctrine.orm.subscription_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
default entity manager
Class | Mapping errors |
---|---|
Slivki\Entity\City | No errors. |
Slivki\Entity\PartnerMailingCampaignAction | No errors. |
Slivki\Entity\Seo | No errors. |
Slivki\Entity\Media\AbstractMediaBase | No errors. |
Slivki\Entity\Media | No errors. |
Slivki\Entity\Banner\AbstractBannerBase | No errors. |
Slivki\Entity\Banner\AbstractMobileAppBanner |
|
Slivki\Entity\Banner | No errors. |
Slivki\Entity\ServerFeatureState | No errors. |
Slivki\Entity\AbstractCategoryBase | No errors. |
Slivki\Entity\Category |
|
Slivki\Entity\Visit | No errors. |
Slivki\Entity\User |
|
Slivki\Entity\BrandingBanner | No errors. |
Slivki\Entity\CityArea | No errors. |
Slivki\Entity\TopSale | No errors. |
Slivki\Entity\Mall | No errors. |
Slivki\Entity\CategoryType | No errors. |
Slivki\Entity\Media\CategoryMobileMenuIconMedia | No errors. |
Slivki\Entity\Media\CategoryAppIconMedia | No errors. |
Slivki\Entity\Media\CategoryMapPinIconMedia | No errors. |
Slivki\Entity\Sale |
|
Slivki\Entity\Offer |
|
Slivki\Entity\NoticePopup | No errors. |
admin entity manager
No loaded entities.
subscription entity manager
No loaded entities.