Query Metrics
7
Database Queries
7
Different statements
382.69 ms
Query time
1
Invalid entities
Grouped Statements
default connection
tenant connection
Time▼ | Count | Info |
---|---|---|
265.69 ms (69.43%) |
1 |
SELECT p0_.id AS id_0, p0_.folio_numero AS folio_numero_1, r1_.id AS id_2 FROM producto p0_ INNER JOIN rifa r1_ ON p0_.rifa_id = r1_.id LEFT JOIN compra c2_ ON p0_.compra_id = c2_.id LEFT JOIN estado_pedido e3_ ON c2_.estado_id = e3_.id WHERE p0_.updated_at <= ? AND (p0_.compra_id IS NULL OR (c2_.id IS NOT NULL AND (c2_.estado_id IS NULL OR e3_.ref <> ?))) AND (r1_.alto_flujo IS NULL OR r1_.alto_flujo = 0)
Parameters:
[ "2024-11-24 09:40:08" "APROBADA" ] |
21.22 ms (5.55%) |
1 |
SELECT p0_.id AS id_0, p0_.folio_numero AS folio_numero_1, r1_.id AS id_2 FROM producto p0_ INNER JOIN rifa r1_ ON p0_.rifa_id = r1_.id LEFT JOIN compra c2_ ON p0_.compra_id = c2_.id LEFT JOIN estado_pedido e3_ ON c2_.estado_id = e3_.id WHERE p0_.updated_at <= ? AND (p0_.compra_id IS NULL OR (c2_.id IS NOT NULL AND (c2_.estado_id IS NULL OR e3_.ref <> ?))) AND r1_.alto_flujo = 1
Parameters:
[ "2024-11-24 09:55:08" "APROBADA" ] |
20.06 ms (5.24%) |
1 |
SELECT s0_.valor AS valor_0, s0_.llave AS llave_1 FROM setting s0_ ORDER BY s0_.id ASC
Parameters:
[] |
19.12 ms (5.00%) |
1 |
DELETE FROM producto WHERE folio_numero IN (?) AND rifa_id = ?
Parameters:
[ null 313 ] |
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\Catalogue\Producto |
|
App\Entity\Rifa\Rifa | No errors. |
App\Entity\Cart\Compra | No errors. |
App\Entity\Cart\EstadoPedido | No errors. |