Query Metrics
94
Database Queries
43
Different statements
75.48 ms
Query time
3
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
14.73 ms (19.51%) |
1 |
SELECT COUNT(DISTINCT u0_.id) AS sclr_0 FROM uv_ticket u0_ LEFT JOIN uv_user u1_ ON u0_.agent_id = u1_.id LEFT JOIN uv_user_instance u2_ ON u1_.id = u2_.user_id LEFT JOIN uv_ticket_status u3_ ON u0_.status_id = u3_.id LEFT JOIN uv_user u4_ ON u0_.customer_id = u4_.id LEFT JOIN uv_support_group u5_ ON u0_.group_id = u5_.id LEFT JOIN uv_ticket_priority u6_ ON u0_.priority_id = u6_.id LEFT JOIN uv_ticket_type u7_ ON u0_.type_id = u7_.id WHERE (u0_.agent_id IS NULL OR u2_.supportRole_id <> 4) AND u0_.is_trashed <> 1 ORDER BY u0_.id DESC
Parameters:
[] |
7.64 ms (10.12%) |
15 |
SELECT u0_.id AS id_0, u0_.email AS email_1, CONCAT(u0_.first_name, ' ', COALESCE(u0_.last_name, '')) AS sclr_2, u0_.first_name AS first_name_3, u0_.last_name AS last_name_4, u1_.contact_number AS contact_number_5, u1_.profile_image_path AS profile_image_path_6, u1_.profile_image_path AS profile_image_path_7 FROM uv_user u0_ LEFT JOIN uv_user_instance u1_ ON u0_.id = u1_.user_id WHERE u1_.supportRole_id = ? AND u0_.id = ?
Parameters:
[ 4 47 ] |
7.32 ms (9.70%) |
12 |
SELECT DISTINCT u0_.id AS id_0, u0_.email AS email_1, CONCAT(u0_.first_name, ' ', COALESCE(u0_.last_name, '')) AS sclr_2, u0_.first_name AS first_name_3, u0_.last_name AS last_name_4, u0_.is_enabled AS is_enabled_5, u1_.profile_image_path AS profile_image_path_6, u1_.profile_image_path AS profile_image_path_7, u1_.is_active AS is_active_8, u1_.is_verified AS is_verified_9, u1_.designation AS designation_10, u1_.contact_number AS contact_number_11, u1_.signature AS signature_12, u1_.ticket_access_level AS ticket_access_level_13 FROM uv_user u0_ LEFT JOIN uv_user_instance u1_ ON u0_.id = u1_.user_id WHERE u1_.supportRole_id <> ? AND u0_.id = ?
Parameters:
[ 4 78 ] |
6.90 ms (9.14%) |
15 |
SELECT COUNT(u0_.id) AS sclr_0 FROM uv_thread u0_ WHERE u0_.ticket_id = ? AND u0_.thread_type = ?
Parameters:
[ 1987 "reply" ] |
6.77 ms (8.98%) |
1 |
"COMMIT"
Parameters:
[] |
4.74 ms (6.28%) |
4 |
SELECT u0_.id AS id_0, u0_.email AS email_1, CONCAT(u0_.first_name, ' ', COALESCE(u0_.last_name, '')) AS sclr_2, u1_.profile_image_path AS profile_image_path_3 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 u2_.code <> ? AND u1_.is_active = ? ORDER BY sclr_2 ASC
Parameters:
[ "ROLE_CUSTOMER" 1 ] |
2.62 ms (3.47%) |
5 |
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"
]
|
1.79 ms (2.37%) |
1 |
SELECT DISTINCT u0_.id AS id_0, u1_.id AS id_1, CONCAT(u0_.first_name, ' ', u0_.last_name) AS sclr_2, u2_.id AS id_3, u2_.source AS source_4, u2_.mailbox_email AS mailbox_email_5, u2_.subject AS subject_6, u2_.reference_ids AS reference_ids_7, u2_.outlook_conversation_id AS outlook_conversation_id_8, u2_.is_new AS is_new_9, u2_.is_replied AS is_replied_10, u2_.is_reply_enabled AS is_reply_enabled_11, u2_.is_starred AS is_starred_12, u2_.is_trashed AS is_trashed_13, u2_.is_agent_viewed AS is_agent_viewed_14, u2_.is_customer_viewed AS is_customer_viewed_15, u2_.created_at AS created_at_16, u2_.updated_at AS updated_at_17, u3_.id AS id_18, u3_.code AS code_19, u3_.description AS description_20, u3_.color_code AS color_code_21, u3_.sort_order AS sort_order_22, u4_.id AS id_23, u4_.name AS name_24, u4_.description AS description_25, u4_.created_at AS created_at_26, u4_.is_active AS is_active_27, u4_.user_view AS user_view_28, u5_.id AS id_29, u5_.code AS code_30, u5_.description AS description_31, u5_.color_code AS color_code_32, u6_.id AS id_33, u6_.code AS code_34, u6_.description AS description_35, u6_.is_active AS is_active_36 FROM uv_ticket u2_ LEFT JOIN uv_user u0_ ON u2_.agent_id = u0_.id LEFT JOIN uv_user_instance u7_ ON u0_.id = u7_.user_id LEFT JOIN uv_ticket_status u3_ ON u2_.status_id = u3_.id LEFT JOIN uv_user u1_ ON u2_.customer_id = u1_.id LEFT JOIN uv_support_group u4_ ON u2_.group_id = u4_.id LEFT JOIN uv_ticket_priority u5_ ON u2_.priority_id = u5_.id LEFT JOIN uv_ticket_type u6_ ON u2_.type_id = u6_.id WHERE (u2_.agent_id IS NULL OR u7_.supportRole_id <> 4) AND u2_.is_trashed <> 1 AND u2_.id IN (?) ORDER BY u2_.id DESC
Parameters:
[ [ 1987 1986 1985 1984 1983 1982 1981 1980 1979 1978 1977 1976 1975 1974 1973 ] ] |
1.54 ms (2.04%) |
1 |
SELECT COUNT(u0_.id) AS sclr_0 FROM uv_ticket u0_ LEFT JOIN uv_ticket_priority u1_ ON u0_.priority_id = u1_.id LEFT JOIN uv_ticket_status u2_ ON u0_.status_id = u2_.id LEFT JOIN uv_user u3_ ON u0_.agent_id = u3_.id LEFT JOIN uv_ticket_type u4_ ON u0_.type_id = u4_.id LEFT JOIN uv_support_group u5_ ON u0_.group_id = u5_.id LEFT JOIN uv_support_team u6_ ON u0_.subGroup_id = u6_.id LEFT JOIN uv_user_instance u7_ ON u3_.id = u7_.user_id WHERE u0_.customer_id = ? AND u0_.is_trashed <> 1 AND (u3_.id IS NULL OR u7_.supportRole_id <> 4) ORDER BY u0_.id DESC
Parameters:
[
47
]
|
1.26 ms (1.67%) |
2 |
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
]
|
1.20 ms (1.60%) |
1 |
SELECT DISTINCT u0_.id AS id_0, u0_.id AS id_1 FROM uv_ticket u0_ LEFT JOIN uv_user u1_ ON u0_.agent_id = u1_.id LEFT JOIN uv_user_instance u2_ ON u1_.id = u2_.user_id LEFT JOIN uv_ticket_status u3_ ON u0_.status_id = u3_.id LEFT JOIN uv_user u4_ ON u0_.customer_id = u4_.id LEFT JOIN uv_support_group u5_ ON u0_.group_id = u5_.id LEFT JOIN uv_ticket_priority u6_ ON u0_.priority_id = u6_.id LEFT JOIN uv_ticket_type u7_ ON u0_.type_id = u7_.id WHERE (u0_.agent_id IS NULL OR u2_.supportRole_id <> 4) AND u0_.is_trashed <> 1 ORDER BY u0_.id DESC LIMIT 15
Parameters:
[] |
1.11 ms (1.47%) |
2 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3, t0.is_active AS is_active_4 FROM uv_ticket_type t0 WHERE t0.is_active = ?
Parameters:
[
1
]
|
1.04 ms (1.38%) |
1 |
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" ] |
1.01 ms (1.34%) |
2 |
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
]
|
0.99 ms (1.32%) |
1 |
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
]
|
0.99 ms (1.32%) |
1 |
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" ] |
0.91 ms (1.20%) |
1 |
SELECT COUNT(u0_.id) AS sclr_0 FROM uv_ticket u1_ LEFT JOIN uv_thread u0_ ON u1_.id = u0_.ticket_id WHERE u1_.id = ? AND u0_.thread_type = ?
Parameters:
[ 1987 "reply" ] |
0.89 ms (1.18%) |
1 |
SELECT t0.id AS id_1, t0.status AS status_2, t0.brand_color AS brand_color_3, t0.page_background_color AS page_background_color_4, t0.header_background_color AS header_background_color_5, t0.link_color AS link_color_6, t0.article_text_color AS article_text_color_7, t0.ticket_create_option AS ticket_create_option_8, t0.site_description AS site_description_9, t0.meta_description AS meta_description_10, t0.meta_keywords AS meta_keywords_11, t0.homepage_content AS homepage_content_12, t0.white_list AS white_list_13, t0.black_list AS black_list_14, t0.created_at AS created_at_15, t0.updated_at AS updated_at_16, t0.broadcast_message AS broadcast_message_17, t0.disable_customer_login AS disable_customer_login_18, t0.script AS script_19, t0.custom_css AS custom_css_20, t0.is_active AS is_active_21, t0.header_links AS header_links_22, t0.footer_links AS footer_links_23, t0.banner_background_color AS banner_background_color_24, t0.link_hover_color AS link_hover_color_25, t0.login_required_to_create AS login_required_to_create_26, t0.remove_customer_login_button AS remove_customer_login_button_27, t0.remove_branding_content AS remove_branding_content_28, t0.website AS website_29 FROM uv_website_knowledgebase t0 WHERE t0.website = ? AND t0.is_active = ? LIMIT 1
Parameters:
[ 2 1 ] |
0.83 ms (1.09%) |
1 |
SELECT DISTINCT u0_.id AS id_0, u0_.email AS email_1, CONCAT(u0_.first_name, ' ', u0_.last_name) AS sclr_2, u1_.profile_image_path AS profile_image_path_3, u1_.profile_image_path AS profile_image_path_4 FROM uv_ticket u2_ LEFT JOIN uv_tickets_collaborators u3_ ON u2_.id = u3_.ticket_id LEFT JOIN uv_user u0_ ON u0_.id = u3_.user_id LEFT JOIN uv_user_instance u1_ ON u0_.id = u1_.user_id WHERE u2_.id = ? AND u1_.supportRole_id = ? ORDER BY sclr_2 ASC
Parameters:
[ 1987 4 ] |
0.82 ms (1.09%) |
2 |
select * from uv_user_support_groups where userInstanceId =170
Parameters:
[] |
0.79 ms (1.05%) |
1 |
SELECT t0.id AS id_1, t0.source AS source_2, t0.mailbox_email AS mailbox_email_3, t0.subject AS subject_4, t0.reference_ids AS reference_ids_5, t0.outlook_conversation_id AS outlook_conversation_id_6, t0.is_new AS is_new_7, t0.is_replied AS is_replied_8, t0.is_reply_enabled AS is_reply_enabled_9, t0.is_starred AS is_starred_10, t0.is_trashed AS is_trashed_11, t0.is_agent_viewed AS is_agent_viewed_12, t0.is_customer_viewed AS is_customer_viewed_13, t0.created_at AS created_at_14, t0.updated_at AS updated_at_15, t0.status_id AS status_id_16, t0.priority_id AS priority_id_17, t0.type_id AS type_id_18, t0.customer_id AS customer_id_19, t0.agent_id AS agent_id_20, t0.group_id AS group_id_21, t0.subGroup_id AS subGroup_id_22 FROM uv_ticket t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
"1987"
]
|
0.66 ms (0.88%) |
1 |
SELECT t0.id AS id_1, t0.source AS source_2, t0.message_id AS message_id_3, t0.thread_type AS thread_type_4, t0.created_by AS created_by_5, t0.cc AS cc_6, t0.bcc AS bcc_7, t0.reply_to AS reply_to_8, t0.delivery_status AS delivery_status_9, t0.is_locked AS is_locked_10, t0.is_bookmarked AS is_bookmarked_11, t0.message AS message_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.agent_viewed_at AS agent_viewed_at_15, t0.customer_viewed_at AS customer_viewed_at_16, t0.ticket_id AS ticket_id_17, t0.user_id AS user_id_18 FROM uv_thread t0 WHERE t0.ticket_id = ? AND t0.thread_type = ? LIMIT 1
Parameters:
[ 1987 "create" ] |
0.66 ms (0.87%) |
1 |
UPDATE uv_ticket SET is_agent_viewed = ?, updated_at = ? WHERE id = ?
Parameters:
[ 1 "2025-01-06 07:33:38" 1987 ] |
0.60 ms (0.79%) |
1 |
SELECT DISTINCT u0_.id AS id_0, u0_.name AS name_1, u0_.color_code AS color_code_2 FROM uv_ticket u1_ LEFT JOIN uv_tickets_labels u2_ ON u1_.id = u2_.ticket_id LEFT JOIN uv_support_label u0_ ON u0_.id = u2_.label_id LEFT JOIN uv_user u3_ ON u0_.user_id = u3_.id WHERE u3_.id = ? AND u1_.id = ?
Parameters:
[ 154 1987 ] |
0.59 ms (0.79%) |
2 |
select * from uv_user_support_teams
Parameters:
[] |
0.56 ms (0.74%) |
1 |
SELECT u0_.id AS id_0, u0_.name AS name_1 FROM uv_support_team u0_ WHERE u0_.is_active = ?
Parameters:
[
1
]
|
0.54 ms (0.71%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.subject AS subject_3, t0.message AS message_4, t0.template_id AS template_id_5, t0.is_predefind AS is_predefind_6, t0.message_inline AS message_inline_7, t0.template_for AS template_for_8, t0.user_id AS user_id_9 FROM uv_saved_replies t0
Parameters:
[] |
0.53 ms (0.71%) |
1 |
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
]
|
0.50 ms (0.66%) |
1 |
SELECT u0_.id AS id_0, u0_.name AS name_1 FROM uv_support_group u0_ WHERE u0_.is_active = ?
Parameters:
[
1
]
|
0.48 ms (0.64%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.path AS path_3, t0.content_type AS content_type_4, t0.size AS size_5, t0.content_id AS content_id_6, t0.file_system AS file_system_7, t0.thread_id AS thread_id_8 FROM uv_ticket_attachments t0 WHERE t0.thread_id = ?
Parameters:
[
5227
]
|
0.45 ms (0.60%) |
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.proxy_id AS proxy_id_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.is_enabled AS is_enabled_7, t0.verification_code AS verification_code_8, t0.timezone AS timezone_9, t0.timeformat AS timeformat_10 FROM uv_user t0 WHERE t0.id = ?
Parameters:
[
47
]
|
0.44 ms (0.58%) |
1 |
SELECT u0_.id AS id_0, u0_.code AS code_1 FROM uv_ticket_type u0_ WHERE u0_.is_active = 1 ORDER BY u0_.code ASC
Parameters:
[] |
0.42 ms (0.56%) |
1 |
SELECT u0_.id AS id_0, u0_.name AS name_1 FROM uv_tag u0_ LEFT JOIN uv_tickets_tags u2_ ON u0_.id = u2_.tag_id LEFT JOIN uv_ticket u1_ ON u1_.id = u2_.ticket_id WHERE u1_.id = ?
Parameters:
[
1987
]
|
0.42 ms (0.55%) |
1 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3, t0.color_code AS color_code_4, t0.sort_order AS sort_order_5 FROM uv_ticket_status t0
Parameters:
[] |
0.39 ms (0.51%) |
1 |
SELECT DISTINCT u0_.id AS id_0, u0_.name AS name_1, u0_.subject AS subject_2, u0_.message AS message_3, u0_.template_id AS template_id_4, u0_.is_predefind AS is_predefind_5, u0_.message_inline AS message_inline_6, u0_.template_for AS template_for_7, u0_.user_id AS user_id_8 FROM uv_saved_replies u0_ WHERE u0_.id IN (?)
Parameters:
[ [] ] |
0.37 ms (0.49%) |
1 |
SELECT DISTINCT u0_.id AS id_0, u0_.name AS name_1, u0_.description AS description_2, u0_.type AS type_3, u0_.actions AS actions_4, u0_.status AS status_5, u0_.date_added AS date_added_6, u0_.date_updated AS date_updated_7, u0_.user_id AS user_id_8 FROM uv_prepared_responses u0_ WHERE u0_.status = 1 AND u0_.id IN (?)
Parameters:
[ [] ] |
0.37 ms (0.49%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.type AS type_4, t0.actions AS actions_5, t0.status AS status_6, t0.date_added AS date_added_7, t0.date_updated AS date_updated_8, t0.user_id AS user_id_9 FROM uv_prepared_responses t0
Parameters:
[] |
0.34 ms (0.45%) |
1 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.description AS description_3, t0.color_code AS color_code_4 FROM uv_ticket_priority t0
Parameters:
[] |
0.32 ms (0.42%) |
1 |
select * from uv_saved_replies_groups
Parameters:
[] |
0.27 ms (0.35%) |
1 |
select * from uv_prepared_response_support_teams
Parameters:
[] |
0.25 ms (0.34%) |
1 |
select * from uv_saved_replies_teams
Parameters:
[] |
0.23 ms (0.31%) |
1 |
select * from uv_prepared_response_support_groups
Parameters:
[] |
0.20 ms (0.27%) |
1 |
"START TRANSACTION"
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 |
---|---|
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\Ticket |
|
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketStatus | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketPriority | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketType | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\Thread | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\TicketRating | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag |
|
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportLabel | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\Attachment | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\Website | No errors. |
Webkul\UVDesk\SupportCenterBundle\Entity\KnowledgebaseWebsite | No errors. |
Webkul\UVDesk\CoreFrameworkBundle\Entity\SavedReplies |
|
Webkul\UVDesk\AutomationBundle\Entity\PreparedResponses | No errors. |