http://64.23.220.99/api/v1/ticket/766

Query Metrics

27 Database Queries
21 Different statements
18.93 ms Query time
2 Invalid entities

Grouped Statements

Show all queries

Time Count Info
6.80 ms
(35.93%)
1
"COMMIT"
Parameters:
[]
1.70 ms
(8.97%)
2
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_.id = ? OR u2_.id = ? OR u2_.id = ?) LIMIT 1
Parameters:
[
  "akshay.kumar@crypque.in"
  1
  1
  2
  3
]
1.12 ms
(5.89%)
3
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:
[
  3
]
0.88 ms
(4.65%)
3
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:
[
  1
]
0.80 ms
(4.21%)
2
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:
[
  3
]
0.77 ms
(4.05%)
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:
[
  1
  "4"
]
0.74 ms
(3.90%)
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.71 ms
(3.73%)
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.is_new AS is_new_6, t0.is_replied AS is_replied_7, t0.is_reply_enabled AS is_reply_enabled_8, t0.is_starred AS is_starred_9, t0.is_trashed AS is_trashed_10, t0.is_agent_viewed AS is_agent_viewed_11, t0.is_customer_viewed AS is_customer_viewed_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.status_id AS status_id_15, t0.priority_id AS priority_id_16, t0.type_id AS type_id_17, t0.customer_id AS customer_id_18, t0.agent_id AS agent_id_19, t0.group_id AS group_id_20, t0.subGroup_id AS subGroup_id_21 FROM uv_ticket t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "766"
]
0.68 ms
(3.59%)
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:
[
  384
]
0.66 ms
(3.50%)
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:
[
  1
]
0.56 ms
(2.95%)
1
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
]
0.52 ms
(2.73%)
1
SELECT u0_.email AS email_0 FROM uv_api_access_credentials u1_ LEFT JOIN uv_user u0_ ON u1_.user_id = u0_.id WHERE u1_.token = ? AND u1_.is_enabled = 1
Parameters:
[
  "YWMGQJ5OP6VOXWFL7H08B48854ABSX7SCO8IN9XLZEGU4NEGBTIXMK0UJUC9KREG"
]
0.45 ms
(2.39%)
1
UPDATE uv_ticket SET is_agent_viewed = ?, updated_at = ? WHERE id = ?
Parameters:
[
  1
  "2024-11-23 10:31:18"
  766
]
0.42 ms
(2.22%)
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.42 ms
(2.22%)
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:
[
  1307
]
0.41 ms
(2.17%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.token AS token_3, t0.created_on AS created_on_4, t0.is_enabled AS is_enabled_5, t0.is_expired AS is_expired_6, t0.user_id AS user_id_7 FROM uv_api_access_credentials t0 WHERE t0.user_id = ? AND t0.token = ? LIMIT 1
Parameters:
[
  1
  "YWMGQJ5OP6VOXWFL7H08B48854ABSX7SCO8IN9XLZEGU4NEGBTIXMK0UJUC9KREG"
]
0.37 ms
(1.93%)
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 = ?
Parameters:
[
  766
]
0.30 ms
(1.60%)
1
SELECT u0_.id AS id_0, u0_.name AS name_1 FROM uv_support_group u0_ WHERE u0_.is_active = ?
Parameters:
[
  1
]
0.28 ms
(1.46%)
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.27 ms
(1.42%)
1
SELECT u0_.id AS id_0, u0_.name AS name_1 FROM uv_support_team u0_ WHERE u0_.is_active = ?
Parameters:
[
  1
]
0.09 ms
(0.50%)
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\ApiBundle\Entity\ApiAccessCredential No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket
  • The association Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket#supportGroup refers to the inverse side field Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportGroup#tickets which does not exist.
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
  • The field Webkul\UVDesk\CoreFrameworkBundle\Entity\Tag#tickets is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Webkul\UVDesk\CoreFrameworkBundle\Entity\Ticket#supportTags does not contain the required 'inversedBy="tickets"' attribute.
Webkul\UVDesk\CoreFrameworkBundle\Entity\SupportLabel No errors.
Webkul\UVDesk\CoreFrameworkBundle\Entity\Attachment No errors.