GET https://rifu.iridian.co/gestor/sonia-manrique/88e0f545-01bc-48b4-97ee-a3408557aed8

Query Metrics

37 Database Queries
26 Different statements
1079.32 ms Query time
3 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
101.23 ms
(9.38%)
4
SELECT t0.id AS id_1, t0.fqdn AS fqdn_2, t0.username AS username_3, t0.host AS host_4, t0.password AS password_5, t0.database_name AS database_name_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.deleted_at AS deleted_at_9, t0.tenant_id AS tenant_id_10, t11.id AS id_12, t11.uuid AS uuid_13, t11.created_at AS created_at_14, t11.updated_at AS updated_at_15, t11.deleted_at AS deleted_at_16, t11.local AS local_17 FROM hostname t0 INNER JOIN tenant t11 ON t0.tenant_id = t11.id WHERE t0.fqdn = ? LIMIT 1
Parameters:
[
  "rifu.iridian.co"
]
25.01 ms
(2.32%)
1
SELECT valor from main_setting where llave = 'validate_integrity';
Parameters:
[]
24.97 ms
(2.31%)
1
SELECT if(@@global.time_zone = 'SYSTEM', @@system_time_zone, @@global.time_zone) AS timezone;
Parameters:
[]

tenant connection

Time Count Info
107.95 ms
(10.00%)
1
SELECT t0_.llave AS llave_0, GROUP_CONCAT(JSON_OBJECT('locale', l1_.locale, 'valor', t2_.valor)) AS sclr_1 FROM texto t0_ LEFT JOIN texto_translation t2_ ON t0_.id = t2_.objeto_id LEFT JOIN locale l1_ ON t2_.locale_id = l1_.id GROUP BY t0_.id ORDER BY t0_.id DESC
Parameters:
[]
74.12 ms
(6.87%)
3
SELECT t0.id AS id_1, t0.image AS image_2, t0.image_en AS image_en_3, t0.image_mobile AS image_mobile_4, t0.image_mobile_en AS image_mobile_en_5, t0.path AS path_6, t0.link AS link_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.visible AS visible_10, t0.orden AS orden_11, t0.llave AS llave_12, t0.galeria_id AS galeria_id_13, t0.rifa_id AS rifa_id_14 FROM imagen t0 WHERE t0.id = ?
Parameters:
[
  784
]
73.81 ms
(6.84%)
3
SELECT t0.id AS id_1, t0.locale AS locale_2, t0.habilitado AS habilitado_3 FROM locale t0 WHERE t0.habilitado = ?
Parameters:
[
  1
]
62.78 ms
(5.82%)
1
SELECT i0_.llave AS llave_0, g1_.llave AS llave_1, i0_.path AS path_2, i0_.link AS link_3, i0_.image AS image_4, i0_.image_en AS image_en_5, GROUP_CONCAT(JSON_OBJECT('locale', l2_.locale, 'valor', i3_.titulo, 'resumen', i3_.resumen)) AS sclr_6 FROM imagen i0_ LEFT JOIN imagen_translation i3_ ON (i0_.id = i3_.objeto_id) LEFT JOIN galeria g1_ ON (i0_.galeria_id = g1_.id) LEFT JOIN locale l2_ ON i3_.locale_id = l2_.id WHERE i0_.visible = 1 GROUP BY i0_.id ORDER BY i0_.orden ASC
Parameters:
[]
54.56 ms
(5.05%)
1
SELECT t0_.llave AS llave_0, GROUP_CONCAT(JSON_OBJECT('locale', l1_.locale, 'valor', t2_.valor)) AS sclr_1 FROM texto_big t0_ LEFT JOIN texto_big_translation t2_ ON t0_.id = t2_.objeto_id LEFT JOIN locale l1_ ON t2_.locale_id = l1_.id GROUP BY t0_.id ORDER BY t0_.id DESC
Parameters:
[]
51.65 ms
(4.79%)
2
SELECT s0_.valor AS valor_0, s0_.llave AS llave_1 FROM setting s0_ ORDER BY s0_.id ASC
Parameters:
[]
50.99 ms
(4.72%)
2
SELECT i0_.llave AS llave_0, g1_.llave AS llave_1, i0_.path AS path_2, i0_.link AS link_3, i0_.image AS image_4, i0_.image_en AS image_en_5, i0_.image_mobile AS image_mobile_6, i0_.image_mobile_en AS image_mobile_en_7, GROUP_CONCAT(JSON_OBJECT('locale', l2_.locale, 'valor', i3_.titulo, 'resumen', i3_.resumen)) AS sclr_8 FROM imagen i0_ INNER JOIN galeria g1_ ON (i0_.galeria_id = g1_.id) LEFT JOIN imagen_translation i3_ ON (i0_.id = i3_.objeto_id) LEFT JOIN locale l2_ ON i3_.locale_id = l2_.id WHERE i0_.visible = 1 AND g1_.llave = ? GROUP BY i0_.id ORDER BY i0_.orden ASC
Parameters:
[
  "social_media"
]
50.00 ms
(4.63%)
2
SELECT s0_.id AS id_0, s0_.url AS url_1, i1_.image AS image_2, s2_.titulo AS titulo_3, s2_.keywords AS keywords_4, s2_.descripcion AS descripcion_5 FROM seo s0_ LEFT JOIN seo_translation s2_ ON s0_.id = s2_.objeto_id LEFT JOIN locale l3_ ON s2_.locale_id = l3_.id LEFT JOIN imagen i1_ ON s0_.imagen_id = i1_.id WHERE s0_.url = ? AND l3_.locale = ?
Parameters:
[
  "gestor/sonia-manrique/88e0f545-01bc-48b4-97ee-a3408557aed8"
  "es"
]
49.93 ms
(4.63%)
2
SELECT COUNT(r0_.id) AS sclr_0 FROM rifa r0_ INNER JOIN estado_rifa e1_ ON r0_.estado_id = e1_.id WHERE r0_.gestor_id = ? AND r0_.fecha_fin >= CURRENT_TIMESTAMP AND e1_.ref = ? AND COALESCE(r0_.es_suscripcion, 0) = ?
Parameters:
[
  109
  "APROBADA"
  0
]
26.57 ms
(2.46%)
1
SELECT DISTINCT r0_.id AS id_0, i1_.image AS image_1, r2_.nombre AS nombre_2, u3_.nombre AS nombre_3, u3_.apellidos AS apellidos_4, l4_.locale AS locale_5, r0_.fecha_sorteo AS fecha_sorteo_6, r5_.valor AS valor_7, DATEDIFF(r0_.fecha_sorteo, CURRENT_DATE) AS sclr_8, (r0_.numero_fin - r0_.numero_inicio) AS sclr_9, u6_.nombre AS nombre_10, u6_.apellidos AS apellidos_11, p7_.es_ganador AS es_ganador_12, p7_.folio AS folio_13 FROM rifa r0_ INNER JOIN usuario u3_ ON (u3_.id = r0_.gestor_id) INNER JOIN rifa_translation r2_ ON (r0_.id = r2_.objeto_id) INNER JOIN locale l4_ ON r2_.locale_id = l4_.id INNER JOIN rifa_currency r5_ ON (r0_.id = r5_.objeto_id) INNER JOIN currency c8_ ON r5_.currency_id = c8_.id LEFT JOIN imagen i1_ ON (r0_.imagen_base_id = i1_.id) INNER JOIN estado_rifa e9_ ON (e9_.id = r0_.estado_id) INNER JOIN producto p7_ ON (p7_.rifa_id = r0_.id) INNER JOIN usuario u6_ ON (p7_.comprador_id = u6_.id) WHERE u3_.id = ? AND c8_.iso = ? AND e9_.ref = ? AND r0_.fecha_sorteo < CURRENT_DATE AND p7_.es_ganador = 1
Parameters:
[
  109
  "COP"
  "APROBADA"
]
26.09 ms
(2.42%)
1
SELECT DISTINCT count(DISTINCT r0_.id) AS sclr_0 FROM rifa r0_ INNER JOIN usuario u1_ ON (u1_.id = r0_.gestor_id) INNER JOIN rifa_translation r2_ ON (r0_.id = r2_.objeto_id) INNER JOIN locale l3_ ON r2_.locale_id = l3_.id INNER JOIN rifa_currency r4_ ON (r0_.id = r4_.objeto_id) INNER JOIN currency c5_ ON r4_.currency_id = c5_.id LEFT JOIN imagen i6_ ON (r0_.imagen_base_id = i6_.id) INNER JOIN estado_rifa e7_ ON (e7_.id = r0_.estado_id) INNER JOIN producto p8_ ON (p8_.rifa_id = r0_.id) INNER JOIN usuario u9_ ON (p8_.comprador_id = u9_.id) WHERE u1_.id = ? AND c5_.iso = ? AND e7_.ref = ? AND r0_.fecha_sorteo < CURRENT_DATE AND p8_.es_ganador = 1
Parameters:
[
  109
  "COP"
  "APROBADA"
]
25.62 ms
(2.37%)
1
SELECT r0_.id AS id_0, i1_.image AS image_1, r2_.nombre AS nombre_2, u3_.nombre AS nombre_3, l4_.locale AS locale_4, r0_.fecha_sorteo AS fecha_sorteo_5, r5_.valor AS valor_6, DATEDIFF(r0_.fecha_fin, CURRENT_DATE) AS sclr_7, (r0_.numero_fin - r0_.numero_inicio) AS sclr_8 FROM rifa r0_ INNER JOIN usuario u3_ ON (u3_.id = r0_.gestor_id) INNER JOIN rifa_translation r2_ ON (r0_.id = r2_.objeto_id) INNER JOIN locale l4_ ON r2_.locale_id = l4_.id LEFT JOIN imagen i1_ ON (r0_.imagen_base_id = i1_.id) INNER JOIN rifa_currency r5_ ON (r0_.id = r5_.objeto_id) INNER JOIN currency c6_ ON r5_.currency_id = c6_.id INNER JOIN estado_rifa e7_ ON (e7_.id = r0_.estado_id) INNER JOIN estado_solicitud e8_ ON (e8_.id = u3_.estado_gestor_id) WHERE e7_.ref = ? AND u3_.activo = 1 AND e8_.nombre = ? AND r0_.fecha_fin >= CURRENT_TIMESTAMP AND u3_.id = ? AND c6_.iso = ? AND COALESCE(r0_.es_suscripcion, 0) = 0 ORDER BY r0_.fecha_sorteo ASC LIMIT 1
Parameters:
[
  "APROBADA"
  "Aprobado"
  109
  "COP"
]
25.44 ms
(2.36%)
1
SELECT a0_.llave AS llave_0, a0_.nombre AS nombre_1, a1_.archivo AS archivo_2 FROM archivo a1_ INNER JOIN archivo_publico a0_ ON a1_.archivo_publico_id = a0_.id
Parameters:
[]
25.22 ms
(2.34%)
1
SELECT r0_.id AS id_0, i1_.image AS image_1, r2_.nombre AS nombre_2, u3_.nombre AS nombre_3, l4_.locale AS locale_4, r0_.fecha_sorteo AS fecha_sorteo_5, r5_.valor AS valor_6, DATEDIFF(r0_.fecha_fin, CURRENT_DATE) AS sclr_7, (r0_.numero_fin - r0_.numero_inicio) AS sclr_8 FROM rifa r0_ INNER JOIN usuario u3_ ON (u3_.id = r0_.gestor_id) INNER JOIN rifa_translation r2_ ON (r0_.id = r2_.objeto_id) INNER JOIN locale l4_ ON r2_.locale_id = l4_.id LEFT JOIN imagen i1_ ON (r0_.imagen_base_id = i1_.id) INNER JOIN rifa_currency r5_ ON (r0_.id = r5_.objeto_id) INNER JOIN currency c6_ ON r5_.currency_id = c6_.id INNER JOIN estado_rifa e7_ ON (e7_.id = r0_.estado_id) INNER JOIN estado_solicitud e8_ ON (e8_.id = u3_.estado_gestor_id) WHERE e7_.ref = ? AND u3_.activo = 1 AND e8_.nombre = ? AND r0_.fecha_fin >= CURRENT_TIMESTAMP AND u3_.id = ? AND c6_.iso = ? AND r0_.es_suscripcion = 1 ORDER BY r0_.fecha_sorteo ASC LIMIT 1
Parameters:
[
  "APROBADA"
  "Aprobado"
  109
  "COP"
]
25.19 ms
(2.33%)
1
SELECT t0.id AS id_1, t0.uuid AS uuid_2, t0.nombre AS nombre_3, t0.documento AS documento_4, t0.email AS email_5, t0.telefono AS telefono_6, t0.red_social AS red_social_7, t0.aprueba_tyc AS aprueba_tyc_8, t0.destacado AS destacado_9, t0.numero_rifas AS numero_rifas_10, t0.password AS password_11, t0.roles AS roles_12, t0.apellidos AS apellidos_13, t0.activar_boletin AS activar_boletin_14, t0.perfil_red_social AS perfil_red_social_15, t0.calificacion AS calificacion_16, t0.imagen_perfil AS imagen_perfil_17, t0.nombre_gestor AS nombre_gestor_18, t0.apodo AS apodo_19, t0.fecha_nacimiento AS fecha_nacimiento_20, t0.fecha_expedicion AS fecha_expedicion_21, t0.editable AS editable_22, t0.imagen_banner AS imagen_banner_23, t0.created_at AS created_at_24, t0.updated_at AS updated_at_25, t0.fecha_ultimo_login AS fecha_ultimo_login_26, t0.ultima_direccion_ip AS ultima_direccion_ip_27, t0.fecha_ultimo_cambio_clave AS fecha_ultimo_cambio_clave_28, t0.fecha_activacion AS fecha_activacion_29, t0.fecha_desactivacion AS fecha_desactivacion_30, t0.activo AS activo_31, t0.envio_comentario AS envio_comentario_32, t0.saldo_retirable AS saldo_retirable_33, t0.saldo_no_retirable AS saldo_no_retirable_34, t0.descripcion_perfil AS descripcion_perfil_35, t0.intentos_login AS intentos_login_36, t0.acepta_cookies AS acepta_cookies_37, t0.metodo_registro AS metodo_registro_38, t0.direccion AS direccion_39, t0.acepta_correos AS acepta_correos_40, t0.token AS token_41, t0.acepta_monitoreo_cta AS acepta_monitoreo_cta_42, t0.email_contacto AS email_contacto_43, t0.correo_verificado AS correo_verificado_44, t0.tipo_persona_id AS tipo_persona_id_45, t0.certificado_existencia_id AS certificado_existencia_id_46, t0.documento_representante_id AS documento_representante_id_47, t0.imagen_perfil_principal_id AS imagen_perfil_principal_id_48, t0.imagen_banner_principal_id AS imagen_banner_principal_id_49, t0.estado_gestor_id AS estado_gestor_id_50, t0.ciudad_id AS ciudad_id_51, t0.imagen_destacada_id AS imagen_destacada_id_52, t53.id AS id_54, t53.updated_at AS updated_at_55, t53.created_at AS created_at_56, t53.usuario_id AS usuario_id_57, t53.estado_id AS estado_id_58, t53.acceso_rifas_id AS acceso_rifas_id_59, t0.tipo_documento_id AS tipo_documento_id_60 FROM usuario t0 LEFT JOIN acceso t53 ON t53.usuario_id = t0.id WHERE t0.uuid = ? LIMIT 1
Parameters:
[
  "88e0f545-01bc-48b4-97ee-a3408557aed8"
]
25.02 ms
(2.32%)
1
SELECT p0_.id AS id_0, p0_.precio AS precio_1, p0_.frecuencia AS frecuencia_2, p0_.enabled AS enabled_3, p0_.fecha_creacion AS fecha_creacion_4, p0_.bono_descuento AS bono_descuento_5, p0_.gestor_id AS gestor_id_6, p0_.estado_id AS estado_id_7 FROM plan p0_ INNER JOIN usuario u1_ ON p0_.gestor_id = u1_.id INNER JOIN estado_suscripcion e2_ ON p0_.estado_id = e2_.id WHERE u1_.id = ? AND e2_.nombre IN (?, ?)
Parameters:
[
  109
  "APROBADO"
  "PENDIENTE"
]
24.84 ms
(2.30%)
1
SELECT COUNT(r0_.id) AS sclr_0 FROM rifa r0_ INNER JOIN estado_rifa e1_ ON (e1_.id = r0_.estado_id) WHERE r0_.gestor_id = ? AND e1_.ref = ? AND r0_.fecha_fin < CURRENT_DATE
Parameters:
[
  109
  "APROBADA"
]
24.81 ms
(2.30%)
1
SELECT t0.id AS id_1, t0.nombre AS nombre_2, t0.descripcion AS descripcion_3, t0.locale_id AS locale_id_4, t0.plan_id AS plan_id_5 FROM plan_translation t0 WHERE t0.plan_id = ?
Parameters:
[
  80
]
24.79 ms
(2.30%)
1
SELECT t0.id AS id_1, t0.iso AS iso_2, t0.conversion_rate_to_usd AS conversion_rate_to_usd_3, t0.symbol AS symbol_4 FROM currency t0
Parameters:
[]
24.77 ms
(2.29%)
1
SELECT t0.id AS id_1, t0.nombre AS nombre_2, t0.dominio AS dominio_3, t0.orden AS orden_4, t0.visible AS visible_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.icono_id AS icono_id_8 FROM redes_sociales t0 WHERE t0.id = ?
Parameters:
[
  5
]
24.75 ms
(2.29%)
1
SELECT t0.id AS id_1, t0.orden AS orden_2, t0.visible AS visible_3, t0.perfil AS perfil_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.red_social_id AS red_social_id_7, t0.usuario_id AS usuario_id_8 FROM redes_sociales_usuario t0 WHERE t0.usuario_id = ?
Parameters:
[
  109
]
24.67 ms
(2.29%)
1
SELECT t0.id AS id_1, t0.nombre AS nombre_2, t0.ref AS ref_3, t0.created_at AS created_at_4 FROM estado_suscripcion t0 WHERE t0.id = ?
Parameters:
[
  2
]
24.53 ms
(2.27%)
1
SELECT v0_.id AS id_0, v0_.version AS version_1, v0_.created_at AS created_at_2, v0_.updated_at AS updated_at_3 FROM version_aplicacion v0_ ORDER BY v0_.id DESC LIMIT 1
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection
tenant doctrine.dbal.tenant_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
tenant doctrine.orm.tenant_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

default entity manager

Class Mapping errors
MultiTenancyBundle\Entity\Hostname No errors.
MultiTenancyBundle\Entity\Tenant No errors.

tenant entity manager

Class Mapping errors
App\Entity\General\Setting No errors.
App\Entity\Usuario\Usuario No errors.
App\Entity\General\TipoPersona No errors.
App\Entity\General\Archivo No errors.
App\Entity\General\Imagen No errors.
App\Entity\Solicitud\EstadoSolicitud No errors.
App\Entity\General\Ciudad No errors.
App\Entity\Blacklist\Acceso No errors.
App\Entity\Blacklist\EstadoAcceso No errors.
App\Entity\Usuario\TipoDocumento No errors.
App\Entity\Rifa\Rifa No errors.
App\Entity\Cart\Compra No errors.
App\Entity\Catalogue\Subcategoria No errors.
App\Entity\General\ImagenCliente No errors.
App\Entity\General\RedesSocialesUsuario No errors.
App\Entity\Usuario\UsuarioDescripcion No errors.
App\Entity\General\SolicitudEdicion No errors.
App\Entity\Rifa\Boleta No errors.
App\Entity\Usuario\DatosBancarios No errors.
App\Entity\Catalogue\Producto
  • The mappings App\Entity\Catalogue\Producto#currencies and App\Entity\Catalogue\ProductoCurrency#objeto are inconsistent with each other.
App\Entity\Solicitud\SolicitudPago No errors.
App\Entity\Movimiento\RetiroGestor No errors.
App\Entity\Usuario\UsuarioEdicion No errors.
App\Entity\Usuario\UsuarioComentarios No errors.
App\Entity\Usuario\GrupoUsuario No errors.
App\Entity\Blacklist\AccesoRifa No errors.
App\Entity\Blacklist\AccesoGestor No errors.
App\Entity\Usuario\Funcion No errors.
App\Entity\Usuario\UsuarioEventoLog No errors.
App\Entity\General\EventoSignificativo No errors.
App\Entity\Cart\Retencion No errors.
App\Entity\Suscripcion\Suscripcion
  • The association App\Entity\Suscripcion\Suscripcion#plan refers to the inverse side field App\Entity\Suscripcion\Plan#subscriptions which does not exist.
App\Entity\Suscripcion\Plan
  • The mappings App\Entity\Suscripcion\Plan#suscripciones and App\Entity\Suscripcion\Suscripcion#plan are inconsistent with each other.
App\Entity\General\MetodoPago No errors.
App\Entity\Afiliacion\LinkAfiliacion No errors.
App\Entity\Usuario\UsuarioOtp No errors.
App\Entity\Usuario\ApiToken No errors.
App\Entity\General\Currency No errors.
App\Entity\Rifa\RifaTranslation No errors.
App\Entity\General\Locale No errors.
App\Entity\Rifa\RifaCurrency No errors.
App\Entity\Rifa\EstadoRifa No errors.
App\Entity\General\RedesSociales No errors.
App\Entity\General\Galeria No errors.
App\Entity\General\ImagenTranslation No errors.
App\Entity\General\Seo No errors.
App\Entity\Suscripcion\EstadoSuscripcion No errors.
App\Entity\Suscripcion\PlanTranslation No errors.
App\Entity\General\SeoTranslation No errors.
App\Entity\General\Texto No errors.
App\Entity\General\TextoTranslation No errors.
App\Entity\Usuario\TipoDocumentoTraslation No errors.
App\Entity\General\TextoBig No errors.
App\Entity\General\TextoBigTranslation No errors.
App\Entity\General\ArchivoPublico No errors.
App\Entity\General\VersionAplicacion No errors.
App\Entity\General\VersionAplicacionTranslation No errors.