http://calper.descomplicavendas.com.br/api/leads/send

Query Metrics

111 Database Queries
20 Different statements
93.62 ms Query time
3 Invalid entities

Grouped Statements

Show all queries

Time Count Info
48.96 ms
(52.30%)
2
SELECT t0.name AS name_1, t0.email AS email_2, t0.phone AS phone_3, t0.fixedPhone AS fixedPhone_4, t0.leadGroup AS leadGroup_5, t0.origem AS origem_6, t0.empreendimento AS empreendimento_7, t0.broker_email AS broker_email_8, t0.broker_realState AS broker_realState_9, t0.utm_source AS utm_source_10, t0.utm_medium AS utm_medium_11, t0.utm_campaign AS utm_campaign_12, t0.message AS message_13, t0.id AS id_14, t0.created_at AS created_at_15, t0.updated_at AS updated_at_16, t0.product_id AS product_id_17 FROM internit_lead_lead t0 WHERE t0.product_id = ?
Parameters:
[
  4
]
23.22 ms
(24.80%)
77
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.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.date_of_birth AS date_of_birth_14, t0.firstname AS firstname_15, t0.lastname AS lastname_16, t0.website AS website_17, t0.biography AS biography_18, t0.gender AS gender_19, t0.locale AS locale_20, t0.timezone AS timezone_21, t0.phone AS phone_22, t0.facebook_uid AS facebook_uid_23, t0.facebook_name AS facebook_name_24, t0.facebook_data AS facebook_data_25, t0.twitter_uid AS twitter_uid_26, t0.twitter_name AS twitter_name_27, t0.twitter_data AS twitter_data_28, t0.gplus_uid AS gplus_uid_29, t0.gplus_name AS gplus_name_30, t0.gplus_data AS gplus_data_31, t0.token AS token_32, t0.two_step_code AS two_step_code_33, t0.id AS id_34, t0.nickname AS nickname_35, t0.genre AS genre_36, t0.cpf AS cpf_37, t0.rg AS rg_38, t0.number AS number_39, t0.creci AS creci_40, t0.operator_id AS operator_id_41, t0.department_id AS department_id_42, t0.media_id AS media_id_43, t0.address_id AS address_id_44, t0.image_id AS image_id_45 FROM fos_user_user t0 WHERE t0.id = ?
Parameters:
[
  59
]
8.30 ms
(8.87%)
1
SELECT i0_.broker_email AS broker_email_0, i0_.broker_realState AS broker_realState_1, f1_.phone AS phone_2, f1_.firstname AS firstname_3 FROM internit_lead_lead i0_ LEFT JOIN internit_lead_product i2_ ON i0_.product_id = i2_.id, fos_user_user f1_ WHERE i0_.email LIKE ? AND i0_.broker_email IS NOT NULL AND i0_.broker_realState IS NOT NULL AND i0_.broker_email IN (?) AND f1_.email = i0_.broker_email ORDER BY i0_.created_at DESC LIMIT 1
Parameters:
[
  "%[email protected]%"
  [
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
    "[email protected]"
  ]
]
3.21 ms
(3.43%)
14
SELECT t0.name AS name_1, t0.corporateName AS corporateName_2, t0.cnpj AS cnpj_3, t0.creci AS creci_4, t0.phone AS phone_5, t0.email AS email_6, t0.receive_lead AS receive_lead_7, t0.id AS id_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.logo_id AS logo_id_11, t0.address_id AS address_id_12 FROM internit_realestate_realestate t0 WHERE t0.id = ?
Parameters:
[
  8
]
1.57 ms
(1.68%)
1
"COMMIT"
Parameters:
[]
1.07 ms
(1.15%)
2
SELECT t0.name AS name_1, t0.description AS description_2, t0.enabled AS enabled_3, t0.provider_name AS provider_name_4, t0.provider_status AS provider_status_5, t0.provider_reference AS provider_reference_6, t0.provider_metadata AS provider_metadata_7, t0.width AS width_8, t0.height AS height_9, t0.length AS length_10, t0.content_type AS content_type_11, t0.content_size AS content_size_12, t0.copyright AS copyright_13, t0.author_name AS author_name_14, t0.context AS context_15, t0.cdn_is_flushable AS cdn_is_flushable_16, t0.cdn_flush_identifier AS cdn_flush_identifier_17, t0.cdn_flush_at AS cdn_flush_at_18, t0.cdn_status AS cdn_status_19, t0.updated_at AS updated_at_20, t0.created_at AS created_at_21, t0.id AS id_22 FROM media__media t0 WHERE t0.id = ?
Parameters:
[
  15
]
1.06 ms
(1.14%)
1
SELECT t0.name AS name_1, t0.description AS description_2, t0.token AS token_3, t0.viva_real AS viva_real_4, t0.zap AS zap_5, t0.olx AS olx_6, t0.turn AS turn_7, t0.email AS email_8, t0.id AS id_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11 FROM internit_lead_product t0 WHERE t0.token = ? LIMIT 1
Parameters:
[
  "c8792f0bc61ae9af4a61a8354bf8e8b7"
]
0.74 ms
(0.79%)
1
SELECT t0.position AS position_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.product_id AS product_id_5, t0.user_id AS user_id_6, t0.realEstate_id AS realEstate_id_7 FROM internit_lead_product_user t0 WHERE t0.product_id = ? ORDER BY t0.position ASC
Parameters:
[
  4
]
0.58 ms
(0.62%)
1
SELECT i0_.url AS url_0 FROM internit_lead_realEstate_email i1_ INNER JOIN internit_lead_realEstateEmail_has_leadEmails i2_ ON i1_.id = i2_.realEstateEmail_id INNER JOIN internit_content_email i0_ ON i0_.id = i2_.email_id INNER JOIN internit_realestate_realestate i3_ ON i1_.realEstate_id = i3_.id WHERE i3_.name = ?
Parameters:
[
  "BLAZER IMOVEIS"
]
0.57 ms
(0.61%)
1
SELECT i0_.percent AS percent_0, i0_.turn AS turn_1, i0_.extraLeads AS extraLeads_2, i0_.id AS id_3, i0_.created_at AS created_at_4, i0_.updated_at AS updated_at_5, i0_.product_id AS product_id_6, i0_.realEstate_id AS realEstate_id_7 FROM internit_lead_realstate_percent i0_ INNER JOIN internit_realestate_realestate i1_ ON i0_.realEstate_id = i1_.id WHERE i0_.product_id = (?) AND i1_.name = ?
Parameters:
[
  4
  "BLAZER IMOVEIS"
]
0.54 ms
(0.58%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.keyWord AS keyWord_4, t0.autHost AS autHost_5, t0.autEmail AS autEmail_6, t0.autPort AS autPort_7, t0.autSecurity AS autSecurity_8, t0.autPassword AS autPassword_9, t0.autAuthenticatedEmail AS autAuthenticatedEmail_10, t0.autEmailStatus AS autEmailStatus_11, t0.headerBackgroundColor AS headerBackgroundColor_12, t0.headerFontColor AS headerFontColor_13, t0.footerBackgroundColor AS footerBackgroundColor_14, t0.footerFontColor AS footerFontColor_15, t0.siteUrl AS siteUrl_16, t0.media_id AS media_id_17, t0.logo_id AS logo_id_18, t0.logo_footer_id AS logo_footer_id_19 FROM internit_setting_setting t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.52 ms
(0.55%)
1
INSERT INTO internit_lead_lead (name, email, phone, fixedPhone, leadGroup, origem, empreendimento, broker_email, broker_realState, utm_source, utm_medium, utm_campaign, message, created_at, updated_at, product_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  1 => "Sophie Victoria"
  2 => "[email protected]"
  3 => " 21 97029-4956"
  4 => null
  5 => "RecepçãoArte Design"
  6 => "Recepção"
  7 => null
  8 => "[email protected]"
  9 => "BLAZER IMOVEIS"
  10 => null
  11 => null
  12 => null
  13 => null
  14 => "2024-11-24 18:54:09"
  15 => "2024-11-24 18:54:09"
  16 => 4
]
0.51 ms
(0.54%)
1
SELECT t0.name AS name_1, t0.phone AS phone_2, t0.whatsapp AS whatsapp_3, t0.siteUrl AS siteUrl_4, t0.mapLink AS mapLink_5, t0.openingHours AS openingHours_6, t0.id AS id_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.logo_id AS logo_id_10, t0.address_id AS address_id_11 FROM internit_builder_builder t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.50 ms
(0.53%)
1
SELECT t0.name AS name_1, t0.corporateName AS corporateName_2, t0.cnpj AS cnpj_3, t0.creci AS creci_4, t0.phone AS phone_5, t0.email AS email_6, t0.receive_lead AS receive_lead_7, t0.id AS id_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.logo_id AS logo_id_11, t0.address_id AS address_id_12 FROM internit_realestate_realestate t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "BLAZER IMOVEIS"
]
0.48 ms
(0.52%)
1
SELECT i0_.name AS name_0, f1_.email AS email_1, f1_.firstname AS firstname_2, f1_.phone AS phone_3, f1_.operator_id AS operator_id_4, f1_.department_id AS department_id_5 FROM internit_lead_product_user i2_ INNER JOIN internit_realestate_realestate i0_ ON i2_.realEstate_id = i0_.id INNER JOIN fos_user_user f1_ ON i2_.user_id = f1_.id WHERE i2_.product_id = (?) AND i0_.name = ?
Parameters:
[
  4
  "BLAZER IMOVEIS"
]
0.47 ms
(0.50%)
1
SELECT t0.percent AS percent_1, t0.turn AS turn_2, t0.extraLeads AS extraLeads_3, t0.id AS id_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.product_id AS product_id_7, t0.realEstate_id AS realEstate_id_8 FROM internit_lead_realstate_percent t0 WHERE t0.product_id = ? ORDER BY t0.percent DESC
Parameters:
[
  4
]
0.46 ms
(0.49%)
1
SELECT t0.url AS url_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4 FROM internit_builder_email t0 INNER JOIN internit_builder_builder_has_contactEmails ON t0.id = internit_builder_builder_has_contactEmails.email_id WHERE internit_builder_builder_has_contactEmails.builder_id = ?
Parameters:
[
  1
]
0.40 ms
(0.43%)
1
SELECT count(i0_.id) AS sclr_0 FROM internit_setting_setting i0_
Parameters:
[]
0.27 ms
(0.29%)
1
SELECT i0_.title AS title_0, i0_.autEmail AS autEmail_1, i0_.autPassword AS autPassword_2, i0_.autHost AS autHost_3, i0_.autPort AS autPort_4, i0_.description AS description_5, i0_.keyWord AS keyWord_6, i0_.autSecurity AS autSecurity_7, i0_.autAuthenticatedEmail AS autAuthenticatedEmail_8, i0_.autEmailStatus AS autEmailStatus_9 FROM internit_setting_setting i0_
Parameters:
[]
0.19 ms
(0.20%)
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
App\Application\Internit\ContentBundle\Entity\Entity No errors.
App\Application\Internit\LeadBundle\Entity\Product No errors.
App\Application\Internit\LeadBundle\Entity\ProductUser No errors.
App\Application\Internit\LeadBundle\Entity\Lead No errors.
App\Application\Internit\LeadBundle\Entity\realStatePercent No errors.
FOS\UserBundle\Model\User No errors.
Sonata\UserBundle\Entity\BaseUser No errors.
App\Application\Sonata\UserBundle\Entity\User No errors.
App\Application\Internit\RealEstateBundle\Entity\RealEstate
  • The mappings App\Application\Internit\RealEstateBundle\Entity\RealEstate#realys and App\Application\Internit\RealEstateBundle\Entity\Realty#realEstates are inconsistent with each other.
Sonata\MediaBundle\Entity\BaseMedia No errors.
App\Application\Sonata\MediaBundle\Entity\Media No errors.
App\Application\Internit\ContentBundle\Entity\Address No errors.
FOS\UserBundle\Model\Group No errors.
Sonata\UserBundle\Entity\BaseGroup No errors.
App\Application\Sonata\UserBundle\Entity\Group No errors.
App\Application\Internit\CommunicationBundle\Entity\Communication
  • The field App\Application\Internit\CommunicationBundle\Entity\Communication#communicationUsers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Application\Internit\CommunicationBundle\Entity\CommunicationUser#communication does not contain the required 'inversedBy="communicationUsers"' attribute.
App\Application\Internit\RealEstateBundle\Entity\Realty
  • The association App\Application\Internit\RealEstateBundle\Entity\Realty#realEstates refers to the inverse side field App\Application\Internit\RealEstateBundle\Entity\RealEstate#realtys which does not exist.
  • The field App\Application\Internit\RealEstateBundle\Entity\Realty#proposals is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Application\Internit\ProposalBundle\Entity\Proposal#realty does not contain the required 'inversedBy="proposals"' attribute.
  • The mappings App\Application\Internit\RealEstateBundle\Entity\Realty#videos and App\Application\Internit\RealEstateBundle\Entity\Video#realty are inconsistent with each other.
  • The mappings App\Application\Internit\RealEstateBundle\Entity\Realty#gallerysFiles and App\Application\Internit\RealEstateBundle\Entity\GalleryFile#realty are inconsistent with each other.
  • The mappings App\Application\Internit\RealEstateBundle\Entity\Realty#suites and App\Application\Internit\RealEstateBundle\Entity\RealtySuite#realtys are inconsistent with each other.
  • The mappings App\Application\Internit\RealEstateBundle\Entity\Realty#vacancies and App\Application\Internit\RealEstateBundle\Entity\RealtyVacancy#realtys are inconsistent with each other.
App\Application\Internit\LeadBundle\Entity\RealEstateEmail No errors.
App\Application\Internit\ContentBundle\Entity\Email No errors.
App\Application\Internit\SettingBundle\Entity\Setting No errors.
App\Application\Internit\BuilderBundle\Entity\Builder No errors.
App\Application\Internit\BuilderBundle\Entity\Email No errors.
Sonata\MediaBundle\Entity\BaseGalleryHasMedia No errors.
App\Application\Sonata\MediaBundle\Entity\GalleryHasMedia No errors.