Query Metrics
9
Database Queries
8
Different statements
4.69 ms
Query time
1
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
1.07 ms (22.90%) |
1 |
SELECT t0.id AS id_1, t0.pseudoname AS pseudoname_2, t0.avatar_name AS avatar_name_3, t0.avatar_size AS avatar_size_4, t0.updated_at AS updated_at_5, t0.created_at AS created_at_6, t0.rapper_style AS rapper_style_7, t0.bio AS bio_8, t0.rank AS rank_9, t0.client_id AS client_id_10, t0.crew_id AS crew_id_11 FROM rapper t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
"5"
]
|
0.94 ms (20.00%) |
2 |
SELECT b0_.id AS id_0, b0_.battle_ends AS battle_ends_1, b0_.battle_file_name AS battle_file_name_2, b0_.battle_size AS battle_size_3, b0_.updated_at AS updated_at_4, b0_.created_at AS created_at_5, b0_.is_confirmed AS is_confirmed_6, b0_.is_completed AS is_completed_7, b0_.is_canceled AS is_canceled_8, b0_.challenger_id AS challenger_id_9, b0_.oponnent_id AS oponnent_id_10, b0_.beat_id AS beat_id_11, b0_.winner_id AS winner_id_12 FROM battle b0_ WHERE (b0_.is_confirmed = 1 OR b0_.is_completed = 1 OR b0_.is_canceled = 1) AND (b0_.challenger_id = ? OR b0_.oponnent_id = ?) ORDER BY b0_.created_at ASC LIMIT 6
Parameters:
[ 5 5 ] |
0.80 ms (17.06%) |
1 |
SELECT t0.username AS username_1, t0.username_canonical AS username_canonical_2, t0.email AS email_3, t0.email_canonical AS email_canonical_4, t0.enabled AS enabled_5, t0.salt AS salt_6, t0.password AS password_7, t0.last_login AS last_login_8, t0.confirmation_token AS confirmation_token_9, t0.password_requested_at AS password_requested_at_10, t0.roles AS roles_11, t0.id AS id_12, t0.name AS name_13, t0.surname AS surname_14, t0.city AS city_15, t0.is_deleted AS is_deleted_16, t0.date_created AS date_created_17, t0.date_updated AS date_updated_18, t0.is_active AS is_active_19, t0.activated_at AS activated_at_20, t0.reset_password_hash AS reset_password_hash_21, t0.reset_password_hash_valid_to AS reset_password_hash_valid_to_22, t0.image_name AS image_name_23, t0.image_size AS image_size_24, t0.country_id AS country_id_25, t26.id AS id_27, t26.pseudoname AS pseudoname_28, t26.avatar_name AS avatar_name_29, t26.avatar_size AS avatar_size_30, t26.updated_at AS updated_at_31, t26.created_at AS created_at_32, t26.rapper_style AS rapper_style_33, t26.bio AS bio_34, t26.rank AS rank_35, t26.client_id AS client_id_36, t26.crew_id AS crew_id_37, t0.my_votes_id AS my_votes_id_38, t39.id AS id_40, t39.display_contact AS display_contact_41, t39.client_id AS client_id_42, t0.author_id AS author_id_43, t0.referal_id AS referal_id_44, t45.id AS id_46, t45.name AS name_47, t45.city AS city_48, t45.description AS description_49, t45.background_file_name AS background_file_name_50, t45.background_size AS background_size_51, t45.image_name AS image_name_52, t45.image_size AS image_size_53, t45.updated_at AS updated_at_54, t45.created_at AS created_at_55, t45.tag AS tag_56, t45.rank AS rank_57, t45.country_id AS country_id_58, t45.created_by_id AS created_by_id_59 FROM fos_user t0 LEFT JOIN rapper t26 ON t26.client_id = t0.id LEFT JOIN client_settings t39 ON t39.client_id = t0.id LEFT JOIN crew t45 ON t45.created_by_id = t0.id WHERE t0.id = ?
Parameters:
[
2
]
|
0.43 ms (9.17%) |
1 |
SELECT r0_.id AS id_0, r0_.pseudoname AS pseudoname_1, r0_.avatar_name AS avatar_name_2, r0_.avatar_size AS avatar_size_3, r0_.updated_at AS updated_at_4, r0_.created_at AS created_at_5, r0_.rapper_style AS rapper_style_6, r0_.bio AS bio_7, r0_.rank AS rank_8, r0_.client_id AS client_id_9, r0_.crew_id AS crew_id_10 FROM rapper r0_ ORDER BY r0_.rank DESC
Parameters:
[] |
0.40 ms (8.45%) |
1 |
SELECT b0_.id AS id_0, b0_.battle_ends AS battle_ends_1, b0_.battle_file_name AS battle_file_name_2, b0_.battle_size AS battle_size_3, b0_.updated_at AS updated_at_4, b0_.created_at AS created_at_5, b0_.is_confirmed AS is_confirmed_6, b0_.is_completed AS is_completed_7, b0_.is_canceled AS is_canceled_8, b0_.challenger_id AS challenger_id_9, b0_.oponnent_id AS oponnent_id_10, b0_.beat_id AS beat_id_11, b0_.winner_id AS winner_id_12 FROM battle b0_ WHERE b0_.is_confirmed = ? AND b0_.is_completed = ? AND b0_.is_canceled = ? AND (b0_.challenger_id = ? OR b0_.oponnent_id = ?) ORDER BY b0_.created_at ASC LIMIT 6
Parameters:
[ 0 0 0 5 5 ] |
0.37 ms (7.94%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3 FROM country t0 WHERE t0.id = ?
Parameters:
[
1
]
|
0.35 ms (7.47%) |
1 |
SELECT t0.id AS id_1, t0.token AS token_2, t0.status AS status_3, t0.created_at AS created_at_4, t0.valid_to AS valid_to_5, t0.battle_id AS battle_id_6 FROM battle_invite t0 WHERE t0.battle_id = ?
Parameters:
[
1
]
|
0.33 ms (7.02%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.rapper_id AS rapper_id_4 FROM social_link t0 WHERE t0.rapper_id = ?
Parameters:
[
5
]
|
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\Rapper | No errors. |
FOS\UserBundle\Model\User | No errors. |
App\Entity\Client |
|
App\Entity\Crew | No errors. |
App\Entity\Battle | No errors. |
App\Entity\SocialLink | No errors. |
App\Entity\Beat | No errors. |
App\Entity\Vote | No errors. |
App\Entity\BattleComment | No errors. |
App\Entity\BattleInvite | No errors. |
App\Entity\Country | No errors. |
App\Entity\ClientSettings | No errors. |
App\Entity\BeatAuthor | No errors. |
App\Entity\ClientActivationToken | No errors. |
App\Entity\ClientMessage | No errors. |
App\Entity\ClientNotification | No errors. |
App\Entity\AuthorizationToken | No errors. |
App\Entity\BattleCommentLike | No errors. |