GET https://cogs.sirona-cs.com/requests

Query Metrics

131 Database Queries
10 Different statements
30.98 ms Query time
0 Invalid entities
169 Managed entities

Grouped Statements

Show all queries

Time Count Info
24.38 ms
(78.69%)
111
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.createdat AS createdat_3, t0.updatedat AS updatedat_4, t0.status AS status_5, t0.refclient AS refclient_6, t0.quantite AS quantite_7, t0.description AS description_8, t0.drawing AS drawing_9, t0.alttext AS alttext_10, t0.drawinga AS drawinga_11, t0.isactivesimul AS isactivesimul_12, t0.createur_id AS createur_id_13, t0.parent_id AS parent_id_14, t0.stdconfig_id AS stdconfig_id_15 FROM cotation t0 WHERE t0.parent_id = ?
Parameters:
[
  292
]
3.13 ms
(10.10%)
12
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.username AS username_5, t0.currency AS currency_6, t0.recent_requests AS recent_requests_7, t0.recent_materials AS recent_materials_8, t0.recent_routings AS recent_routings_9 FROM user t0 WHERE t0.id = ?
Parameters:
[
  14
]
0.80 ms
(2.58%)
1
SELECT c0_.id AS id_0, c0_.titre AS titre_1, c0_.createdat AS createdat_2, c0_.updatedat AS updatedat_3, c0_.status AS status_4, c0_.refclient AS refclient_5, c0_.quantite AS quantite_6, c0_.description AS description_7, c0_.drawing AS drawing_8, c0_.alttext AS alttext_9, c0_.drawinga AS drawinga_10, c0_.isactivesimul AS isactivesimul_11, c0_.createur_id AS createur_id_12, c0_.parent_id AS parent_id_13, c0_.stdconfig_id AS stdconfig_id_14 FROM cotation c0_ WHERE c0_.status IN ('INIT', 'DRAFT', 'OK', 'Autre') ORDER BY c0_.createdat DESC
Parameters:
[]
0.47 ms
(1.51%)
1
SELECT COUNT(c0_.id) AS sclr_0 FROM cotation_detail c0_ INNER JOIN cotation c1_ ON c0_.cotation_id = c1_.id INNER JOIN matiere_premiere m2_ ON c0_.matierepremiere_id = m2_.id WHERE c1_.createur_id = ? AND c0_.costbool = 1 AND (m2_.refinterne = ? OR m2_.bomunit <> c0_.bomunit)
Parameters:
[
  14
  "-"
]
0.46 ms
(1.47%)
1
SELECT c0_.cotation_id AS sclr_0, c1_.titre AS titre_1, c1_.createdat AS createdat_2, COUNT(c0_.id) AS sclr_3 FROM cotation_detail c0_ INNER JOIN cotation c1_ ON c0_.cotation_id = c1_.id INNER JOIN matiere_premiere m2_ ON c0_.matierepremiere_id = m2_.id WHERE c1_.createur_id = ? AND c0_.costbool = 1 AND (m2_.refinterne = ? OR m2_.bomunit <> c0_.bomunit) GROUP BY c0_.cotation_id ORDER BY c1_.createdat DESC LIMIT 10
Parameters:
[
  14
  "-"
]
0.42 ms
(1.36%)
1
SELECT c0_.cotation_id AS sclr_0, c1_.titre AS titre_1, c1_.createdat AS createdat_2, COUNT(c0_.id) AS sclr_3 FROM cotation_process c0_ INNER JOIN cotation c1_ ON c0_.cotation_id = c1_.id INNER JOIN process_prod p2_ ON c0_.processprod_id = p2_.id WHERE c1_.createur_id = ? AND c0_.costbool = 1 AND (p2_.refinterne = ? OR p2_.unit <> c0_.baseunit) GROUP BY c0_.cotation_id ORDER BY c1_.createdat DESC LIMIT 10
Parameters:
[
  14
  "-"
]
0.39 ms
(1.24%)
1
SELECT COUNT(c0_.id) AS sclr_0 FROM cotation_process c0_ INNER JOIN cotation c1_ ON c0_.cotation_id = c1_.id INNER JOIN process_prod p2_ ON c0_.processprod_id = p2_.id WHERE c1_.createur_id = ? AND c0_.costbool = 1 AND (p2_.refinterne = ? OR p2_.unit <> c0_.baseunit)
Parameters:
[
  14
  "-"
]
0.32 ms
(1.04%)
1
SELECT COUNT(c0_.id) AS sclr_0 FROM cotation_detail c0_ INNER JOIN cotation c1_ ON c0_.cotation_id = c1_.id WHERE c1_.createur_id = ? AND c0_.costbool = 1
Parameters:
[
  14
]
0.31 ms
(1.01%)
1
SELECT c0_.id AS id_0, c0_.status AS status_1 FROM cotation c0_ WHERE c0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  292
  287
  229
  114
  220
  127
  256
  265
  285
  280
]
0.31 ms
(1.00%)
1
SELECT COUNT(c0_.id) AS sclr_0 FROM cotation_process c0_ INNER JOIN cotation c1_ ON c0_.cotation_id = c1_.id WHERE c1_.createur_id = ? AND c0_.costbool = 1
Parameters:
[
  14
]

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\Cotation 154
App\Entity\User 12
App\Entity\StdConfiguration 3

Entities Mapping