Query Metrics
11
Database Queries
11
Different statements
9.66 ms
Query time
4
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
1.51 ms (15.68%) |
1 |
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.categorie AS categorie_7, t0.trial_start_date AS trial_start_date_8, t0.trial_end_date AS trial_end_date_9, t0.user_license AS user_license_10, t0.quota_used AS quota_used_11, t0.quota_month AS quota_month_12, t0.digigo_email AS digigo_email_13, t14.id AS id_15, t14.status AS status_16, t14.activated_at AS activated_at_17, t14.amount_paid AS amount_paid_18, t14.payment_transaction_id AS payment_transaction_id_19, t14.payment_method AS payment_method_20, t14.payment_date AS payment_date_21, t14.expires_at AS expires_at_22, t14.created_at AS created_at_23, t14.updated_at AS updated_at_24, t14.user_id AS user_id_25, t26.id AS id_27, t26.signatures_included AS signatures_included_28, t26.signatures_remaining AS signatures_remaining_29, t26.signatures_used AS signatures_used_30, t26.signature_cost_per_unit AS signature_cost_per_unit_31, t26.last_reset_at AS last_reset_at_32, t26.next_reset_at AS next_reset_at_33, t26.created_at AS created_at_34, t26.updated_at AS updated_at_35, t26.user_id AS user_id_36 FROM user t0 LEFT JOIN facture_electronique_activation t14 ON t14.user_id = t0.id LEFT JOIN signature_counter t26 ON t26.user_id = t0.id WHERE t0.id = ?
Parameters:
[
12
]
|
|
1.26 ms (13.03%) |
1 |
SELECT t0.id AS id_1, t0.reference AS reference_2, t0.description AS description_3, t0.puht AS puht_4, t0.remise AS remise_5, t0.npuht AS npuht_6, t0.nb AS nb_7, t0.prixht AS prixht_8, t0.tva AS tva_9, t0.code_barre AS code_barre_10, t0.nature_stock AS nature_stock_11, t0.num_bl AS num_bl_12, t0.piece AS piece_13, t0.marque AS marque_14, t0.modele AS modele_15, t0.immatriculation AS immatriculation_16, t0.date_commande AS date_commande_17, t0.nom_fournisseur AS nom_fournisseur_18, t0.image_url AS image_url_19, t0.top_vente AS top_vente_20, t0.prix_vente AS prix_vente_21, t0.type AS type_22, t0.tva_rate AS tva_rate_23, t0.discount_rate AS discount_rate_24, t0.unite AS unite_25, t0.commission_rate AS commission_rate_26, t0.user_id AS user_id_27, t0.fournisseur_id AS fournisseur_id_28, t0.categorie_id AS categorie_id_29 FROM produit t0 WHERE t0.top_vente = ? AND t0.user_id = ? LIMIT 5
Parameters:
[ 1 12 ] |
|
1.22 ms (12.66%) |
1 |
SELECT p0_.id AS id_0, p0_.reference AS reference_1, p0_.description AS description_2, p0_.puht AS puht_3, p0_.remise AS remise_4, p0_.npuht AS npuht_5, p0_.nb AS nb_6, p0_.prixht AS prixht_7, p0_.tva AS tva_8, p0_.code_barre AS code_barre_9, p0_.nature_stock AS nature_stock_10, p0_.num_bl AS num_bl_11, p0_.piece AS piece_12, p0_.marque AS marque_13, p0_.modele AS modele_14, p0_.immatriculation AS immatriculation_15, p0_.date_commande AS date_commande_16, p0_.nom_fournisseur AS nom_fournisseur_17, p0_.image_url AS image_url_18, p0_.top_vente AS top_vente_19, p0_.prix_vente AS prix_vente_20, p0_.type AS type_21, p0_.tva_rate AS tva_rate_22, p0_.discount_rate AS discount_rate_23, p0_.unite AS unite_24, p0_.commission_rate AS commission_rate_25, p0_.user_id AS user_id_26, p0_.fournisseur_id AS fournisseur_id_27, p0_.categorie_id AS categorie_id_28 FROM produit p0_ WHERE p0_.user_id = ? ORDER BY p0_.description ASC
Parameters:
[
12
]
|
|
1.14 ms (11.77%) |
1 |
SELECT t0.id AS id_1, t0.nomentreprise AS nomentreprise_2, t0.valorisationentreprise AS valorisationentreprise_3, t0.adresseentreprise AS adresseentreprise_4, t0.codepostal AS codepostal_5, t0.ville AS ville_6, t0.telephone AS telephone_7, t0.mail AS mail_8, t0.siret AS siret_9, t0.devise AS devise_10, t0.droit_de_timbre AS droit_de_timbre_11, t0.transport AS transport_12, t0.logo AS logo_13, t0.use_tva_per_line AS use_tva_per_line_14, t0.use_discount_per_line AS use_discount_per_line_15, t0.default_tva_rate AS default_tva_rate_16, t0.default_discount_rate AS default_discount_rate_17, t0.caisse_commandes_en_attente AS caisse_commandes_en_attente_18, t0.caisse_mode_restaurant AS caisse_mode_restaurant_19, t0.caisse_gestion_tables AS caisse_gestion_tables_20, t0.caisse_ticket_cuisine AS caisse_ticket_cuisine_21, t0.caisse_demander_couverts AS caisse_demander_couverts_22, t0.user_id AS user_id_23 FROM entreprise t0 WHERE t0.user_id = ? LIMIT 1
Parameters:
[
12
]
|
|
0.83 ms (8.63%) |
1 |
SELECT c0_.id AS id_0, c0_.raisonsociale AS raisonsociale_1, c0_.siret AS siret_2, c0_.siteweb AS siteweb_3, c0_.telephone AS telephone_4, c0_.tva AS tva_5, c0_.civilite AS civilite_6, c0_.nom AS nom_7, c0_.prenom AS prenom_8, c0_.telephonecontact AS telephonecontact_9, c0_.mail AS mail_10, c0_.adresse AS adresse_11, c0_.complementadresse AS complementadresse_12, c0_.ville AS ville_13, c0_.cp AS cp_14, c0_.pays AS pays_15, c0_.creeespaceclient AS creeespaceclient_16, c0_.user_id AS user_id_17 FROM client c0_ WHERE c0_.user_id = ? ORDER BY c0_.nom ASC
Parameters:
[
12
]
|
|
0.78 ms (8.09%) |
1 |
SELECT c0_.id AS id_0, c0_.nom AS nom_1, c0_.icone AS icone_2, c0_.top_vente AS top_vente_3, c0_.user_id AS user_id_4 FROM categories c0_
Parameters:
[] |
|
0.65 ms (6.70%) |
1 |
SELECT c0_.id AS id_0, c0_.nom AS nom_1, c0_.icone AS icone_2, c0_.top_vente AS top_vente_3, c0_.user_id AS user_id_4 FROM categories c0_ INNER JOIN produit p1_ ON c0_.id = p1_.categorie_id WHERE c0_.user_id = ? GROUP BY c0_.id ORDER BY c0_.nom ASC
Parameters:
[
12
]
|
|
0.63 ms (6.49%) |
1 |
SELECT t0.id AS id_1, t0.statut AS statut_2, t0.type_commande AS type_commande_3, t0.nb_couverts AS nb_couverts_4, t0.libelle AS libelle_5, t0.note AS note_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.closed_at AS closed_at_9, t0.user_id AS user_id_10, t0.entreprise_id AS entreprise_id_11, t0.table_id AS table_id_12, t0.client_id AS client_id_13, t0.cree_par_user_id AS cree_par_user_id_14, t0.cree_par_salarie_id AS cree_par_salarie_id_15, t0.devis_id AS devis_id_16 FROM commande_caisse t0 WHERE t0.id = ?
Parameters:
[
11
]
|
|
0.60 ms (6.25%) |
1 |
SELECT c0_.id AS id_0, c0_.date_ouverture AS date_ouverture_1, c0_.date_cloture AS date_cloture_2, c0_.fond_ouverture AS fond_ouverture_3, c0_.montant_theorique AS montant_theorique_4, c0_.montant_compte AS montant_compte_5, c0_.ecart AS ecart_6, c0_.statut AS statut_7, c0_.commentaire AS commentaire_8, c0_.entreprise_id AS entreprise_id_9, c0_.ouvert_par_user_id AS ouvert_par_user_id_10, c0_.ouvert_par_salarie_id AS ouvert_par_salarie_id_11, c0_.cloture_par_user_id AS cloture_par_user_id_12, c0_.cloture_par_salarie_id AS cloture_par_salarie_id_13 FROM cloture_caisse c0_ WHERE c0_.entreprise_id = ? AND c0_.statut = ? ORDER BY c0_.date_ouverture DESC LIMIT 1
Parameters:
[ 2 "ouverte" ] |
|
0.54 ms (5.61%) |
1 |
SELECT COUNT(c0_.id) AS sclr_0 FROM commande_caisse c0_ WHERE c0_.user_id = ? AND c0_.statut = ? AND c0_.table_id IS NULL
Parameters:
[ 12 "en_attente" ] |
|
0.49 ms (5.08%) |
1 |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.quantite AS quantite_3, t0.prix_unitaire_ht AS prix_unitaire_ht_4, t0.taux_tva AS taux_tva_5, t0.remise_manuelle AS remise_manuelle_6, t0.remise_produit AS remise_produit_7, t0.note AS note_8, t0.quantite_envoyee_cuisine AS quantite_envoyee_cuisine_9, t0.created_at AS created_at_10, t0.commande_id AS commande_id_11, t0.produit_id AS produit_id_12 FROM ligne_commande_caisse t0 WHERE t0.commande_id = ? ORDER BY t0.id ASC
Parameters:
[
11
]
|
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\User |
|
| App\Entity\FactureElectroniqueActivation | No errors. |
| App\Entity\SignatureCounter | No errors. |
| App\Entity\Entreprise | No errors. |
| App\Entity\Commentaire | No errors. |
| App\Entity\Devis |
|
| App\Entity\Produit | No errors. |
| App\Entity\UserPage | No errors. |
| App\Entity\Entrees |
|
| App\Entity\Fournisseur | No errors. |
| App\Entity\Prospect | No errors. |
| App\Entity\RetourFournisseur | No errors. |
| App\Entity\FactureFournisseur | No errors. |
| App\Entity\RetourClient | No errors. |
| App\Entity\PaiementFournisseur | No errors. |
| App\Entity\Ticket | No errors. |
| App\Entity\TicketReply | No errors. |
| App\Entity\Certificate | No errors. |
| App\Entity\TTNConfiguration | No errors. |
| App\Entity\FactureElectroniqueFacture | No errors. |
| App\Entity\CommandeCaisse | No errors. |
| App\Entity\Categorie | No errors. |
| App\Entity\Client |
|
| App\Entity\ClotureCaisse | No errors. |
| App\Entity\Salarie | No errors. |
| App\Entity\TableRestaurant | No errors. |
| App\Entity\LigneCommandeCaisse | No errors. |
| App\Entity\Sorties | No errors. |
| App\Entity\Stock | No errors. |
| App\Entity\DevisLine | No errors. |