https://activityme.sf9.io/ar

Query Metrics

15 Database Queries
13 Different statements
235.59 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
157.99 ms
(67.06%)
1
SELECT c0_.id AS id_0, c0_.slug AS slug_1, c0_.name AS name_2, COUNT(DISTINCT e1_.id) AS sclr_3, c0_.colorCode AS colorCode_4, c0_.nameAr AS nameAr_5 FROM category c0_ LEFT JOIN activity_category a3_ ON c0_.id = a3_.category_id LEFT JOIN activity a2_ ON a2_.id = a3_.activity_id LEFT JOIN event e1_ ON a2_.event_id = e1_.id WHERE c0_.parent_category_id IS NULL AND (e1_.active IS NOT NULL AND e1_.active <> 0) GROUP BY c0_.id ORDER BY SUM(e1_.active) DESC LIMIT 4
Parameters:
[]
30.26 ms
(12.84%)
1
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.name_ar AS name_ar_2, e0_.slug AS slug_3, e0_.active AS active_4, e0_.for_beginner AS for_beginner_5, e0_.is_highly_rated AS is_highly_rated_6, e0_.start_time AS start_time_7, e0_.end_time AS end_time_8, e0_.created_at AS created_at_9, e0_.updated_at AS updated_at_10, e0_.internal_tickets AS internal_tickets_11, e0_.facebook_tracking_id AS facebook_tracking_id_12, e0_.google_analytics_tracking_id AS google_analytics_tracking_id_13, e0_.organizer_id AS organizer_id_14, e0_.cover_image_id AS cover_image_id_15, e0_.gallery_id AS gallery_id_16 FROM event e0_ WHERE e0_.active = ? AND e0_.start_time >= ? AND e0_.end_time <= ? ORDER BY e0_.start_time ASC LIMIT 3
Parameters:
[
  1
  "2025-01-18 02:08:40"
  "2025-01-25 02:08:40"
]
13.83 ms
(5.87%)
1
SELECT a0_.country AS country_0, a0_.city AS city_1, COUNT(DISTINCT e1_.id) AS sclr_2 FROM activity a0_ INNER JOIN event e1_ ON a0_.event_id = e1_.id WHERE e1_.active = 1 AND e1_.end_time >= ? AND (a0_.country IS NOT NULL AND a0_.country <> '') AND (a0_.city IS NOT NULL AND a0_.city <> '') GROUP BY a0_.country, a0_.city ORDER BY sclr_2 DESC LIMIT 4
Parameters:
[
  "2025-01-18 02:08:40"
]
6.46 ms
(2.74%)
1
SELECT t0.id AS id_7, t0.list_order AS list_order_8, t0.event_id AS event_id_9, t0.section_type, t1.text AS text_10, t1.text_ar AS text_ar_11, t2.image_id AS image_id_12, t4.headline AS headline_13, t4.headline_ar AS headline_ar_14, t5.gallery_id AS gallery_id_15, t6.url AS url_16, t6.embed_url AS embed_url_17 FROM section t0 LEFT JOIN text_section t1 ON t0.id = t1.id LEFT JOIN image_section t2 ON t0.id = t2.id LEFT JOIN uploads_section t3 ON t0.id = t3.id LEFT JOIN headline_section t4 ON t0.id = t4.id LEFT JOIN gallery_section t5 ON t0.id = t5.id LEFT JOIN video_section t6 ON t0.id = t6.id WHERE t0.event_id IN (?) ORDER BY t0.list_order ASC
Parameters:
[
  28187
]
5.69 ms
(2.42%)
1
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.name_ar AS name_ar_2, e0_.slug AS slug_3, e0_.active AS active_4, e0_.for_beginner AS for_beginner_5, e0_.is_highly_rated AS is_highly_rated_6, e0_.start_time AS start_time_7, e0_.end_time AS end_time_8, e0_.created_at AS created_at_9, e0_.updated_at AS updated_at_10, e0_.internal_tickets AS internal_tickets_11, e0_.facebook_tracking_id AS facebook_tracking_id_12, e0_.google_analytics_tracking_id AS google_analytics_tracking_id_13, e0_.organizer_id AS organizer_id_14, e0_.cover_image_id AS cover_image_id_15, e0_.gallery_id AS gallery_id_16 FROM event e0_ INNER JOIN activity_log a1_ ON e0_.id = a1_.event_id INNER JOIN user u2_ ON a1_.user_id = u2_.id WHERE u2_.id = ? AND a1_.type = ? AND e0_.start_time >= 2025 - 01 - 18 ORDER BY a1_.timestamp ASC LIMIT 10
Parameters:
[
  null
  1
]
5.25 ms
(2.23%)
3
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.colorCode AS colorCode_4, t0.nameAr AS nameAr_5, t0.position AS position_6, t0.parent_category_id AS parent_category_id_7 FROM category t0
Parameters:
[]
3.58 ms
(1.52%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.content AS content_3, t0.titleAr AS titleAr_4, t0.contentAr AS contentAr_5, t0.event_id AS event_id_6 FROM description t0 WHERE t0.event_id = ?
Parameters:
[
  28187
]
3.45 ms
(1.46%)
1
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.name_ar AS name_ar_2, e0_.slug AS slug_3, e0_.active AS active_4, e0_.for_beginner AS for_beginner_5, e0_.is_highly_rated AS is_highly_rated_6, e0_.start_time AS start_time_7, e0_.end_time AS end_time_8, e0_.created_at AS created_at_9, e0_.updated_at AS updated_at_10, e0_.internal_tickets AS internal_tickets_11, e0_.facebook_tracking_id AS facebook_tracking_id_12, e0_.google_analytics_tracking_id AS google_analytics_tracking_id_13, e0_.organizer_id AS organizer_id_14, e0_.cover_image_id AS cover_image_id_15, e0_.gallery_id AS gallery_id_16 FROM event e0_ INNER JOIN promotion p1_ ON e0_.id = p1_.event_id WHERE e0_.active = ? AND e0_.start_time >= ? AND e0_.end_time <= ? ORDER BY e0_.start_time ASC LIMIT 100
Parameters:
[
  1
  "2025-01-18 02:08:40"
  "2025-01-25 02:08:40"
]
2.39 ms
(1.01%)
1
SELECT t0.id AS id_1, t0.provider_reference AS provider_reference_2, t0.context AS context_3, t0.updated_at AS updated_at_4, t0.created_at AS created_at_5 FROM media__media t0 INNER JOIN media__gallery_media ON t0.id = media__gallery_media.media_id WHERE media__gallery_media.gallery_id = ?
Parameters:
[
  8459
]
2.28 ms
(0.97%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.name_ar AS name_ar_3 FROM media__gallery t0 WHERE t0.id IN (?)
Parameters:
[
  8459
]
1.66 ms
(0.70%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.nameAr AS nameAr_3, t0.start_time AS start_time_4, t0.end_time AS end_time_5, t0.location_name AS location_name_6, t0.city AS city_7, t0.country AS country_8, t0.latitude AS latitude_9, t0.longitude AS longitude_10, t0.event_id AS event_id_11 FROM activity t0 WHERE t0.event_id = ?
Parameters:
[
  28187
]
1.42 ms
(0.60%)
1
SELECT t0.id AS id_1, t0.provider_reference AS provider_reference_2, t0.context AS context_3, t0.updated_at AS updated_at_4, t0.created_at AS created_at_5 FROM media__media t0 WHERE t0.id = ?
Parameters:
[
  67065
]
1.32 ms
(0.56%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.colorCode AS colorCode_4, t0.nameAr AS nameAr_5, t0.position AS position_6, t0.parent_category_id AS parent_category_id_7 FROM category t0 INNER JOIN activity_category ON t0.id = activity_category.category_id WHERE activity_category.activity_id = ?
Parameters:
[
  78227
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.