http://preprod.abkingdom.com/product/

Query Metrics

7 Database Queries
7 Different statements
5.70 ms Query time
2 Invalid entities
0 Cache hits
0 Cache misses
0 Cache puts

Queries

Group similar statements

# Time Info
1 0.61 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.field_type AS field_type_4, t0.field_params AS field_params_5, t0.value AS value_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8 FROM parameters t0
Parameters:
[]
2 1.18 ms
SELECT u0_.id AS id_0, u0_.domain AS domain_1, u0_.ip AS ip_2, u0_.iprange AS iprange_3, u0_.comment AS comment_4, u0_.dateadded AS dateadded_5, u0_.hitsblocked AS hitsblocked_6 FROM users_ipbanned u0_ WHERE u0_.iprange IS NOT NULL AND u0_.iprange = LEFT(?, LENGTH(u0_.iprange)) OR u0_.ip = ?
Parameters:
[
  "172.18.0.2"
  "172.18.0.2"
]
3 0.76 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.nameen AS nameen_2, p0_.pos AS pos_3, p0_.hits AS hits_4, p0_.type AS type_5, p0_.parentcategid AS parentcategid_6 FROM prod_categs p0_ WHERE p0_.type = 0 AND p0_.parentcategid IS NULL ORDER BY p0_.pos ASC
Parameters:
[]
4 0.78 ms
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM prod_prods p0_ LEFT JOIN prod_brands p1_ ON p0_.brandid = p1_.id WHERE p0_.type = 0 AND p0_.status = 1 AND (p0_.name LIKE ? OR p0_.description LIKE ?)
Parameters:
[
  "%%"
  "%%"
]
5 0.68 ms
SELECT DISTINCT p0_.id AS id_0, p0_.created_at AS created_at_1 FROM prod_prods p0_ LEFT JOIN prod_brands p1_ ON p0_.brandid = p1_.id WHERE p0_.type = 0 AND p0_.status = 1 AND (p0_.name LIKE ? OR p0_.description LIKE ?) ORDER BY p0_.created_at DESC LIMIT 12
Parameters:
[
  "%%"
  "%%"
]
6 0.91 ms
SELECT p0_.id AS id_0, p0_.votevalue AS votevalue_1, p0_.created_at AS created_at_2, p0_.commentpro AS commentpro_3, p0_.commentcon AS commentcon_4, p0_.commentresume AS commentresume_5, p0_.prodid AS prodid_6, p0_.created_by AS created_by_7 FROM prod_prodsvotes p0_ INNER JOIN users u1_ ON p0_.created_by = u1_.id INNER JOIN users_data u2_ ON u1_.id = u2_.userid INNER JOIN prod_prods p3_ ON p0_.prodid = p3_.id INNER JOIN prod_brands p4_ ON p3_.brandid = p4_.id WHERE p0_.commentresume <> ? ORDER BY p0_.id DESC LIMIT 8
Parameters:
[
  ""
]
7 0.78 ms
SELECT u0_.id AS id_0, u0_.name AS name_1, u1_.id AS id_2, u1_.info_genderid AS info_genderid_3, u1_.pref_profile_displaysex AS pref_profile_displaysex_4, u1_.pref_profile_avatarpath AS pref_profile_avatarpath_5, u1_.userid AS userid_6, u1_.country_id AS country_id_7, u1_.info_provinceid AS info_provinceid_8, u1_.geodata_id AS geodata_id_9, u1_.pref_profile_backgroundpicid AS pref_profile_backgroundpicid_10 FROM users u0_ LEFT JOIN users_data u1_ ON u0_.id = u1_.userid WHERE (u0_.roles REGEXP ?) = 1 ORDER BY u0_.name ASC
Parameters:
[
  "ROLE_PRODUCT_ADMIN"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

0 Hits
0 Misses
0 Puts

Entities Mapping

Class Mapping errors
App\Entity\Parameter No errors.
App\Entity\UserIpBanned No errors.
App\Entity\ProductCategory No errors.
App\Entity\ProductBrand No errors.
App\Entity\ProductShop No errors.
App\Entity\ProductAttribute No errors.
App\Entity\ProductAttributeOption No errors.
App\Entity\Product No errors.
App\Entity\ProductVote
  • The mappings App\Entity\ProductVote#createdBy and App\Entity\User#productVotes are inconsistent with each other.
App\Entity\User
  • The association App\Entity\User#productVotes refers to the owning side field App\Entity\ProductVote#user which does not exist.