Query Metrics
23
Database Queries
4
Different statements
4.20 ms
Query time
0
Invalid entities
61
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.65 ms |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.description AS description_2, p0_.price AS price_3, p0_.compare_at_price AS compare_at_price_4, p0_.stock AS stock_5, p0_.sku AS sku_6, p0_.slug AS slug_7, p0_.type AS type_8, p0_.images AS images_9, p0_.attributes AS attributes_10, p0_.is_active AS is_active_11, p0_.is_approved AS is_approved_12, p0_.created_at AS created_at_13, p0_.updated_at AS updated_at_14, p0_.approved_at AS approved_at_15, v1_.id AS id_16, v1_.store_name AS store_name_17, v1_.store_logo AS store_logo_18, v1_.description AS description_19, v1_.status AS status_20, v1_.commission_rate AS commission_rate_21, v1_.balance AS balance_22, v1_.created_at AS created_at_23, v1_.approved_at AS approved_at_24, v1_.bank_details AS bank_details_25, v1_.documents AS documents_26, v1_.settings AS settings_27, v1_.total_sales AS total_sales_28, v1_.total_orders AS total_orders_29, p0_.category_id AS category_id_30, p0_.vendor_id AS vendor_id_31, p0_.approved_by AS approved_by_32, v1_.user_id AS user_id_33 FROM products p0_ LEFT JOIN vendors v1_ ON p0_.vendor_id = v1_.id WHERE p0_.is_active = 1 AND p0_.is_approved = 1 ORDER BY p0_.created_at DESC LIMIT 20
Parameters:
[] |
| 2 | 0.21 ms |
SELECT COUNT(p0_.id) AS sclr_0 FROM products p0_ WHERE p0_.is_active = 1 AND p0_.is_approved = 1
Parameters:
[] |
| 3 | 0.21 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4, t0.sort_order AS sort_order_5, t0.is_active AS is_active_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.parent_id AS parent_id_9 FROM categories t0 WHERE t0.is_active = ? ORDER BY t0.sort_order ASC
Parameters:
[
1
]
|
| 4 | 0.23 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
44
]
|
| 5 | 0.16 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
43
]
|
| 6 | 0.19 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
40
]
|
| 7 | 0.17 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
1
]
|
| 8 | 0.15 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
10
]
|
| 9 | 0.15 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
8
]
|
| 10 | 0.19 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
34
]
|
| 11 | 0.15 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
32
]
|
| 12 | 0.15 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
6
]
|
| 13 | 0.14 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
23
]
|
| 14 | 0.14 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
12
]
|
| 15 | 0.14 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
14
]
|
| 16 | 0.14 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
7
]
|
| 17 | 0.13 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
41
]
|
| 18 | 0.13 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
13
]
|
| 19 | 0.13 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
4
]
|
| 20 | 0.13 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
3
]
|
| 21 | 0.13 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
19
]
|
| 22 | 0.14 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
37
]
|
| 23 | 0.24 ms |
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.comment AS comment_3, t0.is_verified AS is_verified_4, t0.created_at AS created_at_5, t0.product_id AS product_id_6, t0.user_id AS user_id_7 FROM product_reviews t0 WHERE t0.product_id = ?
Parameters:
[
17
]
|
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 | 20 |
| App\Entity\User | 14 |
| App\Entity\ProductReview | 14 |
| App\Entity\Category | 8 |
| App\Entity\Vendor | 5 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Product | No errors. |
| App\Entity\Vendor | No errors. |
| App\Entity\Category | No errors. |
| App\Entity\User | No errors. |
| App\Entity\ProductReview | No errors. |
| App\Entity\CartItem | No errors. |
| App\Entity\OrderItem | No errors. |
| App\Entity\VendorPayout | No errors. |