GET https://dev.theremotetribe.co/event/list?past=5

Query Metrics

10 Database Queries
6 Different statements
7.56 ms Query time
0 Invalid entities
19 Managed entities

Queries

Group similar statements

# Time Info
1 1.16 ms
SELECT count(DISTINCT e0_.id) AS sclr_0 FROM event e0_ LEFT JOIN tribe t1_ ON e0_.tribe_id = t1_.id WHERE e0_.date >= CURRENT_TIMESTAMP
Parameters:
[]
2 0.62 ms
SELECT DISTINCT e0_.id AS id_0, e0_.date AS date_1 FROM event e0_ LEFT JOIN tribe t1_ ON e0_.tribe_id = t1_.id WHERE e0_.date >= CURRENT_TIMESTAMP ORDER BY e0_.date ASC LIMIT 10
Parameters:
[]
3 0.86 ms
SELECT count(DISTINCT e0_.id) AS sclr_0 FROM event e0_ LEFT JOIN tribe t1_ ON e0_.tribe_id = t1_.id WHERE e0_.date < CURRENT_TIMESTAMP
Parameters:
[]
4 0.73 ms
SELECT DISTINCT e0_.id AS id_0, e0_.date AS date_1 FROM event e0_ LEFT JOIN tribe t1_ ON e0_.tribe_id = t1_.id WHERE e0_.date < CURRENT_TIMESTAMP ORDER BY e0_.date DESC LIMIT 10 OFFSET 40
Parameters:
[]
5 1.16 ms
SELECT e0_.id AS id_0, e0_.title AS title_1, e0_.date AS date_2, e0_.description AS description_3, e0_.city AS city_4, e0_.address AS address_5, e0_.background_picture AS background_picture_6, e0_.is_validated AS is_validated_7, e0_.slug AS slug_8, e0_.summary AS summary_9, e0_.announcement AS announcement_10, e0_.remind AS remind_11, e0_.attendees_count AS attendees_count_12, e0_.price AS price_13, e0_.poster AS poster_14, e0_.host_id AS host_id_15, e0_.tribe_id AS tribe_id_16, e0_.category_id AS category_id_17 FROM event e0_ LEFT JOIN tribe t1_ ON e0_.tribe_id = t1_.id WHERE e0_.date < CURRENT_TIMESTAMP AND e0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY e0_.date DESC
Parameters:
[
  19
  14
  15
  17
  16
  11
  13
  12
  9
  8
]
6 0.84 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.background_picture AS background_picture_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.is_validated AS is_validated_7, t0.city AS city_8, t0.is_published AS is_published_9, t0.slug AS slug_10, t0.country AS country_11, t0.summary AS summary_12, t0.events_count AS events_count_13, t0.followers_count AS followers_count_14, t0.host_id AS host_id_15 FROM tribe t0 WHERE t0.id = ?
Parameters:
[
  7
]
7 0.73 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.background_picture AS background_picture_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.is_validated AS is_validated_7, t0.city AS city_8, t0.is_published AS is_published_9, t0.slug AS slug_10, t0.country AS country_11, t0.summary AS summary_12, t0.events_count AS events_count_13, t0.followers_count AS followers_count_14, t0.host_id AS host_id_15 FROM tribe t0 WHERE t0.id = ?
Parameters:
[
  1
]
8 0.53 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.background_picture AS background_picture_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.is_validated AS is_validated_7, t0.city AS city_8, t0.is_published AS is_published_9, t0.slug AS slug_10, t0.country AS country_11, t0.summary AS summary_12, t0.events_count AS events_count_13, t0.followers_count AS followers_count_14, t0.host_id AS host_id_15 FROM tribe t0 WHERE t0.id = ?
Parameters:
[
  3
]
9 0.47 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.background_picture AS background_picture_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.is_validated AS is_validated_7, t0.city AS city_8, t0.is_published AS is_published_9, t0.slug AS slug_10, t0.country AS country_11, t0.summary AS summary_12, t0.events_count AS events_count_13, t0.followers_count AS followers_count_14, t0.host_id AS host_id_15 FROM tribe t0 WHERE t0.id = ?
Parameters:
[
  5
]
10 0.46 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.background_picture AS background_picture_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.is_validated AS is_validated_7, t0.city AS city_8, t0.is_published AS is_published_9, t0.slug AS slug_10, t0.country AS country_11, t0.summary AS summary_12, t0.events_count AS events_count_13, t0.followers_count AS followers_count_14, t0.host_id AS host_id_15 FROM tribe t0 WHERE t0.id = ?
Parameters:
[
  2
]

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\Event 10
App\Entity\Tribe 5
App\Entity\User 4

Entities Mapping

Class Mapping errors
App\Entity\Event No errors.
App\Entity\Tribe No errors.
App\Entity\User No errors.
App\Entity\EventCategory No errors.
App\Entity\EventAttendee No errors.
App\Entity\EventCohost No errors.
App\Entity\EventTrack No errors.
App\Entity\EventPhoto No errors.
App\Entity\EventVideo No errors.
App\Entity\TribeFollower No errors.
App\Entity\TribeCohost No errors.