Query Metrics

14 Database Queries
14 Different statements
19.97 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
2.23 ms
(11.17%)
1
select * from shopproductmoq   where  productid = '409967863' and shopid = '5201476' order by id desc
Parameters:
[]
2.11 ms
(10.56%)
1
select * from proddiscountprice where shopid = '5201476' and productid = '409967863' order by id desc limit 0,1
Parameters:
[]
2.06 ms
(10.32%)
1
select * from orders
        JOIN orderproducts ON orders.orderid = orderproducts.orderid
        where orders.userid = '' and orders.establishmentid = '5201476' and orderproducts.productid = '409967863'
Parameters:
[]
2.00 ms
(10.03%)
1
select * from shopproductimages   where  productid = '409967863' and productimagevisibility = '0' order by id desc
Parameters:
[]
1.67 ms
(8.37%)
1
select * from serviceavailabletimes where shopid = '5201476' and productid = '409967863'
Parameters:
[]
1.52 ms
(7.61%)
1
select * from shop where shopid = '5201476'
Parameters:
[]
1.50 ms
(7.50%)
1
select * from orderreview where  productid = '409967863' and shopid = '5201476' and displayreview = '1' order by id desc
Parameters:
[]
1.42 ms
(7.08%)
1
select * from cart where establishmentid = '5201476' and productid = '409967863' and userid = ''
Parameters:
[]
1.29 ms
(6.45%)
1
select * from productspecs where shopid = '5201476' and productid = '409967863'
Parameters:
[]
1.10 ms
(5.51%)
1
select * from shopproductsstock where shopid = :shopid and productid = :productid and showhide = '0' order by id desc
Parameters:
[
  "shopid" => "5201476"
  "productid" => "409967863"
]
1.06 ms
(5.29%)
1
select * from shopproductvariants where shopid = :shopid and productid = :productid
Parameters:
[
  "shopid" => "5201476"
  "productid" => "409967863"
]
0.77 ms
(3.87%)
1
SELECT p0_.id AS id_0, p0_.shopid AS shopid_1, p0_.productid AS productid_2, p0_.productprice AS productprice_3, p0_.markasoffer AS markasoffer_4, p0_.addedtime AS addedtime_5 FROM prodproductprice p0_ WHERE p0_.shopid = ? AND p0_.productid = ? ORDER BY p0_.id DESC LIMIT 1
Parameters:
[
  "5201476"
  "409967863"
]
0.75 ms
(3.77%)
1
SELECT c0_.id AS id_0, c0_.userid AS userid_1, c0_.cartid AS cartid_2, c0_.establishmentid AS establishmentid_3, c0_.productid AS productid_4, c0_.productvariantid AS productvariantid_5, c0_.productname AS productname_6, c0_.productcartprice AS productcartprice_7, c0_.quantity AS quantity_8, c0_.engravetext AS engravetext_9, c0_.addedtime AS addedtime_10 FROM cart c0_ WHERE c0_.userid = ? GROUP BY c0_.establishmentid
Parameters:
[
  null
]
0.49 ms
(2.48%)
1
select * from shopproducts where shopid = '5201476' and shopproductid = '409967863'
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\Prodproductprice No errors.
App\Entity\Cart No errors.