Query Metrics

3 Database Queries
3 Different statements
23.66 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

crux connection

Time Count Info
9.19 ms
(38.83%)
1
SELECT 
                COUNT(*) as total_ventas,
                COALESCE(SUM(bof_total), 0) as total_bruto
            FROM ven_boleta_fiscal
            WHERE bof_fecha >= ? AND bof_fecha <= ?
Parameters:
[
  "2026-07-24"
  "2026-07-25"
]
7.39 ms
(31.25%)
1
SELECT 
                bof_fecha as periodo,
                DATE_FORMAT(bof_fecha, '%d/%m') as label,
                COUNT(*) as cantidad_ventas,
                COALESCE(SUM(bof_total), 0) as total_bruto,
                COALESCE(SUM(bof_neto), 0) as total_neto,
                COALESCE(SUM(bof_iva), 0) as total_iva,
                COALESCE(AVG(bof_total), 0) as ticket_promedio,
                MIN(bof_total) as venta_minima,
                MAX(bof_total) as venta_maxima
            FROM ven_boleta_fiscal
            WHERE bof_fecha >= ? AND bof_fecha <= ?
            GROUP BY bof_fecha, DATE_FORMAT(bof_fecha, '%d/%m')
            ORDER BY periodo ASC
Parameters:
[
  "2026-07-25"
  "2026-07-26"
]
7.08 ms
(29.92%)
1
SELECT 
                COUNT(*) as total_ventas,
                COALESCE(SUM(bof_total), 0) as total_bruto,
                COALESCE(SUM(bof_neto), 0) as total_neto,
                COALESCE(SUM(bof_iva), 0) as total_iva,
                COALESCE(AVG(bof_total), 0) as ticket_promedio
            FROM ven_boleta_fiscal
            WHERE bof_fecha >= ? AND bof_fecha <= ?
Parameters:
[
  "2026-07-25"
  "2026-07-26"
]

Database Connections

Name Service
default doctrine.dbal.default_connection
crux doctrine.dbal.crux_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

Entities Mapping

No loaded entities.