GET http://82.66.25.12:8081/best-deals?page=3

Query Metrics

99 Database Queries
5 Different statements
23.63 ms Query time
4 Invalid entities

Queries

Group similar statements

# Time Info
1 0.79 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.initialprice AS initialprice_4, t0.reduceprice AS reduceprice_5, t0.publicationdate AS publicationdate_6, t0.link AS link_7, t0.delivery AS delivery_8, t0.image_filename AS image_filename_9, t0.is_active AS is_active_10, t0.is_published AS is_published_11, t0.user_id AS user_id_12 FROM deal t0
Parameters:
[]
2 0.49 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  36
  "upvote"
]
3 0.32 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  36
  "downvote"
]
4 0.30 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  37
  "upvote"
]
5 0.27 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  37
  "downvote"
]
6 0.26 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  38
  "upvote"
]
7 0.26 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  38
  "downvote"
]
8 0.25 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  39
  "upvote"
]
9 0.25 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  39
  "downvote"
]
10 0.24 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  40
  "upvote"
]
11 0.23 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  40
  "downvote"
]
12 0.23 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  41
  "upvote"
]
13 0.23 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  41
  "downvote"
]
14 0.23 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  42
  "upvote"
]
15 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  42
  "downvote"
]
16 0.23 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  43
  "upvote"
]
17 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  43
  "downvote"
]
18 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  44
  "upvote"
]
19 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  44
  "downvote"
]
20 0.23 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  45
  "upvote"
]
21 0.23 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  45
  "downvote"
]
22 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  46
  "upvote"
]
23 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  46
  "downvote"
]
24 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  47
  "upvote"
]
25 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  47
  "downvote"
]
26 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  48
  "upvote"
]
27 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  48
  "downvote"
]
28 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  49
  "upvote"
]
29 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  49
  "downvote"
]
30 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  50
  "upvote"
]
31 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  50
  "downvote"
]
32 0.23 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  51
  "upvote"
]
33 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  51
  "downvote"
]
34 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  52
  "upvote"
]
35 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  52
  "downvote"
]
36 0.23 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  53
  "upvote"
]
37 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  53
  "downvote"
]
38 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  54
  "upvote"
]
39 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  54
  "downvote"
]
40 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  55
  "upvote"
]
41 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  55
  "downvote"
]
42 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  56
  "upvote"
]
43 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  56
  "downvote"
]
44 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  57
  "upvote"
]
45 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  57
  "downvote"
]
46 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  58
  "upvote"
]
47 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  58
  "downvote"
]
48 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  59
  "upvote"
]
49 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  59
  "downvote"
]
50 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  60
  "upvote"
]
51 0.24 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  60
  "downvote"
]
52 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  61
  "upvote"
]
53 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  61
  "downvote"
]
54 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  62
  "upvote"
]
55 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  62
  "downvote"
]
56 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  63
  "upvote"
]
57 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  63
  "downvote"
]
58 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  64
  "upvote"
]
59 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  64
  "downvote"
]
60 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  65
  "upvote"
]
61 0.20 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  65
  "downvote"
]
62 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  66
  "upvote"
]
63 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  66
  "downvote"
]
64 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  67
  "upvote"
]
65 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  67
  "downvote"
]
66 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  68
  "upvote"
]
67 0.22 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  68
  "downvote"
]
68 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  69
  "upvote"
]
69 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  69
  "downvote"
]
70 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  70
  "upvote"
]
71 0.21 ms
SELECT COUNT(*) FROM vote t0 WHERE t0.deal_id = ? AND t0.type_vote = ?
Parameters:
[
  70
  "downvote"
]
72 0.52 ms
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  66
]
73 0.30 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.inscription_time AS inscription_time_7, t0.username AS username_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  51
]
74 0.27 ms
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ?
Parameters:
[
  66
]
75 0.29 ms
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  37
]
76 0.24 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.inscription_time AS inscription_time_7, t0.username AS username_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  32
]
77 0.23 ms
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ?
Parameters:
[
  37
]
78 0.26 ms
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  40
]
79 0.26 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.inscription_time AS inscription_time_7, t0.username AS username_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  31
]
80 0.23 ms
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ?
Parameters:
[
  40
]
81 0.27 ms
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  41
]
82 0.23 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.inscription_time AS inscription_time_7, t0.username AS username_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  47
]
83 0.22 ms
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ?
Parameters:
[
  41
]
84 0.27 ms
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  43
]
85 0.21 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.inscription_time AS inscription_time_7, t0.username AS username_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  43
]
86 0.22 ms
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ?
Parameters:
[
  43
]
87 0.27 ms
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  48
]
88 0.21 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.inscription_time AS inscription_time_7, t0.username AS username_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  33
]
89 0.23 ms
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ?
Parameters:
[
  48
]
90 0.26 ms
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  67
]
91 0.22 ms
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ?
Parameters:
[
  67
]
92 0.26 ms
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  69
]
93 0.21 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.inscription_time AS inscription_time_7, t0.username AS username_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  38
]
94 0.22 ms
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ?
Parameters:
[
  69
]
95 0.26 ms
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  36
]
96 0.22 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.inscription_time AS inscription_time_7, t0.username AS username_8 FROM user t0 WHERE t0.id = ?
Parameters:
[
  44
]
97 0.21 ms
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ?
Parameters:
[
  36
]
98 0.24 ms
SELECT t0.id AS id_1, t0.name_category AS name_category_2, t0.categories_id AS categories_id_3 FROM category t0 INNER JOIN deal_category ON t0.id = deal_category.category_id WHERE deal_category.deal_id = ?
Parameters:
[
  49
]
99 0.21 ms
SELECT t0.id AS id_1, t0.content AS content_2, t0.comment_time AS comment_time_3, t0.user_id AS user_id_4, t0.deal_id AS deal_id_5, t0.parent_id AS parent_id_6 FROM COMMENT t0 WHERE t0.deal_id = ?
Parameters:
[
  49
]

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\Deal
  • The mappings App\Entity\Deal#user and App\Entity\User#deals are inconsistent with each other.
App\Entity\User
  • The association App\Entity\User#deals refers to the owning side field App\Entity\Deal#idUser which does not exist.
  • The association App\Entity\User#comments refers to the owning side field App\Entity\Comment#User which does not exist.
  • The association App\Entity\User#votes refers to the owning side field App\Entity\Vote#User which does not exist.
App\Entity\Comment
  • The mappings App\Entity\Comment#user and App\Entity\User#comments are inconsistent with each other.
App\Entity\Vote
  • The mappings App\Entity\Vote#user and App\Entity\User#votes are inconsistent with each other.
App\Entity\Category No errors.