Query Metrics
70
Database Queries
20
Different statements
134.28 ms
Query time
0
Invalid entities
568
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
23.74 ms (17.68%) |
5 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.free_shipping AS free_shipping_3, t0.slug AS slug_4, t0.status AS status_5, t0.gtin AS gtin_6, t0.description AS description_7, t0.weight AS weight_8, t0.height AS height_9, t0.width AS width_10, t0.depth AS depth_11, t0.sku AS sku_12, t0.store_id AS store_id_13, t0.category_id AS category_id_14, t0.sub_category_id AS sub_category_id_15, t0.brand_id AS brand_id_16 FROM product t0
Parameters:
[] |
|
23.42 ms (17.44%) |
6 |
SELECT t0.id AS id_1, t0.path AS path_2, t0.highlight AS highlight_3, t0.image_kit_id AS image_kit_id_4, t0.product_id AS product_id_5 FROM product_images t0 WHERE t0.product_id = ?
Parameters:
[
452
]
|
|
16.99 ms (12.65%) |
20 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.name = ? AND t0.store_id = ? LIMIT 1
Parameters:
[ "google_analytics" 2 ] |
|
13.06 ms (9.73%) |
1 |
SELECT t0.id AS id_1, t0.product_limit AS product_limit_2, t0.sale_fee AS sale_fee_3, t0.price_monthly AS price_monthly_4, t0.title AS title_5, t0.integrations AS integrations_6 FROM plan t0 WHERE t0.id = ?
Parameters:
[
1
]
|
|
10.71 ms (7.97%) |
6 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.price AS price_3, t0.price_from AS price_from_4, t0.stock AS stock_5, t0.status AS status_6, t0.image AS image_7, t0.image_kit_id AS image_kit_id_8, t0.gtin AS gtin_9, t0.sku AS sku_10, t0.product_id AS product_id_11 FROM product_variation t0 WHERE t0.product_id = ?
Parameters:
[
452
]
|
|
10.17 ms (7.57%) |
4 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.store_id AS store_id_3 FROM attribute t0 WHERE t0.id = ?
Parameters:
[
34
]
|
|
8.56 ms (6.37%) |
8 |
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.image AS image_2, b0_.image_kit_id AS image_kit_id_3, b0_.url AS url_4, b0_.target AS target_5, b0_.type AS type_6, b0_.store_id AS store_id_7 FROM store s1_, banner b0_ WHERE b0_.type = ? AND b0_.store_id = ?
Parameters:
[ 2 2 ] |
|
6.43 ms (4.79%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.category_id AS category_id_4 FROM sub_category t0 WHERE t0.category_id = ? ORDER BY t0.name ASC
Parameters:
[
10
]
|
|
6.01 ms (4.48%) |
1 |
SELECT t0.id AS id_1, t0.title AS title_2, t0.url AS url_3, t0.page_body AS page_body_4, t0.store_id AS store_id_5 FROM page t0 WHERE t0.store_id = ?
Parameters:
[
2
]
|
|
3.60 ms (2.68%) |
2 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.free_shipping AS free_shipping_2, p0_.slug AS slug_3, p0_.status AS status_4, p0_.gtin AS gtin_5, p0_.description AS description_6, p0_.weight AS weight_7, p0_.height AS height_8, p0_.width AS width_9, p0_.depth AS depth_10, p0_.sku AS sku_11, p0_.store_id AS store_id_12, p0_.category_id AS category_id_13, p0_.sub_category_id AS sub_category_id_14, p0_.brand_id AS brand_id_15 FROM product p0_ INNER JOIN product_variation p1_ WHERE p1_.product_id = p0_.id AND p0_.store_id = ? AND p1_.stock > 0 AND p0_.status = ? GROUP BY p0_.id LIMIT 25
Parameters:
[ 2 1 ] |
|
3.38 ms (2.52%) |
2 |
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.image AS image_2, b0_.bottom_menu AS bottom_menu_3, b0_.store_id AS store_id_4 FROM brand b0_ WHERE b0_.bottom_menu = 1 AND b0_.store_id = ? ORDER BY b0_.name ASC
Parameters:
[
2
]
|
|
2.87 ms (2.13%) |
4 |
SELECT p0_.id AS id_0 FROM product p0_ WHERE p0_.status = ? AND p0_.store_id = ? LIMIT 1 OFFSET 49
Parameters:
[ 1 2 ] |
|
1.12 ms (0.84%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.featured AS featured_4, t0.store_id AS store_id_5 FROM category t0 WHERE t0.store_id = ? ORDER BY t0.name ASC
Parameters:
[
2
]
|
|
1.07 ms (0.79%) |
1 |
SELECT DISTINCT p0_.id AS id_0, p0_.name AS name_1, p0_.free_shipping AS free_shipping_2, p0_.slug AS slug_3, p0_.status AS status_4, p0_.gtin AS gtin_5, p0_.description AS description_6, p0_.weight AS weight_7, p0_.height AS height_8, p0_.width AS width_9, p0_.depth AS depth_10, p0_.sku AS sku_11, p0_.store_id AS store_id_12, p0_.category_id AS category_id_13, p0_.sub_category_id AS sub_category_id_14, p0_.brand_id AS brand_id_15 FROM product p0_ WHERE p0_.store_id = ? AND p0_.status = ? AND (p0_.category_id = ? OR p0_.sub_category_id IN (NULL)) LIMIT 40
Parameters:
[ 2 1 32 ] |
|
0.89 ms (0.66%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.free_shipping AS free_shipping_3, t0.slug AS slug_4, t0.status AS status_5, t0.gtin AS gtin_6, t0.description AS description_7, t0.weight AS weight_8, t0.height AS height_9, t0.width AS width_10, t0.depth AS depth_11, t0.sku AS sku_12, t0.store_id AS store_id_13, t0.category_id AS category_id_14, t0.sub_category_id AS sub_category_id_15, t0.brand_id AS brand_id_16 FROM product t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
"Caixa-com-14-pacotes-de-Pururuca-Semi-pronta-de-1Kg"
]
|
|
0.85 ms (0.63%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.cep AS cep_4, t0.creation_time AS creation_time_5, t0.description AS description_6, t0.status AS status_7, t0.logo AS logo_8, t0.favicon AS favicon_9, t0.shipping AS shipping_10, t0.payment_gateway AS payment_gateway_11, t0.free_shipping AS free_shipping_12, t0.phone AS phone_13, t0.address_full AS address_full_14, t0.public_email AS public_email_15, t0.cnpj AS cnpj_16, t0.ie AS ie_17, t0.color_one AS color_one_18, t0.w_frete_token AS w_frete_token_19, t0.plan_id AS plan_id_20 FROM store t0 WHERE t0.url = ? LIMIT 1
Parameters:
[
"loja.porkao.com.br"
]
|
|
0.51 ms (0.38%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.featured AS featured_4, t0.store_id AS store_id_5 FROM category t0 WHERE t0.store_id = ? AND t0.name = ? LIMIT 1
Parameters:
[ 2 "Semi-pronta" ] |
|
0.35 ms (0.26%) |
1 |
SELECT t0.id AS id_1, t0.value AS value_2, t0.product_id AS product_id_3, t0.product_variation_id AS product_variation_id_4, t0.attribute_id AS attribute_id_5 FROM product_attribute t0 WHERE t0.product_id = ?
Parameters:
[
452
]
|
|
0.32 ms (0.24%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3, t0.store_id AS store_id_4 FROM configuration t0 WHERE t0.store_id = ?
Parameters:
[
2
]
|
|
0.22 ms (0.17%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.category_id AS category_id_4 FROM sub_category t0 WHERE t0.category_id = ?
Parameters:
[
32
]
|
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.
Managed Entities
default entity manager
| Class | Amount of managed objects |
|---|---|
| App\Entity\Product | 432 |
| App\Entity\SubCategory | 57 |
| App\Entity\Category | 28 |
| App\Entity\Configuration | 11 |
| App\Entity\Banner | 7 |
| App\Entity\ProductImages | 7 |
| App\Entity\ProductVariation | 6 |
| App\Entity\Store | 5 |
| App\Entity\Brand | 4 |
| App\Entity\ProductAttribute | 4 |
| App\Entity\Attribute | 4 |
| App\Entity\Page | 2 |
| App\Entity\Plan | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Store | No errors. |
| App\Entity\Plan | No errors. |
| App\Entity\User | No errors. |
| App\Entity\Product | No errors. |
| App\Entity\Purchase | No errors. |
| App\Entity\Configuration | No errors. |
| App\Entity\StorePayment | No errors. |
| App\Entity\Attribute | No errors. |
| App\Entity\Category | No errors. |
| App\Entity\Banner | No errors. |
| App\Entity\Brand | No errors. |
| App\Entity\Page | No errors. |
| App\Entity\StoreFaq | No errors. |
| App\Entity\NewsLetter | No errors. |
| App\Entity\ExceptionLog | No errors. |
| App\Entity\StoreStatusLog | No errors. |
| App\Entity\Notification | No errors. |
| App\Entity\ProductVariation | No errors. |
| App\Entity\SubCategory | No errors. |
| App\Entity\ProductAttribute | No errors. |
| App\Entity\ProductImages | No errors. |
| App\Entity\PurchaseProduct | No errors. |