GET https://p2m.dev/delta/orders?page=2&status=all

Query Metrics

6 Database Queries
6 Different statements
4806.85 ms Query time
0 Invalid entities

Queries

Group similar statements

prestashop connection

# Time Info
1 19.08 ms
SELECT COUNT(*) as total 
                    FROM xvba17_orders o
                    LEFT JOIN xvba17_customer c ON o.id_customer = c.id_customer
                    WHERE 1=1
Parameters:
[]
2 207.20 ms
SELECT o.id_order, c.email, o.total_paid
                     FROM xvba17_orders o
                     LEFT JOIN xvba17_customer c ON o.id_customer = c.id_customer
                     WHERE 1=1
Parameters:
[]
3 12.42 ms
SELECT 
                    o.id_order,
                    o.reference,
                    o.id_customer,
                    o.total_paid,
                    o.date_add,
                    os.name as order_status,
                    CONCAT(c.firstname, ' ', c.lastname) as customer_name,
                    c.email as customer_email
                FROM xvba17_orders o
                LEFT JOIN xvba17_order_state_lang os ON o.current_state = os.id_order_state AND os.id_lang = 1
                LEFT JOIN xvba17_customer c ON o.id_customer = c.id_customer
                WHERE 1=1 ORDER BY o.id_order DESC LIMIT ? OFFSET ?
Parameters:
[
  50
  50
]
4 18.87 ms
SELECT COUNT(*) as total
                         FROM xvba17_orders o
                         LEFT JOIN xvba17_customer c ON o.id_customer = c.id_customer
                         WHERE 1=1
Parameters:
[]

magento connection

# Time Info
1 2620.42 ms
SELECT customer_email, grand_total
            FROM sales_order
Parameters:
[]
2 1928.86 ms
SELECT 
                o.entity_id,
                o.increment_id,
                o.customer_email,
                o.customer_firstname,
                o.customer_lastname,
                o.grand_total,
                o.status,
                o.created_at
            FROM sales_order o
            ORDER BY o.entity_id DESC
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection
prestashop doctrine.dbal.prestashop_connection
magento doctrine.dbal.magento_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
prestashop doctrine.orm.prestashop_entity_manager
magento doctrine.orm.magento_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

default entity manager

No loaded entities.

prestashop entity manager

No loaded entities.

magento entity manager

No loaded entities.