Query Metrics
5
Database Queries
5
Different statements
2.39 ms
Query time
1
Invalid entities
Queries
| #▲ | Time | Info | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.43 ms |
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.email AS email_5, t0.name AS name_6, t0.lastname AS lastname_7, t0.reset_password_key AS reset_password_key_8, t9.id AS id_10, t9.phone AS phone_11, t9.can_report_main_sucursal AS can_report_main_sucursal_12, t9.user_id AS user_id_13, t9.sri_info_id AS sri_info_id_14, t9.sucursal_id AS sucursal_id_15, t0.disabled_by_id AS disabled_by_id_16 FROM user t0 LEFT JOIN employee t9 ON t9.user_id = t0.id WHERE t0.id = ?
Parameters:
[
25
]
|
||||||||||||||||||||||||||||||
| 2 | 0.58 ms |
SELECT t0.id AS id_1, t0.razon_social AS razon_social_2, t0.ruc AS ruc_3, t0.direction AS direction_4, t0.email AS email_5, t0.serie1 AS serie1_6, t0.serie2 AS serie2_7, t0.obligado_contabilidad AS obligado_contabilidad_8, t0.logo AS logo_9, t0.agente_retencion AS agente_retencion_10, t0.contribuyente_rimpe AS contribuyente_rimpe_11, t0.contribuyente_especial AS contribuyente_especial_12, t0.contribuyente_rimpe_text AS contribuyente_rimpe_text_13, t0.phone AS phone_14, t0.iess AS iess_15, t0.period103 AS period103_16, t0.user_id AS user_id_17, t0.certificate_id AS certificate_id_18, t19.id AS id_20, t19.company_created AS company_created_21, t19.sri_info_id AS sri_info_id_22, t23.id AS id_24, t23.host AS host_25, t23.email AS email_26, t23.password AS password_27, t23.name AS name_28, t23.port AS port_29, t23.auto_send AS auto_send_30, t23.sri_info_id AS sri_info_id_31, t32.id AS id_33, t32.show_transporter AS show_transporter_34, t32.sucursal_limit AS sucursal_limit_35, t32.should_print332_pdf AS should_print332_pdf_36, t32.company_id AS company_id_37, t0.disabled_by_id AS disabled_by_id_38, t39.id AS id_40, t39.email AS email_41, t39.sri_info_id AS sri_info_id_42 FROM sri_info t0 LEFT JOIN sri_edwin t19 ON t19.sri_info_id = t0.id LEFT JOIN email_configuration t23 ON t23.sri_info_id = t0.id LEFT JOIN saas_configuration t32 ON t32.company_id = t0.id LEFT JOIN email_extra_config t39 ON t39.sri_info_id = t0.id WHERE t0.user_id = ?
Parameters:
[
25
]
|
||||||||||||||||||||||||||||||
| 3 | 0.63 ms |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT p0_.id AS id_0, p0_.date_created AS date_created_1, p0_.razon_social AS razon_social_2, p0_.identification AS identification_3, p0_.type_id AS type_id_4, p0_.location AS location_5, p0_.email AS email_6, p0_.phone AS phone_7, p0_.tipo_sujeto_retenido AS tipo_sujeto_retenido_8, p0_.parte_rel AS parte_rel_9, c1_.id AS id_10, c1_.auth_num AS auth_num_11, c1_.expiration AS expiration_12 FROM provider p0_ LEFT JOIN client_doc_sustento_attributes c1_ ON p0_.doc_attribute_id = c1_.id WHERE p0_.company_id = ? AND (p0_.razon_social LIKE ? OR p0_.identification LIKE ?) ORDER BY p0_.razon_social ASC) dctrn_result) dctrn_table
Parameters:
[ 15 "%1001862398001%" "1001862398001%" ]
|
||||||||||||||||||||||||||||||
| 4 | 0.48 ms |
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, razon_social_2 FROM (SELECT p0_.id AS id_0, p0_.date_created AS date_created_1, p0_.razon_social AS razon_social_2, p0_.identification AS identification_3, p0_.type_id AS type_id_4, p0_.location AS location_5, p0_.email AS email_6, p0_.phone AS phone_7, p0_.tipo_sujeto_retenido AS tipo_sujeto_retenido_8, p0_.parte_rel AS parte_rel_9, c1_.id AS id_10, c1_.auth_num AS auth_num_11, c1_.expiration AS expiration_12 FROM provider p0_ LEFT JOIN client_doc_sustento_attributes c1_ ON p0_.doc_attribute_id = c1_.id WHERE p0_.company_id = ? AND (p0_.razon_social LIKE ? OR p0_.identification LIKE ?)) dctrn_result_inner ORDER BY razon_social_2 ASC) dctrn_result LIMIT 20
Parameters:
[ 15 "%1001862398001%" "1001862398001%" ]
|
||||||||||||||||||||||||||||||
| 5 | 0.27 ms |
SELECT p0_.id AS id_0, p0_.date_created AS date_created_1, p0_.razon_social AS razon_social_2, p0_.identification AS identification_3, p0_.type_id AS type_id_4, p0_.location AS location_5, p0_.email AS email_6, p0_.phone AS phone_7, p0_.tipo_sujeto_retenido AS tipo_sujeto_retenido_8, p0_.parte_rel AS parte_rel_9, c1_.id AS id_10, c1_.auth_num AS auth_num_11, c1_.expiration AS expiration_12, p0_.company_id AS company_id_13, p0_.doc_attribute_id AS doc_attribute_id_14 FROM provider p0_ LEFT JOIN client_doc_sustento_attributes c1_ ON p0_.doc_attribute_id = c1_.id WHERE p0_.company_id = ? AND (p0_.razon_social LIKE ? OR p0_.identification LIKE ?) AND p0_.id IN (?) ORDER BY p0_.razon_social ASC
Parameters:
[ 15 "%1001862398001%" "1001862398001%" 9174 ]
|
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\Entity\User | No errors. |
| App\Entity\Employee | No errors. |
| App\Entity\SriInfo | No errors. |
| App\Entity\Sucursal | No errors. |
| App\Entity\InvoiceSuperClass | No errors. |
| App\Entity\Invoice |
|
| App\Entity\Retencion | No errors. |
| App\Entity\CreditNote | No errors. |
| App\Entity\Transporter | No errors. |
| App\Entity\RemissionGuide | No errors. |
| App\Entity\DebitNote | No errors. |
| App\Entity\LiquidacionCompra | No errors. |
| App\Entity\Ats | No errors. |
| App\Entity\RetentionImport | No errors. |
| App\Entity\Certificate | No errors. |
| App\Entity\SriEdwin | No errors. |
| App\Entity\EmailConfiguration | No errors. |
| App\Entity\SaasConfiguration | No errors. |
| App\Entity\EmailExtraConfig | No errors. |
| App\Entity\Sequence | No errors. |
| App\Entity\Tax | No errors. |
| App\Entity\Product | No errors. |
| App\Entity\Client | No errors. |
| App\Entity\TransporterRemissionGuide | No errors. |
| App\Entity\Provider | No errors. |
| App\Entity\DisabledRetentionCode | No errors. |
| App\Entity\Trabajador | No errors. |
| App\Entity\Report103 | No errors. |
| App\Entity\ReportIva | No errors. |
| App\Entity\EmailTemplate | No errors. |
| App\Entity\SaasDocAllowed | No errors. |
| App\Entity\ClientDocSustentoAttributes | No errors. |