Query Metrics

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

Grouped Statements

Show all queries

Time Count Info
5.81 ms
(20.21%)
1
select * from orderreview where  productid = '654073660' and shopid = '5998269' and displayreview = '1' order by id desc
Parameters:
[]
3.06 ms
(10.63%)
1
select * from cart where establishmentid = '5998269' and productid = '654073660' and userid = ''
Parameters:
[]
2.95 ms
(10.26%)
1
select * from shop where shopid = '5998269'
Parameters:
[]
2.28 ms
(7.93%)
1
select * from shopproductsstock where shopid = :shopid and productid = :productid and showhide = '0' order by id desc
Parameters:
[
  "shopid" => "5998269"
  "productid" => "654073660"
]
2.12 ms
(7.39%)
1
select * from shopproducts where shopid = '5998269' and shopproductid = '654073660'
Parameters:
[]
1.90 ms
(6.62%)
1
select * from shopproductvariants where shopid = :shopid and productid = :productid
Parameters:
[
  "shopid" => "5998269"
  "productid" => "654073660"
]
1.85 ms
(6.42%)
1
select * from orders
        JOIN orderproducts ON orders.orderid = orderproducts.orderid
        where orders.userid = '' and orders.establishmentid = '5998269' and orderproducts.productid = '654073660'
Parameters:
[]
1.56 ms
(5.43%)
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:
[
  "5998269"
  "654073660"
]
1.51 ms
(5.25%)
1
select * from serviceavailabletimes where shopid = '5998269' and productid = '654073660'
Parameters:
[]
1.36 ms
(4.73%)
1
select * from shopproductmoq   where  productid = '654073660' and shopid = '5998269' order by id desc
Parameters:
[]
1.25 ms
(4.36%)
1
select * from shopproductimages   where  productid = '654073660' and productimagevisibility = '0' order by id desc
Parameters:
[]
1.22 ms
(4.26%)
1
select * from proddiscountprice where shopid = '5998269' and productid = '654073660' order by id desc limit 0,1
Parameters:
[]
1.03 ms
(3.59%)
1
select * from productspecs where shopid = '5998269' and productid = '654073660'
Parameters:
[]
0.84 ms
(2.92%)
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
]

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.