Query Metrics
32
Database Queries
24
Different statements
90.38 ms
Query time
5
Invalid entities
Grouped Statements
site connection
Time▼ | Count | Info |
---|---|---|
18.52 ms (20.49%) |
4 |
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:
[
728
]
|
16.58 ms (18.35%) |
1 |
SELECT count(v0_.id) AS sclr_0 FROM visit v0_ WHERE v0_.entity_id = ? AND v0_.entity_type_id = ? AND v0_.created_on > ? AND v0_.created_on > ?
Parameters:
[ 292491 1 "2025-04-30 13:46:07" "2023-06-02 00:00:00" ] |
16.36 ms (18.10%) |
1 |
select get_visit_count(1, 292491, 30)
Parameters:
[] |
5.84 ms (6.46%) |
1 |
SELECT offer_order.offer_id as offer_id, count(*) as codes_count FROM offer_code INNER JOIN offer_order offer_order ON offer_order.id = offer_code.offer_order_id WHERE (offer_order.subscription_period_start_at IS NULL) AND (offer_order.offer_id = :offerId) AND (offer_code.created_on between :dateFrom and :dateTo) GROUP BY offer_id
Parameters:
[ "offerId" => 292491 "dateFrom" => "2025-04-30 13:46:07" "dateTo" => "2025-05-01 13:46:07" ] |
5.14 ms (5.69%) |
1 |
SELECT t0.offer_id AS offer_id_1, t0.alternative_offer_id AS alternative_offer_id_2, t0.id AS id_3 FROM alternative_offer t0 WHERE t0.offer_id = ?
Parameters:
[
292491
]
|
3.35 ms (3.71%) |
1 |
SELECT c0_.type_id AS type_id_0, c0_.entity_id AS entity_id_1, c0_.parent_id AS parent_id_2, c0_.user_id AS user_id_3, c0_.created_on AS created_on_4, c0_.user_ip AS user_ip_5, c0_.hidden AS hidden_6, c0_.checked AS checked_7, c0_.deleted AS deleted_8, c0_.confirmed_phone AS confirmed_phone_9, c0_.seen_by_supplier AS seen_by_supplier_10, c0_.comment AS comment_11, c0_.admin_comment AS admin_comment_12, c0_.rating AS rating_13, c0_.taken_by_operator_on AS taken_by_operator_on_14, c0_.processed_by_operator_on AS processed_by_operator_on_15, c0_.telegram_notify_sent AS telegram_notify_sent_16, c0_.allow_to_contact AS allow_to_contact_17, c0_.mobile_version AS mobile_version_18, c0_.hidden_entity AS hidden_entity_19, c0_.voice_path AS voice_path_20, c0_.phone AS phone_21, c0_.id AS id_22, c1_.external_id AS external_id_23, c1_.created_on AS created_on_24, c1_.city_id AS city_id_25, c1_.email AS email_26, c1_.password AS password_27, c1_.accept_newsletter AS accept_newsletter_28, c1_.transition_id AS transition_id_29, c1_.first_name AS first_name_30, c1_.last_name AS last_name_31, c1_.phone AS phone_32, c1_.status AS status_33, c1_.balance AS balance_34, c1_.registered_from_utm_source AS registered_from_utm_source_35, c1_.token AS token_36, c1_.totally_unsubscribed AS totally_unsubscribed_37, c1_.seen_microphone_tooltip AS seen_microphone_tooltip_38, c1_.not_show_rate_popup_till AS not_show_rate_popup_till_39, c1_.geo_location_accepted AS geo_location_accepted_40, c1_.geo_location AS geo_location_41, c1_.telegram_id AS telegram_id_42, c1_.site_id AS site_id_43, c1_.manager_name AS manager_name_44, c1_.mogilev_mailing_bonus_used AS mogilev_mailing_bonus_used_45, c1_.gomel_mailing_bonus_used AS gomel_mailing_bonus_used_46, c1_.dob AS dob_47, c1_.batch_codes_count AS batch_codes_count_48, c1_.virtual_wallet_amount AS virtual_wallet_amount_49, c1_.virtual_wallet_cashback AS virtual_wallet_cashback_50, c1_.money_balance AS money_balance_51, c1_.id AS id_52, c0_.parent_id AS parent_id_53, c0_.user_id AS user_id_54, c0_.operator_id AS operator_id_55, c1_.city_id AS city_id_56 FROM comment c0_ INNER JOIN customer c1_ ON c0_.user_id = c1_.id WHERE c0_.entity_id = ? AND c0_.hidden <> true AND c0_.parent_id IS NULL AND c0_.id < ? AND c0_.confirmed_phone = true ORDER BY c0_.created_on DESC LIMIT 20
Parameters:
[ 292491 2147483647 ] |
3.18 ms (3.52%) |
4 |
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.resource_url = ? AND t0.entity_id = ? AND t0.active = ? ORDER BY t0.id DESC LIMIT 1
Parameters:
[ "Slivki:Default:details" 292491 1 ] |
2.75 ms (3.04%) |
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" "/tury-rossiya-minsk-skidka-tehnoturservis" 1 ] |
2.47 ms (2.74%) |
1 |
SELECT c0_.type_id AS type_id_0, c0_.entity_id AS entity_id_1, c0_.parent_id AS parent_id_2, c0_.user_id AS user_id_3, c0_.created_on AS created_on_4, c0_.user_ip AS user_ip_5, c0_.hidden AS hidden_6, c0_.checked AS checked_7, c0_.deleted AS deleted_8, c0_.confirmed_phone AS confirmed_phone_9, c0_.seen_by_supplier AS seen_by_supplier_10, c0_.comment AS comment_11, c0_.admin_comment AS admin_comment_12, c0_.rating AS rating_13, c0_.taken_by_operator_on AS taken_by_operator_on_14, c0_.processed_by_operator_on AS processed_by_operator_on_15, c0_.telegram_notify_sent AS telegram_notify_sent_16, c0_.allow_to_contact AS allow_to_contact_17, c0_.mobile_version AS mobile_version_18, c0_.hidden_entity AS hidden_entity_19, c0_.voice_path AS voice_path_20, c0_.phone AS phone_21, c0_.id AS id_22, m1_.name AS name_23, m1_.path AS path_24, m1_.description AS description_25, m1_.width AS width_26, m1_.height AS height_27, m1_.size AS size_28, m1_.sort_order AS sort_order_29, m1_.checked AS checked_30, m1_.youtube AS youtube_31, m1_.tags AS tags_32, m1_.id AS id_33, c0_.parent_id AS parent_id_34, c0_.user_id AS user_id_35, c0_.operator_id AS operator_id_36, m1_.type AS type_37, m1_.entity_id AS entity_id_38 FROM comment c0_ INNER JOIN media m1_ ON c0_.id = m1_.entity_id AND m1_.type IN ('18079') INNER JOIN offer o2_ ON (o2_.id = c0_.entity_id) WHERE c0_.type_id = ? AND c0_.hidden = false AND c0_.confirmed_phone = true AND (c0_.deleted = false OR c0_.deleted IS NULL) AND o2_.active = true AND o2_.id = ? ORDER BY c0_.id DESC, m1_.sort_order ASC LIMIT 10
Parameters:
[ 1 292491 ] |
2.10 ms (2.32%) |
2 |
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:
[
523
]
|
1.93 ms (2.13%) |
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 13:46:07" "2025-04-30 13:46:07" 0 1 ] |
1.81 ms (2.01%) |
1 |
select category_id from category2entity left join category_child_relation on category2entity.category_id = category_child_relation.child_id where child_id is null and entity_id = 292491
Parameters:
[] |
1.37 ms (1.51%) |
1 |
SELECT count(distinct fo.user_id) FROM favourite_offer fo WHERE fo.offer_id = :offerId
Parameters:
[ "offerId" => 292491 ] |
1.31 ms (1.45%) |
2 |
SELECT count(c0_.id) AS sclr_0 FROM comment c0_ WHERE c0_.entity_id = ? AND c0_.type_id = ? AND c0_.confirmed_phone = true AND c0_.hidden <> true AND (c0_.deleted <> true OR c0_.deleted IS NULL)
Parameters:
[ 292491 1 ] |
1.22 ms (1.36%) |
1 |
select avg(rating) as rating, count(*) as amount from comment where created_on > date_trunc('day', now() + '-90 days')::timestamp without time zone and type_id=1 and entity_id=292491 and rating > 0 and confirmed_phone and not hidden
Parameters:
[] |
0.93 ms (1.03%) |
1 |
"COMMIT"
Parameters:
[] |
0.73 ms (0.81%) |
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 13:46:07" 2 => 292491 3 => 1 4 => "114.119.147.166" 5 => 1 6 => "" 7 => 794097395 8 => null ] |
0.71 ms (0.79%) |
1 |
SELECT purchase_count_last_month_with_correction FROM purchase_count WHERE purchase_count.entity_id = :offerId
Parameters:
[ "offerId" => 292491 ] |
0.53 ms (0.58%) |
1 |
SELECT s0_.eligibility_rule AS eligibility_rule_0, s0_.id AS id_1 FROM server_feature_state s0_
Parameters:
[] |
0.51 ms (0.56%) |
1 |
SELECT t0.last_modified AS last_modified_1, t0.entity_id AS entity_id_2, t0.purchase_count AS purchase_count_3, t0.purchase_count_recent AS purchase_count_recent_4, t0.purchase_count_last_month AS purchase_count_last_month_5, t0.purchase_count_last_day AS purchase_count_last_day_6, t0.purchase_count_last_month_with_correction AS purchase_count_last_month_with_correction_7, t0.purchase_count_last_week_with_correction AS purchase_count_last_week_with_correction_8, t0.purchase_count_last_day_with_correction AS purchase_count_last_day_with_correction_9, t0.purchase_count_with_correction AS purchase_count_with_correction_10, t0.id AS id_11 FROM purchase_count t0 WHERE t0.entity_id = ? LIMIT 1
Parameters:
[
292491
]
|
0.50 ms (0.56%) |
1 |
select count(*) as amount from comment where type_id=1 and entity_id=292491 and confirmed_phone and not hidden
Parameters:
[] |
0.43 ms (0.48%) |
1 |
SELECT NEXTVAL('visit_id_seq')
Parameters:
[] |
0.17 ms (0.19%) |
1 |
"START TRANSACTION"
Parameters:
[] |
admin connection
Time▼ | Count | Info |
---|---|---|
1.95 ms (2.15%) |
1 |
SELECT o0_.title AS title_0, o0_.offer_id AS offer_id_1, o0_.id AS id_2 FROM offer_gallery_video_package o0_ WHERE o0_.offer_id = ?
Parameters:
[
292491
]
|
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\Banner\AbstractBannerBase | No errors. |
Slivki\Entity\Banner\AbstractMobileAppBanner |
|
Slivki\Entity\Banner | No errors. |
Slivki\Entity\Media\AbstractMediaBase | No errors. |
Slivki\Entity\Media | No errors. |
Slivki\Entity\ServerFeatureState | No errors. |
Slivki\Entity\Offer |
|
Slivki\Entity\SiteSettings | No errors. |
Slivki\Entity\Comment | No errors. |
Slivki\Entity\User |
|
Slivki\Entity\Media\CommentMedia | No errors. |
Slivki\Entity\AlternativeOffer | No errors. |
Slivki\Entity\AbstractCategoryBase | No errors. |
Slivki\Entity\Category |
|
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\BrandingBanner | No errors. |
Slivki\Entity\Sale |
|
Slivki\Entity\Visit | No errors. |
Slivki\Entity\PurchaseCount | No errors. |
Slivki\Entity\CityArea | No errors. |
Slivki\Entity\TopSale | No errors. |
Slivki\Entity\Mall | No errors. |
Slivki\Entity\Banner\MobileFloatingBanner | No errors. |
admin entity manager
Class | Mapping errors |
---|---|
Slivki\Entity\OfferGalleryVideoPackage | No errors. |
subscription entity manager
No loaded entities.