Query Metrics

16 Database Queries
15 Different statements
13.83 ms Query time
0 Invalid entities
1 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.52 ms
(18.20%)
1
SELECT c0_.metric_date AS metric_date_0, COALESCE(SUM(c0_.metric_posts), 0) AS sclr_1, COALESCE(SUM(c0_.metric_reach), 0) AS sclr_2, COALESCE(SUM(c0_.metric_impressions), 0) AS sclr_3, COALESCE(SUM(c0_.metric_likes), 0) AS sclr_4, COALESCE(SUM(c0_.metric_comments), 0) AS sclr_5 FROM content_metrics_history c0_ INNER JOIN creator_social_content c1_ ON c0_.content_id = c1_.id INNER JOIN creator_content_campaign c2_ ON (c2_.content_id = c1_.id) INNER JOIN creator_campaign c3_ ON c2_.campaign_id = c3_.id WHERE c3_.operator_id = ? AND (c0_.metric_date BETWEEN ? AND ?) AND c3_.id IN (?) GROUP BY c0_.metric_date ORDER BY c0_.metric_date ASC
Parameters:
[
  2
  "2026-07-26 00:00:00"
  "2026-08-04 00:00:00"
  1
]
1.74 ms
(12.56%)
1
SELECT u0_.id AS id_0, c1_.metric_date AS metric_date_1, COALESCE(SUM(c1_.metric_posts), 0) AS sclr_2, COALESCE(SUM(c1_.metric_reach), 0) AS sclr_3, COALESCE(SUM(c1_.metric_impressions), 0) AS sclr_4, COALESCE(SUM(c1_.metric_likes), 0) AS sclr_5, COALESCE(SUM(c1_.metric_comments), 0) AS sclr_6 FROM content_metrics_history c1_ INNER JOIN creator_social_content c2_ ON c1_.content_id = c2_.id INNER JOIN creator_social_account c3_ ON c2_.social_account_id = c3_.id INNER JOIN `user` u0_ ON c3_.tipster_id = u0_.id INNER JOIN creator_content_campaign c4_ ON (c4_.content_id = c2_.id) INNER JOIN creator_campaign c5_ ON c4_.campaign_id = c5_.id WHERE c5_.operator_id = ? AND (c1_.metric_date BETWEEN ? AND ?) AND c5_.id IN (?) GROUP BY u0_.id, c1_.metric_date ORDER BY c1_.metric_date ASC
Parameters:
[
  2
  "2026-07-26 00:00:00"
  "2026-08-04 00:00:00"
  1
]
1.73 ms
(12.50%)
1
SELECT c0_.id AS id_0, c1_.metric_date AS metric_date_1, COALESCE(SUM(c1_.metric_posts), 0) AS sclr_2, COALESCE(SUM(c1_.metric_reach), 0) AS sclr_3, COALESCE(SUM(c1_.metric_impressions), 0) AS sclr_4, COALESCE(SUM(c1_.metric_likes), 0) AS sclr_5, COALESCE(SUM(c1_.metric_comments), 0) AS sclr_6 FROM content_metrics_history c1_ INNER JOIN creator_social_content c2_ ON c1_.content_id = c2_.id INNER JOIN creator_content_campaign c3_ ON (c3_.content_id = c2_.id) INNER JOIN creator_campaign c0_ ON c3_.campaign_id = c0_.id WHERE c0_.operator_id = ? AND (c1_.metric_date BETWEEN ? AND ?) AND c0_.id IN (?) GROUP BY c0_.id, c1_.metric_date ORDER BY c1_.metric_date ASC
Parameters:
[
  2
  "2026-07-26 00:00:00"
  "2026-08-04 00:00:00"
  1
]
1.50 ms
(10.86%)
1
SELECT DISTINCT c0_.id AS id_0 FROM content_metrics_history c1_ INNER JOIN creator_social_content c2_ ON c1_.content_id = c2_.id INNER JOIN creator_content_campaign c3_ ON (c3_.content_id = c2_.id) INNER JOIN creator_campaign c0_ ON c3_.campaign_id = c0_.id WHERE c0_.operator_id = ? AND (c1_.metric_date BETWEEN ? AND ?) AND c0_.id IN (?)
Parameters:
[
  2
  "2026-07-26 00:00:00"
  "2026-08-04 00:00:00"
  1
]
0.97 ms
(7.03%)
1
SELECT c0_.type AS type_0, COALESCE(SUM(c1_.metric_posts), 0) AS sclr_1 FROM content_metrics_history c1_ INNER JOIN creator_social_content c0_ ON c1_.content_id = c0_.id INNER JOIN creator_content_campaign c2_ ON (c2_.content_id = c0_.id) INNER JOIN creator_campaign c3_ ON c2_.campaign_id = c3_.id WHERE c3_.operator_id = ? AND c1_.metric_date = ? AND c3_.id IN (?) GROUP BY c0_.type
Parameters:
[
  2
  "2026-08-04 00:00:00"
  1
]
0.72 ms
(5.20%)
2
SELECT COALESCE(SUM(c0_.target_reach), 0) AS sclr_0, COALESCE(SUM(c0_.target_impressions), 0) AS sclr_1, COALESCE(SUM(c0_.target_likes), 0) AS sclr_2, COALESCE(SUM(c0_.target_comments), 0) AS sclr_3, COALESCE(SUM(c0_.target_clicks), 0) AS sclr_4, COALESCE(SUM(c0_.target_ftds), 0) AS sclr_5, COALESCE(SUM(c0_.target_cpa), 0) AS sclr_6 FROM creator_campaign c0_ WHERE c0_.id IN (?)
Parameters:
[
  1
]
0.71 ms
(5.11%)
1
SELECT c0_.id AS id_0, c1_.metric_date AS metric_date_1, COALESCE(SUM(c1_.metric_ftds), 0) AS sclr_2, COALESCE(SUM(c1_.metric_cpa), 0) AS sclr_3 FROM campaign_metrics_history c1_ INNER JOIN creator_campaign c0_ ON c1_.campaign_id = c0_.id WHERE c0_.operator_id = ? AND (c1_.metric_date BETWEEN ? AND ?) AND c0_.id IN (?) GROUP BY c0_.id, c1_.metric_date ORDER BY c1_.metric_date ASC
Parameters:
[
  2
  "2026-07-26 00:00:00"
  "2026-08-04 00:00:00"
  1
]
0.64 ms
(4.66%)
1
SELECT c0_.metric_date AS metric_date_0, COALESCE(SUM(c0_.metric_clicks), 0) AS sclr_1, COALESCE(SUM(c0_.metric_ftds), 0) AS sclr_2, COALESCE(SUM(c0_.metric_cpa), 0) AS sclr_3 FROM campaign_metrics_history c0_ INNER JOIN creator_campaign c1_ ON c0_.campaign_id = c1_.id WHERE c1_.operator_id = ? AND (c0_.metric_date BETWEEN ? AND ?) AND c1_.id IN (?) GROUP BY c0_.metric_date ORDER BY c0_.metric_date ASC
Parameters:
[
  2
  "2026-07-26 00:00:00"
  "2026-08-04 00:00:00"
  1
]
0.59 ms
(4.23%)
1
SELECT c0_.tipster_id AS sclr_0, c0_.metric_date AS metric_date_1, COALESCE(SUM(c0_.metric_clicks), 0) AS sclr_2, COALESCE(SUM(c0_.metric_ftds), 0) AS sclr_3, COALESCE(SUM(c0_.metric_cpa), 0) AS sclr_4 FROM campaign_metrics_history c0_ INNER JOIN creator_campaign c1_ ON c0_.campaign_id = c1_.id WHERE c1_.operator_id = ? AND (c0_.metric_date BETWEEN ? AND ?) AND c1_.id IN (?) GROUP BY c0_.tipster_id, c0_.metric_date ORDER BY c0_.metric_date ASC
Parameters:
[
  2
  "2026-07-26 00:00:00"
  "2026-08-04 00:00:00"
  1
]
0.56 ms
(4.03%)
1
SELECT t0.id AS id_1, t0.email AS email_2, t0.name AS name_3, t0.country AS country_4, t0.language AS language_5, t0.roles AS roles_6, t0.password AS password_7, t0.enabled AS enabled_8, t0.image AS image_9, t0.beatandeal_tipster_id AS beatandeal_tipster_id_10, t0.beatandeal_operator_ids AS beatandeal_operator_ids_11, t0.created_at AS created_at_12 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
  2
]
0.51 ms
(3.72%)
1
SELECT DISTINCT c0_.id AS id_0 FROM campaign_metrics_history c1_ INNER JOIN creator_campaign c0_ ON c1_.campaign_id = c0_.id WHERE c0_.operator_id = ? AND (c1_.metric_date BETWEEN ? AND ?) AND c0_.id IN (?)
Parameters:
[
  2
  "2026-07-26 00:00:00"
  "2026-08-04 00:00:00"
  1
]
0.46 ms
(3.30%)
1
SELECT u0_.id AS id_0, u0_.name AS name_1, u0_.email AS email_2 FROM creator_campaign_tipster c1_ INNER JOIN creator_campaign c2_ ON c1_.campaign_id = c2_.id INNER JOIN `user` u0_ ON c1_.tipster_id = u0_.id WHERE c2_.operator_id = ? GROUP BY u0_.id, u0_.name, u0_.email ORDER BY u0_.name ASC, u0_.email ASC
Parameters:
[
  2
]
0.42 ms
(3.00%)
1
SELECT c0_.id AS id_0 FROM creator_campaign c0_ WHERE c0_.operator_id = ? ORDER BY c0_.name ASC, c0_.id ASC
Parameters:
[
  2
]
0.41 ms
(2.94%)
1
SELECT u0_.id AS id_0, COALESCE(SUM(c1_.expected_contents), 0) AS sclr_1 FROM creator_campaign_tipster c1_ INNER JOIN creator_campaign c2_ ON c1_.campaign_id = c2_.id INNER JOIN `user` u0_ ON c1_.tipster_id = u0_.id WHERE c2_.operator_id = ? AND c2_.id IN (?) GROUP BY u0_.id
Parameters:
[
  2
  1
]
0.37 ms
(2.65%)
1
SELECT COALESCE(SUM(c0_.expected_contents), 0) AS sclr_0 FROM creator_campaign_tipster c0_ INNER JOIN creator_campaign c1_ ON c0_.campaign_id = c1_.id WHERE c1_.id IN (?)
Parameters:
[
  1
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\User 1