Query Metrics
27
Database Queries
14
Different statements
24.55 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
6.49 ms (26.45%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.barcode AS barcode_3, t0.product_key AS product_key_4, t0.sku AS sku_5, t0.vat AS vat_6, t0.kolicina AS kolicina_7, t0.weight AS weight_8, t0.price AS price_9, t0.price_pdv AS price_pdv_10, t0.price_nabavna AS price_nabavna_11, t0.jedinica_mere AS jedinica_mere_12, t0.price_discount AS price_discount_13, t0.percent_discount AS percent_discount_14, t0.price_delivery AS price_delivery_15, t0.days_delivery AS days_delivery_16, t0.options AS options_17, t0.delivery_desc AS delivery_desc_18, t0.description AS description_19, t0.meta_title AS meta_title_20, t0.meta_description AS meta_description_21, t0.meta_keywords AS meta_keywords_22, t0.is_suspended AS is_suspended_23, t0.is_shown AS is_shown_24, t0.is_outlet AS is_outlet_25, t0.is_out_of_stock AS is_out_of_stock_26, t0.is_out_of_stock_uspon AS is_out_of_stock_uspon_27, t0.is_out_of_stock_elementa AS is_out_of_stock_elementa_28, t0.is_out_of_stock_bb AS is_out_of_stock_bb_29, t0.is_out_of_stock_dsc AS is_out_of_stock_dsc_30, t0.is_out_of_stock_ewe AS is_out_of_stock_ewe_31, t0.is_out_of_stock3g AS is_out_of_stock3g_32, t0.is_out_of_stock_btm AS is_out_of_stock_btm_33, t0.is_out_of_stock_ct AS is_out_of_stock_ct_34, t0.is_out_of_stock_velteh AS is_out_of_stock_velteh_35, t0.is_new AS is_new_36, t0.is_discount AS is_discount_37, t0.is_super_product AS is_super_product_38, t0.created AS created_39, t0.updated AS updated_40, t0.factory_id AS factory_id_41, t0.vendor_id AS vendor_id_42, t0.edit_by_id AS edit_by_id_43, t0.created_by_id AS created_by_id_44, t0.main_image_id AS main_image_id_45, t0.connected_id AS connected_id_46, t0.category_id AS category_id_47, t0.choice_id AS choice_id_48 FROM product t0 WHERE t0.id = ?
Parameters:
[
"18521"
]
|
4.40 ms (17.93%) |
1 |
"COMMIT"
Parameters:
[] |
3.26 ms (13.29%) |
11 |
SELECT AVG(c0_.ocena) AS sclr_0 FROM comments c0_ WHERE c0_.status = ? AND c0_.ocena IS NOT NULL AND c0_.product_id = ?
Parameters:
[ 1 18521 ] |
2.61 ms (10.64%) |
1 |
UPDATE visit SET visit = ?, updated = ? WHERE id = ?
Parameters:
[ 1 "2024-09-21 06:28:30" 18521 ] |
1.77 ms (7.21%) |
1 |
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.sku AS sku_2, p0_.barcode AS barcode_3, p0_.product_key AS product_key_4, p0_.price_pdv AS price_pdv_5, p0_.price AS price_6, p0_.vat AS vat_7, p0_.is_out_of_stock AS is_out_of_stock_8, p0_.is_new AS is_new_9, p0_.is_discount AS is_discount_10, p0_.is_super_product AS is_super_product_11, p0_.is_outlet AS is_outlet_12, p0_.is_suspended AS is_suspended_13, c1_.title AS title_14, i2_.thumbnail_100x100 AS thumbnail_100x100_15, i2_.thumbnail_500x500 AS thumbnail_500x500_16 FROM product p0_ LEFT JOIN categories c1_ ON p0_.category_id = c1_.id LEFT JOIN images i2_ ON p0_.main_image_id = i2_.id WHERE p0_.category_id = ? AND p0_.is_suspended = ? AND p0_.is_out_of_stock = ? AND p0_.price_pdv > 0
Parameters:
[ 1438 0 0 ] |
1.42 ms (5.79%) |
1 |
SELECT t0.id AS id_1, t0.comment AS comment_2, t0.ocena AS ocena_3, t0.status AS status_4, t0.is_suspended AS is_suspended_5, t0.created AS created_6, t0.updated AS updated_7, t0.edit_by_id AS edit_by_id_8, t0.created_by_id AS created_by_id_9, t0.product_id AS product_id_10, t0.parent_id AS parent_id_11 FROM comments t0 WHERE t0.product_id = ? AND t0.status = ?
Parameters:
[ 18521 1 ] |
1.42 ms (5.76%) |
4 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.title2 AS title2_3, t0.title3 AS title3_4, t0.is_suspended AS is_suspended_5, t0.description AS description_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.created AS created_10, t0.updated AS updated_11, t0.edit_by_id AS edit_by_id_12, t0.parent_id AS parent_id_13, t0.choice_id AS choice_id_14 FROM categories t0 WHERE t0.id = ?
Parameters:
[
1438
]
|
0.82 ms (3.34%) |
1 |
SELECT COUNT(*) FROM comments t0 WHERE t0.product_id = ? AND t0.status = ?
Parameters:
[ 18521 1 ] |
0.61 ms (2.49%) |
1 |
SELECT t0.id AS id_1, t0.original AS original_2, t0.thumbnail_100x100 AS thumbnail_100x100_3, t0.thumbnail_500x500 AS thumbnail_500x500_4, t0.thumbnail_1024x768 AS thumbnail_1024x768_5, t0.created AS created_6, t0.updated AS updated_7, t0.product_id AS product_id_8, t0.banner_id AS banner_id_9 FROM images t0 WHERE t0.id = ?
Parameters:
[
44296
]
|
0.58 ms (2.37%) |
1 |
SELECT t0.id AS id_1, t0.visit AS visit_2, t0.created AS created_3, t0.updated AS updated_4, t0.product_id AS product_id_5 FROM visit t0 WHERE t0.product_id = ?
Parameters:
[
18521
]
|
0.38 ms (1.54%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.meta_title AS meta_title_4, t0.meta_description AS meta_description_5, t0.meta_keywords AS meta_keywords_6, t0.is_suspended AS is_suspended_7, t0.created AS created_8, t0.updated AS updated_9, t0.country_id AS country_id_10, t0.edit_by_id AS edit_by_id_11, t0.created_by_id AS created_by_id_12, t0.image_id AS image_id_13 FROM factory t0 WHERE t0.id = ?
Parameters:
[
468
]
|
0.34 ms (1.40%) |
1 |
SELECT t0.id AS id_1, t0.original AS original_2, t0.thumbnail_100x100 AS thumbnail_100x100_3, t0.thumbnail_500x500 AS thumbnail_500x500_4, t0.thumbnail_1024x768 AS thumbnail_1024x768_5, t0.created AS created_6, t0.updated AS updated_7, t0.product_id AS product_id_8, t0.banner_id AS banner_id_9 FROM images t0 WHERE t0.product_id = ?
Parameters:
[
18521
]
|
0.28 ms (1.14%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.value AS value_3, t0.created AS created_4, t0.updated AS updated_5, t0.product_id AS product_id_6 FROM attribute t0 WHERE t0.product_id = ?
Parameters:
[
18521
]
|
0.16 ms (0.64%) |
1 |
"START TRANSACTION"
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\Product | No errors. |
App\Entity\Factory | No errors. |
App\Entity\Client | No errors. |
App\Entity\Image | No errors. |
App\Entity\Category | No errors. |
App\Entity\Choice | No errors. |
App\Entity\Label | No errors. |
App\Entity\Comment | No errors. |
App\Entity\Pdf | No errors. |
App\Entity\Visit | No errors. |
App\Entity\Attribute | No errors. |
App\Entity\Sale | No errors. |
App\Entity\Lagproduct | No errors. |
App\Entity\User | No errors. |
App\Entity\City | No errors. |
App\Entity\Country | No errors. |
App\Entity\Banner | No errors. |
App\Entity\Lager | No errors. |
App\Entity\Order | No errors. |