Query Metrics
310
Database Queries
31
Different statements
277.23 ms
Query time
4
Invalid entities
Queries
site connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 1.87 ms |
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:
[ "mogilev" "/mobile/api/v2/me-on-map/categories/5" 1 ] |
| 2 | 0.30 ms |
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.main_alias = ? ORDER BY t0.id DESC
Parameters:
[
"/mobile/api/v2/me-on-map/categories/5"
]
|
| 3 | 5.33 ms |
SELECT c0_.name AS name_0, c0_.h1 AS h1_1, c0_.active AS active_2, c0_.sort_order AS sort_order_3, c0_.api_sort_order AS api_sort_order_4, c0_.map_pin_color AS map_pin_color_5, c0_.id AS id_6, c0_.type_id AS type_id_7, c0_.domain_object_id AS domain_object_id_8, c0_.past AS past_9, c0_.code AS code_10, c0_.top_count AS top_count_11, c0_.description AS description_12, c0_.mobile_api_hash AS mobile_api_hash_13, c0_.entity_count AS entity_count_14, c0_.last_modified AS last_modified_15, c0_.in_menu_bottom AS in_menu_bottom_16, c0_.hot_feed_name AS hot_feed_name_17, c0_.unpopular AS unpopular_18, c0_.featured_in_menu AS featured_in_menu_19, c0_.position AS position_20, c0_.telegram_bot_show AS telegram_bot_show_21, c0_.telegram_bot_name AS telegram_bot_name_22, c0_.telegram_bot_position AS telegram_bot_position_23, c0_.split_offers_with_same_categories AS split_offers_with_same_categories_24, c0_.utm_campaign AS utm_campaign_25, c0_.me_on_map_active AS me_on_map_active_26, c0_.me_on_map_position AS me_on_map_position_27, c0_.me_on_map_featured_active AS me_on_map_featured_active_28, c0_.me_on_map_featured_position AS me_on_map_featured_position_29, c0_.show_items_catalog AS show_items_catalog_30, c0_.active_in_best_offers_category AS active_in_best_offers_category_31, c0_.hide_work_examples AS hide_work_examples_32, c0_.is_bonus_code AS is_bonus_code_33, c0_.type AS type_34, c0_.city_id AS city_id_35, c0_.type_id AS type_id_36 FROM category c0_ WHERE (c0_.city_id = ? AND c0_.me_on_map_active = ? AND c0_.past = ? AND c0_.active = ?) AND c0_.type IN ('0') ORDER BY c0_.me_on_map_position ASC, c0_.id ASC
Parameters:
[ 5 1 0 1 ] |
| 4 | 2.67 ms |
SELECT c0_.name AS name_0, c0_.h1 AS h1_1, c0_.active AS active_2, c0_.sort_order AS sort_order_3, c0_.api_sort_order AS api_sort_order_4, c0_.map_pin_color AS map_pin_color_5, c0_.id AS id_6, c0_.type_id AS type_id_7, c0_.domain_object_id AS domain_object_id_8, c0_.past AS past_9, c0_.code AS code_10, c0_.top_count AS top_count_11, c0_.description AS description_12, c0_.mobile_api_hash AS mobile_api_hash_13, c0_.entity_count AS entity_count_14, c0_.last_modified AS last_modified_15, c0_.in_menu_bottom AS in_menu_bottom_16, c0_.hot_feed_name AS hot_feed_name_17, c0_.unpopular AS unpopular_18, c0_.featured_in_menu AS featured_in_menu_19, c0_.position AS position_20, c0_.telegram_bot_show AS telegram_bot_show_21, c0_.telegram_bot_name AS telegram_bot_name_22, c0_.telegram_bot_position AS telegram_bot_position_23, c0_.split_offers_with_same_categories AS split_offers_with_same_categories_24, c0_.utm_campaign AS utm_campaign_25, c0_.me_on_map_active AS me_on_map_active_26, c0_.me_on_map_position AS me_on_map_position_27, c0_.me_on_map_featured_active AS me_on_map_featured_active_28, c0_.me_on_map_featured_position AS me_on_map_featured_position_29, c0_.show_items_catalog AS show_items_catalog_30, c0_.active_in_best_offers_category AS active_in_best_offers_category_31, c0_.hide_work_examples AS hide_work_examples_32, c0_.is_bonus_code AS is_bonus_code_33, c0_.type AS type_34, c0_.city_id AS city_id_35, c0_.type_id AS type_id_36 FROM category c0_ WHERE (c0_.city_id = ? AND c0_.me_on_map_featured_active = ? AND c0_.past = ? AND c0_.active = ?) AND c0_.type IN ('0') ORDER BY c0_.me_on_map_featured_position ASC, c0_.id ASC
Parameters:
[ 5 1 0 1 ] |
| 5 | 1.82 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 10416 ] |
| 6 | 0.55 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
10416
]
|
| 7 | 9.49 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (10416)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 8 | 0.88 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
10416
]
|
| 9 | 0.37 ms |
SELECT t0.name AS name_1, t0.description AS description_2, t0.id AS id_3 FROM category_type t0 WHERE t0.id = ?
Parameters:
[
1
]
|
| 10 | 0.60 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 10491 ] |
| 11 | 0.30 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 10416 "childId" => 10491 ] |
| 12 | 0.53 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 10432 ] |
| 13 | 0.31 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 10416 "childId" => 10432 ] |
| 14 | 0.53 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 10429 ] |
| 15 | 0.23 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 10416 "childId" => 10429 ] |
| 16 | 0.57 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 10426 ] |
| 17 | 0.50 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 10416 "childId" => 10426 ] |
| 18 | 0.38 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 10497 ] |
| 19 | 0.19 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 10416 "childId" => 10497 ] |
| 20 | 0.39 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 10434 ] |
| 21 | 0.19 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 10416 "childId" => 10434 ] |
| 22 | 0.41 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 10494 ] |
| 23 | 1.60 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 10416 "childId" => 10494 ] |
| 24 | 0.81 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 10446 ] |
| 25 | 0.24 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 10416 "childId" => 10446 ] |
| 26 | 0.54 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 14063 ] |
| 27 | 0.33 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
14063
]
|
| 28 | 5.31 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (14063)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 29 | 0.88 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
14063
]
|
| 30 | 0.65 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 14270 ] |
| 31 | 0.21 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 14063 "childId" => 14270 ] |
| 32 | 0.44 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 14577 ] |
| 33 | 0.19 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 14063 "childId" => 14577 ] |
| 34 | 0.43 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 14591 ] |
| 35 | 0.19 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 14063 "childId" => 14591 ] |
| 36 | 0.32 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 14140 ] |
| 37 | 0.18 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 14063 "childId" => 14140 ] |
| 38 | 0.37 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 16469 ] |
| 39 | 0.17 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 14063 "childId" => 16469 ] |
| 40 | 0.49 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 18432 ] |
| 41 | 0.21 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 14063 "childId" => 18432 ] |
| 42 | 0.37 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 20551 ] |
| 43 | 0.35 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 14063 "childId" => 20551 ] |
| 44 | 0.36 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 14764 ] |
| 45 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 14063 "childId" => 14764 ] |
| 46 | 0.32 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 14138 ] |
| 47 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 14063 "childId" => 14138 ] |
| 48 | 1.47 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7926 ] |
| 49 | 0.29 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
7926
]
|
| 50 | 5.11 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (7926)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 51 | 0.56 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
7926
]
|
| 52 | 5.61 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7814 ] |
| 53 | 0.32 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
7814
]
|
| 54 | 9.36 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (7814)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 55 | 3.63 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
7814
]
|
| 56 | 0.33 ms |
SELECT t0.name AS name_1, t0.description AS description_2, t0.id AS id_3 FROM category_type t0 WHERE t0.id = ?
Parameters:
[
2
]
|
| 57 | 0.17 ms |
SELECT t0.name AS name_1, t0.description AS description_2, t0.id AS id_3 FROM category_type t0 WHERE t0.id = ?
Parameters:
[
3
]
|
| 58 | 0.59 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7897 ] |
| 59 | 0.21 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7897 ] |
| 60 | 0.68 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7867 ] |
| 61 | 0.17 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7867 ] |
| 62 | 0.42 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7820 ] |
| 63 | 0.26 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7820 ] |
| 64 | 0.99 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7815 ] |
| 65 | 0.19 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7815 ] |
| 66 | 0.45 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7857 ] |
| 67 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7857 ] |
| 68 | 0.50 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7821 ] |
| 69 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7821 ] |
| 70 | 0.55 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7837 ] |
| 71 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7837 ] |
| 72 | 0.38 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 9541 ] |
| 73 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 9541 ] |
| 74 | 0.53 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7826 ] |
| 75 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7826 ] |
| 76 | 0.61 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7878 ] |
| 77 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7878 ] |
| 78 | 0.41 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7879 ] |
| 79 | 0.22 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7879 ] |
| 80 | 0.75 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7855 ] |
| 81 | 0.28 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7855 ] |
| 82 | 0.64 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7880 ] |
| 83 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7880 ] |
| 84 | 0.35 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7899 ] |
| 85 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7899 ] |
| 86 | 0.39 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7863 ] |
| 87 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 7863 ] |
| 88 | 0.33 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 11911 ] |
| 89 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7814 "childId" => 11911 ] |
| 90 | 1.35 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8057 ] |
| 91 | 0.30 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
8057
]
|
| 92 | 6.24 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8057)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 93 | 0.91 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
8057
]
|
| 94 | 0.45 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 11980 ] |
| 95 | 0.18 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 11980 ] |
| 96 | 0.30 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8074 ] |
| 97 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 8074 ] |
| 98 | 0.29 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8080 ] |
| 99 | 0.13 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 8080 ] |
| 100 | 0.31 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8061 ] |
| 101 | 0.13 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 8061 ] |
| 102 | 0.31 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8081 ] |
| 103 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 8081 ] |
| 104 | 0.42 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8077 ] |
| 105 | 0.13 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 8077 ] |
| 106 | 0.61 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8082 ] |
| 107 | 0.23 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
8082
]
|
| 108 | 4.79 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8082)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 109 | 0.63 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
8082
]
|
| 110 | 0.37 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8088 ] |
| 111 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8088 ] |
| 112 | 0.35 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8102 ] |
| 113 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8102 ] |
| 114 | 0.31 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8100 ] |
| 115 | 0.13 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8100 ] |
| 116 | 0.31 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8095 ] |
| 117 | 0.13 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8095 ] |
| 118 | 0.27 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8114 ] |
| 119 | 0.17 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8114 ] |
| 120 | 0.28 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8099 ] |
| 121 | 0.19 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8099 ] |
| 122 | 0.36 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8109 ] |
| 123 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8109 ] |
| 124 | 2.03 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7917 ] |
| 125 | 0.25 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
7917
]
|
| 126 | 7.17 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (7917)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 127 | 1.08 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
7917
]
|
| 128 | 0.66 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7926 ] |
| 129 | 0.18 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 7926 ] |
| 130 | 0.62 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7933 ] |
| 131 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 7933 ] |
| 132 | 0.57 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7934 ] |
| 133 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 7934 ] |
| 134 | 0.33 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 18406 ] |
| 135 | 0.19 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 18406 ] |
| 136 | 0.32 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 18246 ] |
| 137 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 18246 ] |
| 138 | 0.30 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 18313 ] |
| 139 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 18313 ] |
| 140 | 0.41 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7921 ] |
| 141 | 0.13 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 7921 ] |
| 142 | 0.42 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7922 ] |
| 143 | 0.13 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 7922 ] |
| 144 | 0.35 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7925 ] |
| 145 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 7925 ] |
| 146 | 0.38 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7924 ] |
| 147 | 0.37 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 7924 ] |
| 148 | 0.37 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7918 ] |
| 149 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 7918 ] |
| 150 | 0.32 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7946 ] |
| 151 | 0.13 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 7946 ] |
| 152 | 0.55 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7935 ] |
| 153 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7917 "childId" => 7935 ] |
| 154 | 0.64 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8195 ] |
| 155 | 0.24 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
8195
]
|
| 156 | 6.63 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8195)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 157 | 0.89 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
8195
]
|
| 158 | 0.72 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8213 ] |
| 159 | 0.25 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8195 "childId" => 8213 ] |
| 160 | 1.07 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8116 ] |
| 161 | 0.35 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
8116
]
|
| 162 | 7.13 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8116)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 163 | 0.88 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
8116
]
|
| 164 | 0.61 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8126 ] |
| 165 | 0.25 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8116 "childId" => 8126 ] |
| 166 | 0.75 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8117 ] |
| 167 | 0.20 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8116 "childId" => 8117 ] |
| 168 | 0.47 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8128 ] |
| 169 | 0.18 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8116 "childId" => 8128 ] |
| 170 | 0.34 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8141 ] |
| 171 | 0.17 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8116 "childId" => 8141 ] |
| 172 | 0.34 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8127 ] |
| 173 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8116 "childId" => 8127 ] |
| 174 | 0.39 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8136 ] |
| 175 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8116 "childId" => 8136 ] |
| 176 | 0.34 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8142 ] |
| 177 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8116 "childId" => 8142 ] |
| 178 | 1.93 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7977 ] |
| 179 | 0.31 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
7977
]
|
| 180 | 9.48 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (7977)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 181 | 0.58 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
7977
]
|
| 182 | 1.59 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8052 ] |
| 183 | 0.26 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
8052
]
|
| 184 | 7.33 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8052)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 185 | 0.51 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
8052
]
|
| 186 | 0.40 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8054 ] |
| 187 | 0.23 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8052 "childId" => 8054 ] |
| 188 | 0.76 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 12000 ] |
| 189 | 0.20 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8052 "childId" => 12000 ] |
| 190 | 0.84 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8169 ] |
| 191 | 0.25 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
8169
]
|
| 192 | 5.38 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8169)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 193 | 0.52 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
8169
]
|
| 194 | 0.44 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7852 ] |
| 195 | 0.19 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8169 "childId" => 7852 ] |
| 196 | 0.42 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7915 ] |
| 197 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8169 "childId" => 7915 ] |
| 198 | 0.39 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8184 ] |
| 199 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8169 "childId" => 8184 ] |
| 200 | 0.34 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8173 ] |
| 201 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8169 "childId" => 8173 ] |
| 202 | 1.15 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7900 ] |
| 203 | 0.25 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
7900
]
|
| 204 | 13.94 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (7900)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 205 | 1.22 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
7900
]
|
| 206 | 0.71 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7915 ] |
| 207 | 0.23 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7900 "childId" => 7915 ] |
| 208 | 0.75 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7914 ] |
| 209 | 0.20 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7900 "childId" => 7914 ] |
| 210 | 0.49 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7908 ] |
| 211 | 0.19 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7900 "childId" => 7908 ] |
| 212 | 0.44 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7912 ] |
| 213 | 0.20 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7900 "childId" => 7912 ] |
| 214 | 0.44 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7904 ] |
| 215 | 0.23 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7900 "childId" => 7904 ] |
| 216 | 0.69 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7947 ] |
| 217 | 0.31 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
7947
]
|
| 218 | 4.87 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (7947)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 219 | 0.78 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
7947
]
|
| 220 | 0.56 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7948 ] |
| 221 | 0.22 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7947 "childId" => 7948 ] |
| 222 | 0.45 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7949 ] |
| 223 | 0.19 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7947 "childId" => 7949 ] |
| 224 | 0.50 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7954 ] |
| 225 | 0.23 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7947 "childId" => 7954 ] |
| 226 | 0.35 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7956 ] |
| 227 | 0.21 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7947 "childId" => 7956 ] |
| 228 | 0.49 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8157 ] |
| 229 | 0.25 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
8157
]
|
| 230 | 4.95 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8157)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 231 | 0.68 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
8157
]
|
| 232 | 0.44 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8166 ] |
| 233 | 0.21 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8157 "childId" => 8166 ] |
| 234 | 0.44 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8143 ] |
| 235 | 0.21 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
8143
]
|
| 236 | 4.57 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8143)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 237 | 0.54 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
8143
]
|
| 238 | 0.42 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8144 ] |
| 239 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8143 "childId" => 8144 ] |
| 240 | 0.55 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8230 ] |
| 241 | 0.23 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
8230
]
|
| 242 | 4.58 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8230)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 243 | 0.58 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
8230
]
|
| 244 | 0.45 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8088 ] |
| 245 | 0.20 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8230 "childId" => 8088 ] |
| 246 | 0.36 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8231 ] |
| 247 | 0.17 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8230 "childId" => 8231 ] |
| 248 | 0.37 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8232 ] |
| 249 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8230 "childId" => 8232 ] |
| 250 | 0.69 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 16406 ] |
| 251 | 0.33 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
16406
]
|
| 252 | 6.86 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (16406)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 253 | 0.45 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
16406
]
|
| 254 | 0.86 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8247 ] |
| 255 | 0.30 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
8247
]
|
| 256 | 4.88 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8247)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 257 | 0.64 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
8247
]
|
| 258 | 0.46 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8259 ] |
| 259 | 0.33 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8247 "childId" => 8259 ] |
| 260 | 0.45 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8249 ] |
| 261 | 0.18 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8247 "childId" => 8249 ] |
| 262 | 0.35 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8254 ] |
| 263 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8247 "childId" => 8254 ] |
| 264 | 0.35 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 18246 ] |
| 265 | 0.23 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
18246
]
|
| 266 | 4.45 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (18246)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 267 | 0.42 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
18246
]
|
| 268 | 0.64 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7867 ] |
| 269 | 0.23 ms |
SELECT t0.name AS name_1, t0.path AS path_2, t0.description AS description_3, t0.width AS width_4, t0.height AS height_5, t0.size AS size_6, t0.sort_order AS sort_order_7, t0.checked AS checked_8, t0.youtube AS youtube_9, t0.tags AS tags_10, t0.id AS id_11, t0.entity_id AS entity_id_12, t0.type FROM media t0 WHERE t0.entity_id = ? AND t0.type IN ('18') ORDER BY t0.id DESC
Parameters:
[
7867
]
|
| 270 | 4.93 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (7867)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 271 | 0.48 ms |
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.city_id AS city_id_8, t0.type, t0.type_id AS type_id_9, t0.domain_object_id AS domain_object_id_10, t0.past AS past_11, t0.code AS code_12, t0.top_count AS top_count_13, t0.description AS description_14, t0.mobile_api_hash AS mobile_api_hash_15, t0.entity_count AS entity_count_16, t0.last_modified AS last_modified_17, t0.in_menu_bottom AS in_menu_bottom_18, t0.hot_feed_name AS hot_feed_name_19, t0.unpopular AS unpopular_20, t0.featured_in_menu AS featured_in_menu_21, t0.position AS position_22, t0.telegram_bot_show AS telegram_bot_show_23, t0.telegram_bot_name AS telegram_bot_name_24, t0.telegram_bot_position AS telegram_bot_position_25, t0.split_offers_with_same_categories AS split_offers_with_same_categories_26, t0.utm_campaign AS utm_campaign_27, t0.me_on_map_active AS me_on_map_active_28, t0.me_on_map_position AS me_on_map_position_29, t0.me_on_map_featured_active AS me_on_map_featured_active_30, t0.me_on_map_featured_position AS me_on_map_featured_position_31, t0.show_items_catalog AS show_items_catalog_32, t0.active_in_best_offers_category AS active_in_best_offers_category_33, t0.hide_work_examples AS hide_work_examples_34, t0.is_bonus_code AS is_bonus_code_35, t0.type_id AS type_id_36 FROM category t0 INNER JOIN category_child_relation ON t0.id = category_child_relation.child_id WHERE category_child_relation.parent_id = ? AND t0.type IN ('0', '1', '3', '4', '5', '6') ORDER BY t0.sort_order ASC
Parameters:
[
7867
]
|
| 272 | 0.43 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7869 ] |
| 273 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7867 "childId" => 7869 ] |
| 274 | 0.51 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7873 ] |
| 275 | 0.21 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7867 "childId" => 7873 ] |
| 276 | 0.46 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7876 ] |
| 277 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7867 "childId" => 7876 ] |
| 278 | 0.35 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 7877 ] |
| 279 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 7867 "childId" => 7877 ] |
| 280 | 0.71 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8057 ] |
| 281 | 5.41 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8057)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 282 | 0.42 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 11980 ] |
| 283 | 0.17 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 11980 ] |
| 284 | 0.29 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8074 ] |
| 285 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 8074 ] |
| 286 | 0.31 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8080 ] |
| 287 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 8080 ] |
| 288 | 0.36 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8061 ] |
| 289 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 8061 ] |
| 290 | 0.30 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8081 ] |
| 291 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 8081 ] |
| 292 | 0.36 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8077 ] |
| 293 | 0.13 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8057 "childId" => 8077 ] |
| 294 | 0.43 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8082 ] |
| 295 | 4.46 ms |
SELECT DISTINCT ON (geo_location.id) geo_location.id as geo_location_id, offer.id as offer_id, offer.without_codes, offer.show_map_icon_in_app, geo_location.latitude, geo_location.longitude, geo_location.city, geo_location.street, geo_location.house, default_category.id as category_id, default_category.map_pin_color, default_category.city_id as city_id, media.id as icon_media_id, logo_media.id as offer_logo_media_id, offer.map_price, offer.map_rating, director.name as director_name, offer.rating, purchase_count.purchase_count_last_month_with_correction as month_sale_count, offer.viber as viber, offer.telegram as telegram, json_agg(category2entity.category_id) as offer_categories FROM geo_location_relation INNER JOIN offer offer ON geo_location_relation.entity_id = offer.id INNER JOIN geo_location geo_location ON geo_location_relation.location_id = geo_location.id INNER JOIN category default_category ON offer.default_category_id = default_category.id LEFT JOIN category2entity category2entity ON offer.id = category2entity.entity_id LEFT JOIN media logo_media ON (offer.id = logo_media.entity_id) AND (logo_media.type = :mapLogoMediaType) LEFT JOIN purchase_count purchase_count ON offer.id = purchase_count.entity_id LEFT JOIN offer2director offer2director ON offer.id = offer2director.offer_id LEFT JOIN media media ON (default_category.id = media.entity_id) AND (media.type = :mapIconMediaType) LEFT JOIN category category ON category.id = category2entity.category_id LEFT JOIN director director ON offer2director.director_id = director.id WHERE (geo_location.active = :geoLocationActive) AND (offer.active = :offerActive) AND (offer.hidden = :offerHidden) AND (now() between offer.active_since and offer.active_till) AND (category2entity.category_id IN (8082)) GROUP BY 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21
Parameters:
[ "geoLocationActive" => true "offerActive" => true "offerHidden" => false "mapIconMediaType" => 18266 "mapLogoMediaType" => 24 ] |
| 296 | 0.45 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8088 ] |
| 297 | 0.20 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8088 ] |
| 298 | 0.33 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8102 ] |
| 299 | 0.16 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8102 ] |
| 300 | 0.30 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8100 ] |
| 301 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8100 ] |
| 302 | 0.28 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8095 ] |
| 303 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8095 ] |
| 304 | 0.28 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8114 ] |
| 305 | 0.15 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8114 ] |
| 306 | 0.28 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8099 ] |
| 307 | 0.13 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8099 ] |
| 308 | 0.30 ms |
SELECT count(*) FROM offer WHERE (id IN (SELECT entity_id FROM category2entity WHERE category_id = :categoryId)) AND (active = :active) AND (hidden = :hidden) AND (now() between active_since and active_till)
Parameters:
[ "active" => "true" "hidden" => "false" "categoryId" => 8109 ] |
| 309 | 0.14 ms |
SELECT ccr.end_of_block FROM category_child_relation ccr WHERE (parent_id = :parentId) AND (child_id = :childId)
Parameters:
[ "parentId" => 8082 "childId" => 8109 ] |
| 310 | 0.52 ms |
SELECT ommopp.id, ommopp.position, ommopp.offer_id, o.title, o.me_on_map_name FROM on_me_map_offer_position_paid ommopp INNER JOIN offer o ON ommopp.offer_id = o.id WHERE ommopp.city_id = :cityId ORDER BY ommopp.position ASC
Parameters:
[ "cityId" => 5 ] |
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\Offer |
|
| Slivki\Entity\MainMenu | 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\BrandingBanner | No errors. |
| Slivki\Entity\Sale |
|
| Slivki\Entity\ProductCategory | No errors. |
| Slivki\Entity\OfferExtensionCategory | No errors. |
| Slivki\Entity\GiftCertificateCategory | No errors. |
| Slivki\Entity\GiftCertificateGiftCategory | No errors. |
| Slivki\Entity\OfferExtensionOnlineCategory | No errors. |
| Slivki\Entity\MediaSize | No errors. |
admin entity manager
No loaded entities.
subscription entity manager
No loaded entities.