https://auth.harmoqee.com/front

Query Metrics

54 Database Queries
14 Different statements
71.06 ms Query time
12 Invalid entities

Grouped Statements

Show all queries

Time Count Info
15.96 ms
(22.45%)
1
SELECT count(DISTINCT u0_.id) AS sclr_0 FROM user u0_ WHERE (u0_.is_verified LIKE ? AND u0_.first_access LIKE ? AND u0_.id <> ?) AND (u0_.deleted_at IS NULL)
Parameters:
[
  1
  0
  75
]
10.76 ms
(15.14%)
10
SELECT t0.id AS id_1, t0.instrument AS instrument_2 FROM instruments t0 INNER JOIN user_instruments ON t0.id = user_instruments.instruments_id WHERE user_instruments.user_id = ?
Parameters:
[
  896
]
9.02 ms
(12.69%)
16
SELECT t0.id AS id_1, t0.style AS style_2, t0.music_genre_id AS music_genre_id_3 FROM music_styles t0 WHERE t0.music_genre_id = ?
Parameters:
[
  5
]
7.57 ms
(10.66%)
10
SELECT t0.id AS id_1, t0.style AS style_2, t0.music_genre_id AS music_genre_id_3 FROM music_styles t0 INNER JOIN user_music_styles ON t0.id = user_music_styles.music_styles_id WHERE user_music_styles.user_id = ?
Parameters:
[
  896
]
6.78 ms
(9.54%)
8
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.flag AS flag_4 FROM country t0 WHERE t0.id = ?
Parameters:
[
  91
]
3.59 ms
(5.05%)
1
SELECT DISTINCT u0_.id AS id_0, u0_.score AS score_1, u0_.created_at AS created_at_2 FROM user u0_ WHERE (u0_.is_verified LIKE ? AND u0_.first_access LIKE ? AND u0_.id <> ?) AND (u0_.deleted_at IS NULL) ORDER BY u0_.score DESC, u0_.created_at DESC LIMIT 10
Parameters:
[
  1
  0
  75
]
3.39 ms
(4.77%)
1
SELECT t0.id AS id_1, t0.description AS description_2 FROM project_status t0 WHERE t0.id = ?
Parameters:
[
  1
]
2.94 ms
(4.14%)
1
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.description AS description_2, p0_.duration AS duration_3, p0_.measures AS measures_4, p0_.private AS private_5, p0_.created_at AS created_at_6, p0_.updated_at AS updated_at_7, p0_.color AS color_8, p0_.user_id AS user_id_9, p0_.status_id AS status_id_10 FROM project p0_ INNER JOIN project_participants p1_ ON p0_.id = p1_.project_id WHERE p1_.user_id = ? AND p0_.status_id = ? AND ((p1_.waiting = ? OR p1_.waiting IS NULL))
Parameters:
[
  null
  1
  0
]
2.76 ms
(3.89%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.duration AS duration_4, t0.measures AS measures_5, t0.private AS private_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.color AS color_9, t0.user_id AS user_id_10, t0.status_id AS status_id_11 FROM project t0 WHERE t0.status_id = ?
Parameters:
[
  1
]
2.32 ms
(3.26%)
1
SELECT i0_.id AS id_0, i0_.instrument AS instrument_1 FROM instruments i0_
Parameters:
[]
2.30 ms
(3.23%)
1
SELECT m0_.id AS id_0, m0_.style AS style_1, m0_.music_genre_id AS music_genre_id_2 FROM music_styles m0_
Parameters:
[]
1.70 ms
(2.39%)
1
SELECT m0_.id AS id_0, m0_.genre AS genre_1 FROM music_genre m0_ ORDER BY m0_.genre ASC
Parameters:
[]
1.38 ms
(1.94%)
1
SELECT u0_.id AS id_0, u0_.email AS email_1, u0_.username AS username_2, u0_.roles AS roles_3, u0_.confirmation_token AS confirmation_token_4, u0_.color AS color_5, u0_.gender AS gender_6, u0_.registration_ip AS registration_ip_7, u0_.password AS password_8, u0_.is_verified AS is_verified_9, u0_.is_verified_ads AS is_verified_ads_10, u0_.school_admin AS school_admin_11, u0_.first_access AS first_access_12, u0_.score AS score_13, u0_.first_access_ads AS first_access_ads_14, u0_.accept_email AS accept_email_15, u0_.show_email_ads AS show_email_ads_16, u0_.profile_picture AS profile_picture_17, u0_.profile_picture_small AS profile_picture_small_18, u0_.created_at AS created_at_19, u0_.updated_at AS updated_at_20, u0_.deleted_at AS deleted_at_21, u0_.country_id AS country_id_22, u0_.school_id AS school_id_23, u0_.code_premium_id AS code_premium_id_24 FROM user u0_ WHERE (u0_.is_verified LIKE ? AND u0_.first_access LIKE ? AND u0_.id <> ? AND u0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) AND (u0_.deleted_at IS NULL) ORDER BY u0_.score DESC, u0_.created_at DESC
Parameters:
[
  1
  0
  75
  896
  895
  894
  890
  889
  888
  886
  885
  884
  882
]
0.60 ms
(0.85%)
1
SELECT t0.id AS id_1, t0.instrument AS instrument_2 FROM instruments t0
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.

Entities Mapping

Class Mapping errors
App\Entity\User
  • The association App\Entity\User#country refers to the inverse side field App\Entity\Country#user which does not exist.
  • The association App\Entity\User#school refers to the inverse side field App\Entity\School#user which does not exist.
  • The association App\Entity\User#codePremium refers to the inverse side field App\Entity\CodePremium#user which does not exist.
  • The association App\Entity\User#songParticipants refers to the owning side field App\Entity\SongParticipants#users which does not exist.
App\Entity\Country No errors.
App\Entity\School
  • The mappings App\Entity\School#musicGenres and App\Entity\MusicGenre#schools are inconsistent with each other.
App\Entity\CodePremium No errors.
App\Entity\Invitation No errors.
App\Entity\ChatMessage
  • The association App\Entity\ChatMessage#project refers to the inverse side field App\Entity\Project#chatMessages which does not exist.
App\Entity\MusicStyles
  • The mappings App\Entity\MusicStyles#songs and App\Entity\Song#musicStyles are inconsistent with each other.
App\Entity\Instruments
  • The mappings App\Entity\Instruments#schools and App\Entity\User#instruments are inconsistent with each other.
App\Entity\SongParticipants
  • The mappings App\Entity\SongParticipants#user and App\Entity\User#songParticipants are inconsistent with each other.
App\Entity\ProjectStatus No errors.
App\Entity\Project
  • The association App\Entity\Project#user refers to the inverse side field App\Entity\User#projects which does not exist.
  • The mappings App\Entity\Project#audioTracks and App\Entity\AudioTrack#project are inconsistent with each other.
App\Entity\ProjectParticipants
  • The association App\Entity\ProjectParticipants#user refers to the inverse side field App\Entity\User#participants which does not exist.
App\Entity\Ad
  • The association App\Entity\Ad#instrument refers to the inverse side field App\Entity\Instruments#ads which does not exist.
  • The association App\Entity\Ad#user refers to the inverse side field App\Entity\User#projects which does not exist.
App\Entity\AudioTrack
  • The association App\Entity\AudioTrack#project refers to the inverse side field App\Entity\Project#audioFiles which does not exist.
  • The association App\Entity\AudioTrack#user refers to the inverse side field App\Entity\User#audioFiles which does not exist.
App\Entity\MusicGenre
  • The association App\Entity\MusicGenre#schools refers to the owning side field App\Entity\User#musicGenre which does not exist.
App\Entity\Song
  • The association App\Entity\Song#user refers to the inverse side field App\Entity\User#projects which does not exist.
  • The association App\Entity\Song#musicStyles refers to the inverse side field App\Entity\MusicStyles#song which does not exist.