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

Query Metrics

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

Grouped Statements

Show all queries

prestashop connection

Time Count Info
139.20 ms
(13.37%)
1
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:
[]
23.35 ms
(2.24%)
1
SELECT COUNT(*) as total
                         FROM xvba17_orders o
                         LEFT JOIN xvba17_customer c ON o.id_customer = c.id_customer
                         WHERE 1=1
Parameters:
[]
18.77 ms
(1.80%)
1
SELECT COUNT(*) as total 
                    FROM xvba17_orders o
                    LEFT JOIN xvba17_customer c ON o.id_customer = c.id_customer
                    WHERE 1=1
Parameters:
[]
12.70 ms
(1.22%)
1
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
  0
]

magento connection

Time Count Info
483.96 ms
(46.47%)
1
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:
[]
363.37 ms
(34.89%)
1
SELECT customer_email, grand_total
            FROM sales_order
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.