https://helpdesk.faclon.com/en/customer/threads/ajax/1979?page=1

Query Metrics

10 Database Queries
9 Different statements
6.18 ms Query time
2 Invalid entities

Queries

Group similar statements

# Time Info
1 0.59 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.79 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 = ? LIMIT 1
Parameters:
[
  "sales1@svananalytical.com"
  1
  "ROLE_CUSTOMER"
]
3 0.42 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:
[
  4
]
4 0.54 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.58 ms
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.status = ? LIMIT 1
Parameters:
[
  2
  1
]
6 0.42 ms
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 = ?
Parameters:
[
  "1979"
]
7 0.98 ms
SELECT COUNT(DISTINCT u0_.id) AS sclr_0 FROM uv_thread u0_ LEFT JOIN uv_user u1_ ON u0_.user_id = u1_.id LEFT JOIN uv_ticket_attachments u2_ ON u0_.id = u2_.thread_id LEFT JOIN uv_user_instance u3_ ON u1_.id = u3_.user_id WHERE u0_.thread_type = ? AND u0_.ticket_id = ? ORDER BY u0_.id DESC
Parameters:
[
  "reply"
  "1979"
]
8 0.75 ms
SELECT DISTINCT u0_.id AS id_0, u0_.id AS id_1 FROM uv_thread u0_ LEFT JOIN uv_user u1_ ON u0_.user_id = u1_.id LEFT JOIN uv_ticket_attachments u2_ ON u0_.id = u2_.thread_id LEFT JOIN uv_user_instance u3_ ON u1_.id = u3_.user_id WHERE u0_.thread_type = ? AND u0_.ticket_id = ? ORDER BY u0_.id DESC LIMIT 15
Parameters:
[
  "reply"
  "1979"
]
9 0.71 ms
SELECT u0_.id AS id_0, CONCAT(u0_.first_name, ' ', u0_.last_name) AS sclr_1, u1_.profile_image_path AS profile_image_path_2, u2_.id AS id_3, u2_.source AS source_4, u2_.message_id AS message_id_5, u2_.thread_type AS thread_type_6, u2_.created_by AS created_by_7, u2_.cc AS cc_8, u2_.bcc AS bcc_9, u2_.reply_to AS reply_to_10, u2_.delivery_status AS delivery_status_11, u2_.is_locked AS is_locked_12, u2_.is_bookmarked AS is_bookmarked_13, u2_.message AS message_14, u2_.created_at AS created_at_15, u2_.updated_at AS updated_at_16, u2_.agent_viewed_at AS agent_viewed_at_17, u2_.customer_viewed_at AS customer_viewed_at_18, u3_.id AS id_19, u3_.name AS name_20, u3_.path AS path_21, u3_.content_type AS content_type_22, u3_.size AS size_23, u3_.content_id AS content_id_24, u3_.file_system AS file_system_25 FROM uv_thread u2_ LEFT JOIN uv_user u0_ ON u2_.user_id = u0_.id LEFT JOIN uv_ticket_attachments u3_ ON u2_.id = u3_.thread_id LEFT JOIN uv_user_instance u1_ ON u0_.id = u1_.user_id WHERE u2_.thread_type = ? AND u2_.ticket_id = ? AND u2_.id IN (?) ORDER BY u2_.id DESC
Parameters:
[
  "reply"
  "1979"
  [
    5229
  ]
]
10 0.40 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"
]

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\SupportCenterBundle\Entity\KnowledgebaseWebsite 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.