Query Metrics

13 Database Queries
13 Different statements
49.28 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
18.35 ms
(37.23%)
1
select * from shopproductsstock where shopid = :shopid and productid = :productid and showhide = '0' order by id desc
Parameters:
[
  "shopid" => "8597665"
  "productid" => "400098936"
]
13.73 ms
(27.86%)
1
select * from orderreview where  productid = '400098936' and shopid = '8597665' and displayreview = '1' order by id desc
Parameters:
[]
2.99 ms
(6.06%)
1
select * from shop where shopid = '8597665'
Parameters:
[]
2.43 ms
(4.92%)
1
select * from orders
        JOIN orderproducts ON orders.orderid = orderproducts.orderid
        where orders.userid = '' and orders.establishmentid = '8597665' and orderproducts.productid = '400098936'
Parameters:
[]
1.89 ms
(3.83%)
1
select * from shopproductvariants where shopid = :shopid and productid = :productid
Parameters:
[
  "shopid" => "8597665"
  "productid" => "400098936"
]
1.62 ms
(3.28%)
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:
[
  "8597665"
  "400098936"
]
1.59 ms
(3.22%)
1
select * from serviceavailabletimes where shopid = '8597665' and productid = '400098936'
Parameters:
[]
1.29 ms
(2.62%)
1
select * from shopproductmoq   where  productid = '400098936' and shopid = '8597665' order by id desc
Parameters:
[]
1.23 ms
(2.50%)
1
select * from shopproductimages   where  productid = '400098936' and productimagevisibility = '0' order by id desc
Parameters:
[]
1.13 ms
(2.29%)
1
select * from shopproducts where shopid = '8597665' and shopproductid = '400098936'
Parameters:
[]
1.07 ms
(2.17%)
1
select * from proddiscountprice where shopid = '8597665' and productid = '400098936' order by id desc limit 0,1
Parameters:
[]
1.03 ms
(2.09%)
1
select * from productspecs where shopid = '8597665' and productid = '400098936'
Parameters:
[]
0.95 ms
(1.92%)
1
select * from cart where establishmentid = '8597665' and productid = '400098936' and userid = ''
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.