Query Metrics

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

Queries

Group similar statements

# Time Info
1 0.38 ms
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
]
2 1.83 ms
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 ?) 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"
]
3 0.64 ms
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 ?) 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"
]
4 1.35 ms
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 = ? GROUP BY c0_.type
Parameters:
[
  2
  "2026-08-04 00:00:00"
]
5 1.15 ms
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 ?)
Parameters:
[
  2
  "2026-07-26 00:00:00"
  "2026-08-04 00:00:00"
]
6 0.40 ms
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 ?)
Parameters:
[
  2
  "2026-07-26 00:00:00"
  "2026-08-04 00:00:00"
]
7 0.27 ms
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
]
8 0.31 ms
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
]
9 0.35 ms
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
]
10 0.28 ms
SELECT c0_.id AS id_0 FROM creator_campaign c0_ WHERE c0_.operator_id = ? ORDER BY c0_.name ASC, c0_.id ASC
Parameters:
[
  2
]
11 1.64 ms
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 ?) 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"
]
12 0.58 ms
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 ?) 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"
]
13 0.40 ms
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
]
14 0.38 ms
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 = ? GROUP BY u0_.id
Parameters:
[
  2
]
15 1.93 ms
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 ?) 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"
]
16 0.56 ms
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 ?) 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"
]

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