http://admin-test.caramaps.com/admin/login

Query Metrics

5 Database Queries
5 Different statements
738.81 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 274.77 ms
SELECT count(p0_.id) AS sclr_0 FROM point_of_interests_pictures p0_ INNER JOIN point_of_interest p1_ ON p0_.point_of_interest_id = p1_.id INNER JOIN revision r2_ ON p1_.id = r2_.point_of_interest_id AND (r2_.main = 1 AND r2_.point_of_interest_id = p1_.id AND r2_.deleted_at IS NULL) WHERE p0_.validated_at IS NULL AND p0_.type = ?
Parameters:
[
  "uncertified"
]
2 302.80 ms
SELECT count(c0_.id) AS sclr_0 FROM comment c0_ INNER JOIN v_uncertified_comment v1_ ON (v1_.id = c0_.id) WHERE c0_.type IN ('comment', 'point_of_interest_comment', 'trip_comment') ORDER BY c0_.created_at DESC
Parameters:
[]
3 159.06 ms
SELECT count(r1.point_of_interest_id) AS count_poi
            FROM revision r1
            INNER JOIN point_of_interest poi on r1.point_of_interest_id = poi.id
        WHERE r1.deleted_at IS NULL
          AND r1.id IN (SELECT MAX(r.id) AS sclr_1 FROM revision r WHERE r.point_of_interest_id = r1.point_of_interest_id)
          AND r1.main = 0
          AND poi.deleted_at IS NULL
          AND poi.draft = 0
            ;
Parameters:
[]
4 1.35 ms
SELECT count(a0_.id) AS sclr_0 FROM activity a0_ WHERE a0_.certified = 0 AND a0_.deleted_at IS NULL
Parameters:
[]
5 0.82 ms
SELECT count(o0_.id) AS sclr_0 FROM ownership_request o0_ INNER JOIN point_of_interest p1_ ON o0_.point_of_interest_id = p1_.id INNER JOIN revision r2_ ON p1_.id = r2_.point_of_interest_id AND (r2_.main = 1 AND p1_.id = r2_.point_of_interest_id AND r2_.deleted_at IS NULL) WHERE o0_.accepted_at IS NULL AND o0_.refused_at IS NULL
Parameters:
[]

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.