POST https://audit.northco.cc/api/start-audit

Query Metrics

38 Database Queries
11 Different statements
54.63 ms Query time
0 Invalid entities
269 Managed entities

Grouped Statements

Show all queries

Time Count Info
17.84 ms
(32.66%)
5
SELECT t0.id AS id_1, t0.trade_name AS trade_name_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.active AS active_5 FROM product_direc_competition t0 INNER JOIN products_competitors ON t0.id = products_competitors.product_direc_competition_id WHERE products_competitors.product_id = ?
Parameters:
[
  1
]
8.13 ms
(14.87%)
9
SELECT t0.id AS id_1, t0.answer AS answer_2, t0.type AS type_3, t0.position AS position_4, t0.point AS point_5, t0.value AS value_6, t0.required_id AS required_id_7, t0.calculate_id AS calculate_id_8, t0.calculated AS calculated_9, t0.active AS active_10, t0.required AS required_11, t0.thumb AS thumb_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.indicator_id AS indicator_id_15 FROM pdv_indicator_answer t0 WHERE t0.indicator_id = ?
Parameters:
[
  1
]
5.90 ms
(10.80%)
5
SELECT t0.id AS id_1, t0.position AS position_2, t0.text AS text_3, t0.description AS description_4, t0.type AS type_5, t0.answer_type AS answer_type_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.required_id AS required_id_9, t0.required AS required_10, t0.active AS active_11, t0.replicable AS replicable_12 FROM product_indicator t0 INNER JOIN products_indicators ON t0.id = products_indicators.product_indicator_id WHERE products_indicators.product_id = ? ORDER BY t0.position ASC
Parameters:
[
  1
]
4.46 ms
(8.16%)
4
SELECT t0.id AS id_1, t0.name AS name_2, t0.reseller AS reseller_3, t0.thumb AS thumb_4, t0.thumb_link AS thumb_link_5, t0.sku AS sku_6, t0.ean AS ean_7, t0.value AS value_8, t0.active AS active_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11 FROM product_mix t0 INNER JOIN products_mixes ON t0.id = products_mixes.product_mix_id WHERE products_mixes.product_id = ? ORDER BY t0.name ASC
Parameters:
[
  1
]
3.52 ms
(6.45%)
2
SELECT t0.id AS id_1, t0.position AS position_2, t0.text AS text_3, t0.description AS description_4, t0.type AS type_5, t0.answer_type AS answer_type_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.required_id AS required_id_9, t0.required AS required_10, t0.replicable AS replicable_11, t0.active AS active_12 FROM product_direc_competition_indicator t0 INNER JOIN product_direc_competion_indicators ON t0.id = product_direc_competion_indicators.product_direc_competition_indicator_id WHERE product_direc_competion_indicators.product_direc_competition_id = ? ORDER BY t0.position ASC
Parameters:
[
  1
]
3.27 ms
(5.98%)
1
SELECT t0.id AS id_1, t0.position AS position_2, t0.text AS text_3, t0.description AS description_4, t0.type AS type_5, t0.answer_type AS answer_type_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.required_id AS required_id_9, t0.required AS required_10, t0.replicable AS replicable_11, t0.active AS active_12 FROM pdv_indicator t0 INNER JOIN pdv_indicators ON t0.id = pdv_indicators.pdv_indicator_id WHERE pdv_indicators.pdv_id = ? ORDER BY t0.position ASC
Parameters:
[
  12
]
2.91 ms
(5.33%)
6
SELECT t0.id AS id_1, t0.answer AS answer_2, t0.type AS type_3, t0.position AS position_4, t0.point AS point_5, t0.value AS value_6, t0.required_id AS required_id_7, t0.calculate_id AS calculate_id_8, t0.calculated AS calculated_9, t0.active AS active_10, t0.required AS required_11, t0.thumb AS thumb_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.indicator_id AS indicator_id_15 FROM product_indicator_answer t0 WHERE t0.indicator_id = ?
Parameters:
[
  1
]
2.55 ms
(4.67%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.type AS type_3, t0.retail AS retail_4, t0.distributor AS distributor_5, t0.cnpj AS cnpj_6, t0.static_map AS static_map_7, t0.address AS address_8, t0.number AS number_9, t0.zip_code AS zip_code_10, t0.neighborhood AS neighborhood_11, t0.city AS city_12, t0.state AS state_13, t0.country AS country_14, t0.lat AS lat_15, t0.lng AS lng_16, t0.created_at AS created_at_17, t0.updated_at AS updated_at_18, t0.active AS active_19, t0.client_id AS client_id_20 FROM pdv t0 WHERE t0.id = ?
Parameters:
[
  "12"
]
2.48 ms
(4.54%)
3
SELECT t0.id AS id_1, t0.answer AS answer_2, t0.type AS type_3, t0.position AS position_4, t0.point AS point_5, t0.value AS value_6, t0.required_id AS required_id_7, t0.calculate_id AS calculate_id_8, t0.calculated AS calculated_9, t0.active AS active_10, t0.required AS required_11, t0.thumb AS thumb_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.indicator_id AS indicator_id_15 FROM product_direc_competition_indicator_answer t0 WHERE t0.indicator_id = ?
Parameters:
[
  1
]
2.38 ms
(4.36%)
1
SELECT t0.id AS id_1, t0.position AS position_2, t0.name AS name_3, t0.sku AS sku_4, t0.barcode AS barcode_5, t0.qrcode AS qrcode_6, t0.thumb AS thumb_7, t0.description AS description_8, t0.type AS type_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11, t0.active AS active_12 FROM product t0 INNER JOIN pdv_products ON t0.id = pdv_products.product_id WHERE pdv_products.pdv_id = ? ORDER BY t0.position ASC
Parameters:
[
  12
]
1.19 ms
(2.17%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.email AS email_3, t0.cpf AS cpf_4, t0.avatar AS avatar_5, t0.token AS token_6, t0.firebase_token AS firebase_token_7, t0.os AS os_8, t0.initial AS initial_9, t0.active AS active_10, t0.can_register AS can_register_11, t0.did_register AS did_register_12, t0.salt_pass AS salt_pass_13, t0.salt_pass_expires_at AS salt_pass_expires_at_14, t0.token_expire_at AS token_expire_at_15, t0.firebase_expire_at AS firebase_expire_at_16, t0.created_at AS created_at_17, t0.updated_at AS updated_at_18, t0.last_login AS last_login_19, t0.roles AS roles_20, t0.password AS password_21 FROM user t0 WHERE t0.token = ? LIMIT 1
Parameters:
[
  "086325a2c39dc31b8630bdfccc56e623"
]

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\ProductMix 190
App\Entity\ProductIndicatorAnswer 25
App\Entity\PdvIndicatorAnswer 13
App\Entity\ProductDirecCompetitionIndicatorAnswer 10
App\Entity\PdvIndicator 9
App\Entity\ProductIndicator 9
App\Entity\Product 5
App\Entity\ProductDirecCompetitionIndicator 3
App\Entity\ProductDirecCompetition 2
App\Entity\User 1
App\Entity\Pdv 1
App\Entity\Client 1