Query Metrics

13 Database Queries
8 Different statements
5.87 ms Query time
0 Invalid entities
27 Managed entities

Queries

Group similar statements

# Time Info
1 0.76 ms
SELECT t0.id AS id_1, t0.roles AS roles_2, t0.password AS password_3, t0.taxdown_id AS taxdown_id_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.nif AS nif_7, t0.birth_date AS birth_date_8, t0.nationality AS nationality_9, t0.mobile AS mobile_10, t0.email AS email_11, t0.id_cliente_sefide AS id_cliente_sefide_12, t0.updated_at AS updated_at_13, t0.sso_id AS sso_id_14, t0.sso_metadata AS sso_metadata_15, t0.created_at AS created_at_16, t0.skip_inform_to_tax_down AS skip_inform_to_tax_down_17, t18.naturaleza_juridica AS naturaleza_juridica_19, t18.situacion_juridica AS situacion_juridica_20, t18.cnae AS cnae_21, t18.iae AS iae_22, t18.inscrita_en AS inscrita_en_23, t18.num_inscripcion_registral AS num_inscripcion_registral_24, t18.fec_inscripcion_registral AS fec_inscripcion_registral_25, t18.nivel_rrpp AS nivel_rrpp_26, t18.nivel_ingresos AS nivel_ingresos_27, t18.volumen_ventas AS volumen_ventas_28, t18.objeto_social AS objeto_social_29, t18.numero_sucursales AS numero_sucursales_30, t18.paises_donde_opera AS paises_donde_opera_31, t18.created_at AS created_at_32, t18.updated_at AS updated_at_33, t18.id AS id_34, t18.skip_inform_to_tax_down AS skip_inform_to_tax_down_35, t18.applicant_id AS applicant_id_36 FROM applicant t0 LEFT JOIN legal_entity t18 ON t18.applicant_id = t0.id WHERE t0.id = ?
Parameters:
[
  "2"
]
2 0.58 ms
SELECT id
            FROM white_label
            WHERE is_active = 1
            AND (
                -- Búsqueda exacta en platform_domains
                JSON_SEARCH(platforms, 'one', ?, NULL, '$[*].platform_domains[*]') IS NOT NULL
                OR JSON_SEARCH(platforms, 'one', ?, NULL, '$[*].platform_domains[*]') IS NOT NULL
                -- Búsqueda exacta en origin_urls
                OR JSON_CONTAINS(origin_urls, ?)
                OR JSON_CONTAINS(origin_urls, ?)
                -- Búsqueda por dominio base en origin_urls (ej: iodapp.com)
                OR (
                    ? != ''
                    AND (
                        origin_urls LIKE CONCAT('%', ?, '%')
                        OR sso_domain LIKE CONCAT('%', ?, '%')
                    )
                )
            )
            ORDER BY (
                -- Prioridad 1: coincidencia exacta en platform_domains
                CASE WHEN JSON_SEARCH(platforms, 'one', ?, NULL, '$[*].platform_domains[*]') IS NOT NULL THEN 1
                     WHEN JSON_SEARCH(platforms, 'one', ?, NULL, '$[*].platform_domains[*]') IS NOT NULL THEN 1
                     ELSE 0 END
            ) DESC, (
                -- Prioridad 2: coincidencia exacta en origin_urls
                CASE WHEN JSON_CONTAINS(origin_urls, ?) THEN 1
                     WHEN JSON_CONTAINS(origin_urls, ?) THEN 1
                     ELSE 0 END
            ) DESC
            LIMIT 1
Parameters:
[
  "https://wallet.cuentasescrow.com/"
  "https://wallet.cuentasescrow.com"
  ""https:\/\/wallet.cuentasescrow.com\/""
  ""https:\/\/wallet.cuentasescrow.com""
  "cuentasescrow.com"
  "cuentasescrow.com"
  "cuentasescrow.com"
  "https://wallet.cuentasescrow.com/"
  "https://wallet.cuentasescrow.com"
  ""https:\/\/wallet.cuentasescrow.com\/""
  ""https:\/\/wallet.cuentasescrow.com""
]
3 0.21 ms
SELECT t0.id AS id_1, t0.white_label_id AS white_label_id_2, t0.company_name AS company_name_3, t0.login_title AS login_title_4, t0.logo_url AS logo_url_5, t0.primary_color AS primary_color_6, t0.background_color AS background_color_7, t0.text_color AS text_color_8, t0.terms_url AS terms_url_9, t0.privacy_policy_url AS privacy_policy_url_10, t0.contact_url AS contact_url_11, t0.sso_domain AS sso_domain_12, t0.origin_urls AS origin_urls_13, t0.is_active AS is_active_14, t0.platforms AS platforms_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.sync_version AS sync_version_18 FROM white_label t0 WHERE t0.id = ?
Parameters:
[
  "54fa3f21-d270-4528-8c3c-8275394988b3"
]
4 0.58 ms
SELECT s0_.operation_type AS operation_type_0, s0_.operation_id AS operation_id_1, s0_.data AS data_2, s0_.status AS status_3, s0_.preauthorized_at AS preauthorized_at_4, s0_.created_at AS created_at_5, s0_.updated_at AS updated_at_6, s0_.id AS id_7, s0_.skip_inform_to_tax_down AS skip_inform_to_tax_down_8, s0_.applicant_id AS applicant_id_9, s0_.preauthorized_by_id AS preauthorized_by_id_10 FROM scheduled_operation s0_ WHERE s0_.status IN (?, ?) AND s0_.operation_id IS NOT NULL ORDER BY s0_.created_at DESC
Parameters:
[
  "sca_pending"
  "error"
]
5 0.50 ms
SELECT DISTINCT s0_.id AS id_0, s0_.created_at AS created_at_1 FROM scheduled_operation s0_ ORDER BY s0_.created_at DESC LIMIT 20
Parameters:
[]
6 0.48 ms
SELECT s0_.operation_type AS operation_type_0, s0_.operation_id AS operation_id_1, s0_.data AS data_2, s0_.status AS status_3, s0_.preauthorized_at AS preauthorized_at_4, s0_.created_at AS created_at_5, s0_.updated_at AS updated_at_6, s0_.id AS id_7, s0_.skip_inform_to_tax_down AS skip_inform_to_tax_down_8, s0_.applicant_id AS applicant_id_9, s0_.preauthorized_by_id AS preauthorized_by_id_10 FROM scheduled_operation s0_ WHERE s0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY s0_.created_at DESC
Parameters:
[
  "d2167c84-6aaf-47a7-b00e-a6ce8cbc27a2"
  "b693caef-fb51-4336-b667-48a8245924df"
  "0dca6683-4a66-4d8c-9921-e57af1ce21e6"
  "f646eeaf-d9e5-4fa9-bbba-53764172b163"
  "292af559-afb5-47ed-b3aa-7522ad8c11cd"
  "cc36aeb4-e611-4215-bcfd-ace37826ab69"
  "38bde971-340f-4827-9b0a-fc4c4413db3a"
  "65d809cc-9d17-4a2a-b228-e9a02a00af4e"
  "f65568cf-2a7a-4618-aeb9-293c0500ac18"
  "310c833f-854e-4f4b-8521-51ea3167e551"
  "a498b839-6f90-4f12-aff7-f5e0c3e58e66"
  "8279555c-8602-4008-a148-9d5713f643ed"
  "dac9751e-fe98-44b8-a9ce-818258f1b331"
  "ae645169-4086-4413-82e4-2013ad21b109"
  "3fc246f5-99ae-476b-93ce-54c3ab0d8ceb"
  "99e7053e-89d9-4ef2-bc10-7459db214d2d"
  "8e7c69e2-28eb-4f5f-9600-a5dd8929d1c9"
  "dd045f45-c4f1-44fc-97fd-2fb6cb305805"
  "36757e1e-f349-456f-bd47-974999a16e91"
  "95a2cd6f-18d5-420c-aecf-3b74e50f7ebe"
]
7 0.31 ms
SELECT count(s0_.id) AS sclr_0 FROM scheduled_operation s0_
Parameters:
[]
8 0.39 ms
SELECT t0.id AS id_1, t0.roles AS roles_2, t0.password AS password_3, t0.taxdown_id AS taxdown_id_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.nif AS nif_7, t0.birth_date AS birth_date_8, t0.nationality AS nationality_9, t0.mobile AS mobile_10, t0.email AS email_11, t0.id_cliente_sefide AS id_cliente_sefide_12, t0.updated_at AS updated_at_13, t0.sso_id AS sso_id_14, t0.sso_metadata AS sso_metadata_15, t0.created_at AS created_at_16, t0.skip_inform_to_tax_down AS skip_inform_to_tax_down_17, t18.naturaleza_juridica AS naturaleza_juridica_19, t18.situacion_juridica AS situacion_juridica_20, t18.cnae AS cnae_21, t18.iae AS iae_22, t18.inscrita_en AS inscrita_en_23, t18.num_inscripcion_registral AS num_inscripcion_registral_24, t18.fec_inscripcion_registral AS fec_inscripcion_registral_25, t18.nivel_rrpp AS nivel_rrpp_26, t18.nivel_ingresos AS nivel_ingresos_27, t18.volumen_ventas AS volumen_ventas_28, t18.objeto_social AS objeto_social_29, t18.numero_sucursales AS numero_sucursales_30, t18.paises_donde_opera AS paises_donde_opera_31, t18.created_at AS created_at_32, t18.updated_at AS updated_at_33, t18.id AS id_34, t18.skip_inform_to_tax_down AS skip_inform_to_tax_down_35, t18.applicant_id AS applicant_id_36 FROM applicant t0 LEFT JOIN legal_entity t18 ON t18.applicant_id = t0.id WHERE t0.id = ?
Parameters:
[
  "f678ec7a-db38-448a-81c4-93c382064427"
]
9 0.36 ms
SELECT t0.id AS id_1, t0.roles AS roles_2, t0.password AS password_3, t0.taxdown_id AS taxdown_id_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.nif AS nif_7, t0.birth_date AS birth_date_8, t0.nationality AS nationality_9, t0.mobile AS mobile_10, t0.email AS email_11, t0.id_cliente_sefide AS id_cliente_sefide_12, t0.updated_at AS updated_at_13, t0.sso_id AS sso_id_14, t0.sso_metadata AS sso_metadata_15, t0.created_at AS created_at_16, t0.skip_inform_to_tax_down AS skip_inform_to_tax_down_17, t18.naturaleza_juridica AS naturaleza_juridica_19, t18.situacion_juridica AS situacion_juridica_20, t18.cnae AS cnae_21, t18.iae AS iae_22, t18.inscrita_en AS inscrita_en_23, t18.num_inscripcion_registral AS num_inscripcion_registral_24, t18.fec_inscripcion_registral AS fec_inscripcion_registral_25, t18.nivel_rrpp AS nivel_rrpp_26, t18.nivel_ingresos AS nivel_ingresos_27, t18.volumen_ventas AS volumen_ventas_28, t18.objeto_social AS objeto_social_29, t18.numero_sucursales AS numero_sucursales_30, t18.paises_donde_opera AS paises_donde_opera_31, t18.created_at AS created_at_32, t18.updated_at AS updated_at_33, t18.id AS id_34, t18.skip_inform_to_tax_down AS skip_inform_to_tax_down_35, t18.applicant_id AS applicant_id_36 FROM applicant t0 LEFT JOIN legal_entity t18 ON t18.applicant_id = t0.id WHERE t0.id = ?
Parameters:
[
  "Investor-INTRUSTIAL"
]
10 0.43 ms
SELECT t0.id AS id_1, t0.taxdown_id AS taxdown_id_2, t0.timestamp AS timestamp_3, t0.user_ip AS user_ip_4, t0.occupation AS occupation_5, t0.bank_account_iban_user AS bank_account_iban_user_6, t0.income_tax_draft AS income_tax_draft_7, t0.income_tax_draft_final AS income_tax_draft_final_8, t0.tax_debt_certificate AS tax_debt_certificate_9, t0.tax_return_file AS tax_return_file_10, t0.requested_money AS requested_money_11, t0.returned_money_hacienda AS returned_money_hacienda_12, t0.wallet_available_money AS wallet_available_money_13, t0.incidence_details AS incidence_details_14, t0.hard_custom_incidence_details AS hard_custom_incidence_details_15, t0.hard_custom_incidence_comments AS hard_custom_incidence_comments_16, t0.soft_custom_incidence_details AS soft_custom_incidence_details_17, t0.is_record_account_canceled AS is_record_account_canceled_18, t0.sms_validation_trigger AS sms_validation_trigger_19, t0.video_trigger AS video_trigger_20, t0.emoney_account_creation_trigger AS emoney_account_creation_trigger_21, t0.contract_trigger AS contract_trigger_22, t0.document_submission_trigger AS document_submission_trigger_23, t0.documento_esa_id AS documento_esa_id_24, t0.sms_validation_otp_code AS sms_validation_otp_code_25, t0.nivel_ingresos AS nivel_ingresos_26, t0.pais_residencia AS pais_residencia_27, t0.via AS via_28, t0.numero AS numero_29, t0.codigo_postal AS codigo_postal_30, t0.localidad AS localidad_31, t0.postal AS postal_32, t0.residencia AS residencia_33, t0.fiscal AS fiscal_34, t0.date_money_lend AS date_money_lend_35, t0.date_money_charge AS date_money_charge_36, t0.id_operacion AS id_operacion_37, t0.contract_is_confirmed AS contract_is_confirmed_38, t0.sms_validation_is_confirmed AS sms_validation_is_confirmed_39, t0.video_is_confirmed AS video_is_confirmed_40, t0.id_documento AS id_documento_41, t0.id_wallet AS id_wallet_42, t0.wallet_status AS wallet_status_43, t0.video_status AS video_status_44, t0.bank_account_iban_sefide AS bank_account_iban_sefide_45, t0.kyc_level AS kyc_level_46, t0.contract_signed AS contract_signed_47, t0.contract_signing_date AS contract_signing_date_48, t0.advance_payment_status AS advance_payment_status_49, t0.tax_office_payment_received AS tax_office_payment_received_50, t0.incidence_existence AS incidence_existence_51, t0.operation_finished AS operation_finished_52, t0.sefide_contract_url AS sefide_contract_url_53, t0.sefide_video_url AS sefide_video_url_54, t0.id_documento_fcl AS id_documento_fcl_55, t0.operation_status AS operation_status_56, t0.signed_contract_date AS signed_contract_date_57, t0.is_taxdown_ok AS is_taxdown_ok_58, t0.alias AS alias_59, t0.created_at AS created_at_60, t0.updated_at AS updated_at_61, t0.skip_inform_to_tax_down AS skip_inform_to_tax_down_62, t0.applicant_id AS applicant_id_63 FROM record t0 WHERE t0.applicant_id = ?
Parameters:
[
  "Investor-INTRUSTIAL"
]
11 0.28 ms
SELECT t0.id AS id_1, t0.roles AS roles_2, t0.password AS password_3, t0.taxdown_id AS taxdown_id_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.nif AS nif_7, t0.birth_date AS birth_date_8, t0.nationality AS nationality_9, t0.mobile AS mobile_10, t0.email AS email_11, t0.id_cliente_sefide AS id_cliente_sefide_12, t0.updated_at AS updated_at_13, t0.sso_id AS sso_id_14, t0.sso_metadata AS sso_metadata_15, t0.created_at AS created_at_16, t0.skip_inform_to_tax_down AS skip_inform_to_tax_down_17, t18.naturaleza_juridica AS naturaleza_juridica_19, t18.situacion_juridica AS situacion_juridica_20, t18.cnae AS cnae_21, t18.iae AS iae_22, t18.inscrita_en AS inscrita_en_23, t18.num_inscripcion_registral AS num_inscripcion_registral_24, t18.fec_inscripcion_registral AS fec_inscripcion_registral_25, t18.nivel_rrpp AS nivel_rrpp_26, t18.nivel_ingresos AS nivel_ingresos_27, t18.volumen_ventas AS volumen_ventas_28, t18.objeto_social AS objeto_social_29, t18.numero_sucursales AS numero_sucursales_30, t18.paises_donde_opera AS paises_donde_opera_31, t18.created_at AS created_at_32, t18.updated_at AS updated_at_33, t18.id AS id_34, t18.skip_inform_to_tax_down AS skip_inform_to_tax_down_35, t18.applicant_id AS applicant_id_36 FROM applicant t0 LEFT JOIN legal_entity t18 ON t18.applicant_id = t0.id WHERE t0.id = ?
Parameters:
[
  "biotech3d-2024"
]
12 0.36 ms
SELECT t0.id AS id_1, t0.taxdown_id AS taxdown_id_2, t0.timestamp AS timestamp_3, t0.user_ip AS user_ip_4, t0.occupation AS occupation_5, t0.bank_account_iban_user AS bank_account_iban_user_6, t0.income_tax_draft AS income_tax_draft_7, t0.income_tax_draft_final AS income_tax_draft_final_8, t0.tax_debt_certificate AS tax_debt_certificate_9, t0.tax_return_file AS tax_return_file_10, t0.requested_money AS requested_money_11, t0.returned_money_hacienda AS returned_money_hacienda_12, t0.wallet_available_money AS wallet_available_money_13, t0.incidence_details AS incidence_details_14, t0.hard_custom_incidence_details AS hard_custom_incidence_details_15, t0.hard_custom_incidence_comments AS hard_custom_incidence_comments_16, t0.soft_custom_incidence_details AS soft_custom_incidence_details_17, t0.is_record_account_canceled AS is_record_account_canceled_18, t0.sms_validation_trigger AS sms_validation_trigger_19, t0.video_trigger AS video_trigger_20, t0.emoney_account_creation_trigger AS emoney_account_creation_trigger_21, t0.contract_trigger AS contract_trigger_22, t0.document_submission_trigger AS document_submission_trigger_23, t0.documento_esa_id AS documento_esa_id_24, t0.sms_validation_otp_code AS sms_validation_otp_code_25, t0.nivel_ingresos AS nivel_ingresos_26, t0.pais_residencia AS pais_residencia_27, t0.via AS via_28, t0.numero AS numero_29, t0.codigo_postal AS codigo_postal_30, t0.localidad AS localidad_31, t0.postal AS postal_32, t0.residencia AS residencia_33, t0.fiscal AS fiscal_34, t0.date_money_lend AS date_money_lend_35, t0.date_money_charge AS date_money_charge_36, t0.id_operacion AS id_operacion_37, t0.contract_is_confirmed AS contract_is_confirmed_38, t0.sms_validation_is_confirmed AS sms_validation_is_confirmed_39, t0.video_is_confirmed AS video_is_confirmed_40, t0.id_documento AS id_documento_41, t0.id_wallet AS id_wallet_42, t0.wallet_status AS wallet_status_43, t0.video_status AS video_status_44, t0.bank_account_iban_sefide AS bank_account_iban_sefide_45, t0.kyc_level AS kyc_level_46, t0.contract_signed AS contract_signed_47, t0.contract_signing_date AS contract_signing_date_48, t0.advance_payment_status AS advance_payment_status_49, t0.tax_office_payment_received AS tax_office_payment_received_50, t0.incidence_existence AS incidence_existence_51, t0.operation_finished AS operation_finished_52, t0.sefide_contract_url AS sefide_contract_url_53, t0.sefide_video_url AS sefide_video_url_54, t0.id_documento_fcl AS id_documento_fcl_55, t0.operation_status AS operation_status_56, t0.signed_contract_date AS signed_contract_date_57, t0.is_taxdown_ok AS is_taxdown_ok_58, t0.alias AS alias_59, t0.created_at AS created_at_60, t0.updated_at AS updated_at_61, t0.skip_inform_to_tax_down AS skip_inform_to_tax_down_62, t0.applicant_id AS applicant_id_63 FROM record t0 WHERE t0.applicant_id = ?
Parameters:
[
  "biotech3d-2024"
]
13 0.62 ms
SELECT id
            FROM white_label
            WHERE is_active = 1
            AND (
                -- Búsqueda exacta en platform_domains
                JSON_SEARCH(platforms, 'one', ?, NULL, '$[*].platform_domains[*]') IS NOT NULL
                OR JSON_SEARCH(platforms, 'one', ?, NULL, '$[*].platform_domains[*]') IS NOT NULL
                -- Búsqueda exacta en origin_urls
                OR JSON_CONTAINS(origin_urls, ?)
                OR JSON_CONTAINS(origin_urls, ?)
                -- Búsqueda por dominio base en origin_urls (ej: iodapp.com)
                OR (
                    ? != ''
                    AND (
                        origin_urls LIKE CONCAT('%', ?, '%')
                        OR sso_domain LIKE CONCAT('%', ?, '%')
                    )
                )
            )
            ORDER BY (
                -- Prioridad 1: coincidencia exacta en platform_domains
                CASE WHEN JSON_SEARCH(platforms, 'one', ?, NULL, '$[*].platform_domains[*]') IS NOT NULL THEN 1
                     WHEN JSON_SEARCH(platforms, 'one', ?, NULL, '$[*].platform_domains[*]') IS NOT NULL THEN 1
                     ELSE 0 END
            ) DESC, (
                -- Prioridad 2: coincidencia exacta en origin_urls
                CASE WHEN JSON_CONTAINS(origin_urls, ?) THEN 1
                     WHEN JSON_CONTAINS(origin_urls, ?) THEN 1
                     ELSE 0 END
            ) DESC
            LIMIT 1
Parameters:
[
  "https://wallet.cuentasescrow.com/"
  "https://wallet.cuentasescrow.com"
  ""https:\/\/wallet.cuentasescrow.com\/""
  ""https:\/\/wallet.cuentasescrow.com""
  "cuentasescrow.com"
  "cuentasescrow.com"
  "cuentasescrow.com"
  "https://wallet.cuentasescrow.com/"
  "https://wallet.cuentasescrow.com"
  ""https:\/\/wallet.cuentasescrow.com\/""
  ""https:\/\/wallet.cuentasescrow.com""
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\ScheduledOperation 20
App\Entity\Applicant 4
App\Entity\Record 2
SmartEscrow\DelegationBundle\Entity\WhiteLabel 1

Entities Mapping