Query Metrics
19
Database Queries
18
Different statements
116.15 ms
Query time
2
Invalid entities
Queries
#▲ | Time | Info |
---|---|---|
1 | 0.64 ms |
SELECT t0.id AS id_1, t0.site_key AS site_key_2, t0.secret_key AS secret_key_3, t0.is_active AS is_active_4 FROM recaptcha t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
1
]
|
2 | 0.96 ms |
SELECT u0_.id AS id_0, u0_.email AS email_1, u0_.proxy_id AS proxy_id_2, u0_.password AS password_3, u0_.first_name AS first_name_4, u0_.last_name AS last_name_5, u0_.is_enabled AS is_enabled_6, u0_.verification_code AS verification_code_7, u0_.timezone AS timezone_8, u0_.timeformat AS timeformat_9, u1_.id AS id_10, u1_.source AS source_11, u1_.skype_id AS skype_id_12, u1_.contact_number AS contact_number_13, u1_.designation AS designation_14, u1_.signature AS signature_15, u1_.profile_image_path AS profile_image_path_16, u1_.created_at AS created_at_17, u1_.updated_at AS updated_at_18, u1_.is_active AS is_active_19, u1_.is_verified AS is_verified_20, u1_.is_starred AS is_starred_21, u1_.ticket_access_level AS ticket_access_level_22, u1_.user_id AS user_id_23, u1_.supportRole_id AS supportRole_id_24 FROM uv_user u0_ LEFT JOIN uv_user_instance u1_ ON (u0_.id = u1_.user_id) LEFT JOIN uv_support_role u2_ ON u1_.supportRole_id = u2_.id WHERE u0_.email = ? AND u1_.is_active = ? AND (u2_.code = ? OR u2_.code = ? OR u2_.code = ?) LIMIT 1
Parameters:
[ "smita.j@iosense.io" 1 "ROLE_SUPER_ADMIN" "ROLE_ADMIN" "ROLE_AGENT" ] |
3 | 0.50 ms |
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3 FROM uv_support_role t0 WHERE t0.id = ?
Parameters:
[
2
]
|
4 | 0.67 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.logo AS logo_4, t0.theme_color AS theme_color_5, t0.favicon AS favicon_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.is_active AS is_active_9, t0.timezone AS timezone_10, t0.timeformat AS timeformat_11 FROM uv_website t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
"Knowledgebase"
]
|
5 | 0.55 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.logo AS logo_4, t0.theme_color AS theme_color_5, t0.favicon AS favicon_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.is_active AS is_active_9, t0.timezone AS timezone_10, t0.timeformat AS timeformat_11 FROM uv_website t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
"helpdesk"
]
|
6 | 0.73 ms |
SELECT u0_.id AS id_0 FROM uv_user u1_ LEFT JOIN uv_user_instance u2_ ON u1_.id = u2_.user_id LEFT JOIN uv_user_support_groups u3_ ON u2_.id = u3_.userInstanceId LEFT JOIN uv_support_group u0_ ON u0_.id = u3_.supportGroupId WHERE u1_.id = ? AND u0_.is_active = 1
Parameters:
[
154
]
|
7 | 0.61 ms |
SELECT u0_.id AS id_0 FROM uv_user u1_ LEFT JOIN uv_user_instance u2_ ON u1_.id = u2_.user_id LEFT JOIN uv_user_support_teams u3_ ON u2_.id = u3_.userInstanceId LEFT JOIN uv_support_team u0_ ON u0_.id = u3_.supportTeamId WHERE u1_.id = ? AND u2_.supportRole_id <> ? AND u0_.is_active = 1
Parameters:
[ 154 "4" ] |
8 | 0.48 ms |
SELECT t0.id AS id_1, t0.source AS source_2, t0.skype_id AS skype_id_3, t0.contact_number AS contact_number_4, t0.designation AS designation_5, t0.signature AS signature_6, t0.profile_image_path AS profile_image_path_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.is_active AS is_active_10, t0.is_verified AS is_verified_11, t0.is_starred AS is_starred_12, t0.ticket_access_level AS ticket_access_level_13, t0.user_id AS user_id_14, t0.supportRole_id AS supportRole_id_15 FROM uv_user_instance t0 WHERE t0.user_id = ?
Parameters:
[
154
]
|
9 | 100.18 ms |
SELECT COUNT(DISTINCT u0_.id) AS sclr_0, u1_.id AS id_1, u1_.code AS code_2 FROM uv_ticket u0_ LEFT JOIN uv_ticket_type u2_ ON u0_.type_id = u2_.id LEFT JOIN uv_user u3_ ON u0_.agent_id = u3_.id LEFT JOIN uv_ticket_status u1_ ON u0_.status_id = u1_.id LEFT JOIN uv_thread u4_ ON u0_.id = u4_.ticket_id LEFT JOIN uv_ticket_priority u5_ ON u0_.priority_id = u5_.id LEFT JOIN uv_user u6_ ON u0_.customer_id = u6_.id LEFT JOIN uv_support_team u7_ ON u0_.subGroup_id = u7_.id LEFT JOIN uv_tickets_tags u9_ ON u0_.id = u9_.ticket_id LEFT JOIN uv_tag u8_ ON u8_.id = u9_.tag_id LEFT JOIN uv_support_group u10_ ON u0_.group_id = u10_.id LEFT JOIN uv_user_instance u11_ ON u3_.id = u11_.user_id LEFT JOIN uv_tickets_labels u13_ ON u0_.id = u13_.ticket_id LEFT JOIN uv_support_label u12_ ON u12_.id = u13_.label_id LEFT JOIN uv_user_instance u14_ ON u6_.id = u14_.user_id WHERE u14_.supportRole_id = 4 AND (u3_.id IS NULL OR u11_.supportRole_id <> 4) AND u0_.is_trashed = ? GROUP BY u1_.id, u1_.code, u1_.description, u1_.color_code, u1_.sort_order
Parameters:
[
0
]
|
10 | 1.18 ms |
SELECT DISTINCT u0_.id AS id_0, u0_.updated_at AS updated_at_1 FROM uv_ticket u0_ LEFT JOIN uv_ticket_type u1_ ON u0_.type_id = u1_.id LEFT JOIN uv_user u2_ ON u0_.agent_id = u2_.id LEFT JOIN uv_thread u3_ ON u0_.id = u3_.ticket_id LEFT JOIN uv_ticket_priority u4_ ON u0_.priority_id = u4_.id LEFT JOIN uv_user u5_ ON u0_.customer_id = u5_.id LEFT JOIN uv_support_team u6_ ON u0_.subGroup_id = u6_.id LEFT JOIN uv_tickets_tags u8_ ON u0_.id = u8_.ticket_id LEFT JOIN uv_tag u7_ ON u7_.id = u8_.tag_id LEFT JOIN uv_user_instance u9_ ON u2_.id = u9_.user_id LEFT JOIN uv_tickets_labels u11_ ON u0_.id = u11_.ticket_id LEFT JOIN uv_support_label u10_ ON u10_.id = u11_.label_id LEFT JOIN uv_support_group u12_ ON u0_.group_id = u12_.id LEFT JOIN uv_user_instance u13_ ON u5_.id = u13_.user_id WHERE u13_.supportRole_id = 4 AND (u2_.id IS NULL OR u9_.supportRole_id <> 4) AND u0_.is_trashed = ? AND u0_.status_id = ? ORDER BY u0_.updated_at DESC LIMIT 15
Parameters:
[ 0 "1" ] |
11 | 1.67 ms |
SELECT COUNT(DISTINCT u0_.id) AS sclr_0 FROM uv_ticket u0_ WHERE u0_.is_trashed <> 1
Parameters:
[] |
12 | 1.25 ms |
SELECT COUNT(DISTINCT u0_.id) AS sclr_0 FROM uv_ticket u0_ WHERE u0_.is_trashed <> 1 AND u0_.is_new = 1
Parameters:
[] |
13 | 1.35 ms |
SELECT COUNT(DISTINCT u0_.id) AS sclr_0 FROM uv_ticket u0_ WHERE u0_.is_trashed <> 1 AND u0_.agent_id IS NULL
Parameters:
[] |
14 | 1.25 ms |
SELECT COUNT(DISTINCT u0_.id) AS sclr_0 FROM uv_ticket u0_ WHERE u0_.is_trashed <> 1 AND u0_.is_replied = 0
Parameters:
[] |
15 | 0.90 ms |
SELECT COUNT(DISTINCT u0_.id) AS sclr_0 FROM uv_ticket u0_ WHERE u0_.is_trashed <> 1 AND u0_.agent_id = ?
Parameters:
[
154
]
|
16 | 1.22 ms |
SELECT COUNT(DISTINCT u0_.id) AS sclr_0 FROM uv_ticket u0_ WHERE u0_.is_trashed <> 1 AND u0_.is_starred = 1
Parameters:
[] |
17 | 1.07 ms |
SELECT COUNT(DISTINCT u0_.id) AS sclr_0 FROM uv_ticket u0_ WHERE u0_.is_trashed = 1
Parameters:
[] |
18 | 0.57 ms |
SELECT COUNT(DISTINCT u0_.id) AS sclr_0, u1_.id AS id_1 FROM uv_ticket u0_ LEFT JOIN uv_tickets_labels u2_ ON u0_.id = u2_.ticket_id LEFT JOIN uv_support_label u1_ ON u1_.id = u2_.label_id WHERE u1_.user_id = ? GROUP BY u1_.id
Parameters:
[
154
]
|
19 | 0.37 ms |
SELECT u0_.id AS id_0, u0_.name AS name_1, u0_.color_code AS color_code_2 FROM uv_support_label u0_ WHERE u0_.user_id = ?
Parameters:
[
154
]
|
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 |
---|---|
Webkul\UVDesk\CoreFrameworkBundle\Entity\Recaptcha | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\User | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\UserInstance | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportRole | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\EmailTemplates | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\SavedFilters | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportPrivilege | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportTeam | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportGroup | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\Website | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket |
|
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketType | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketStatus | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\Thread | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketPriority | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag |
|
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportLabel | No errors. |