https://ipapd.progresstn.com/ar/

Query Metrics

45 Database Queries
22 Different statements
24.85 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
9.64 ms
(38.79%)
24
SELECT c.id, c.nom_fr, c.nom_ar FROM commune c
                INNER JOIN gouvernorat gov ON gov.id = c.gouvernorat_id 
                WHERE gov.id = :idGov ORDER BY c.nom_fr ASC
Parameters:
[
  "idGov" => 12
]
2.36 ms
(9.49%)
1
SELECT com.nom_fr as nom_fr, com.id as id_com, com.nom_ar as nom_ar,gov.nom_fr as nom_fr_gov, gov.nom_ar as nom_ar_gov 
                FROM gouvernorat gov INNER JOIN commune com on gov.id = com.gouvernorat_id 
                WHERE gov.code = :codegGov
Parameters:
[
  "codegGov" => "tn-tu"
]
2.34 ms
(9.40%)
1
SELECT count(p.id) as nbr, t.nom_fr, t.nom_ar, t.id as idType from projet p RIGHT join type_projet t on p.type_projet_id = t.id GROUP BY t.id
Parameters:
[]
1.82 ms
(7.31%)
1
SELECT c0_.id AS id_0, c0_.nom_fr AS nom_fr_1, c0_.nom_ar AS nom_ar_2, c0_.nom_en AS nom_en_3, c0_.president_fr AS president_fr_4, c0_.president_ar AS president_ar_5, c0_.secretaire_generale_ar AS secretaire_generale_ar_6, c0_.secretaire_generale_fr AS secretaire_generale_fr_7, c0_.description_fr AS description_fr_8, c0_.description_ar AS description_ar_9, c0_.longitude AS longitude_10, c0_.latitude AS latitude_11, c0_.date_creation AS date_creation_12, c0_.date_update AS date_update_13, c0_.logo AS logo_14, c0_.image_pub AS image_pub_15, c0_.superficie AS superficie_16, c0_.nbr_habitant AS nbr_habitant_17, c0_.email_commune AS email_commune_18, c0_.tel_commune AS tel_commune_19, c0_.fax_commune AS fax_commune_20, c0_.url_commune AS url_commune_21, c0_.adresse_commune_ar AS adresse_commune_ar_22, c0_.adresse_commune_fr AS adresse_commune_fr_23, c0_.page_fb AS page_fb_24, c0_.nb_sieges_conseil AS nb_sieges_conseil_25, c0_.lib_liste_election_ar AS lib_liste_election_ar_26, c0_.lib_liste_election_fr AS lib_liste_election_fr_27, c0_.id_domaine AS id_domaine_28, c0_.gouvernorat_id AS gouvernorat_id_29 FROM commune c0_
Parameters:
[]
1.08 ms
(4.34%)
1
SELECT id, code, nom_fr, nom_ar FROM gouvernorat ORDER BY nom_fr ASC
Parameters:
[]
0.83 ms
(3.36%)
1
SELECT t0.id AS id_1, t0.nom_fr AS nom_fr_2, t0.nom_ar AS nom_ar_3, t0.description_fr AS description_fr_4, t0.description_ar AS description_ar_5, t0.date_debut AS date_debut_6, t0.date_fin AS date_fin_7, t0.budget_devise AS budget_devise_8, t0.budget_tnd AS budget_tnd_9, t0.perc_avancement AS perc_avancement_10, t0.image_ala_une AS image_ala_une_11, t0.is_ala_une AS is_ala_une_12, t0.is_projet_national AS is_projet_national_13, t0.etat AS etat_14, t0.mode_projet AS mode_projet_15, t0.created_at AS created_at_16, t0.updated_at AS updated_at_17, t0.devise_id AS devise_id_18, t0.status_id AS status_id_19, t0.mod_execution_id AS mod_execution_id_20, t0.sous_secteur_id AS sous_secteur_id_21, t0.sous_domaine_id AS sous_domaine_id_22, t0.user_id AS user_id_23, t0.type_projet_id AS type_projet_id_24 FROM projet t0 WHERE t0.is_ala_une = ? ORDER BY t0.id DESC LIMIT 5
Parameters:
[
  1
]
0.60 ms
(2.43%)
1
SELECT t0.id AS id_1, t0.nom_fr AS nom_fr_2, t0.nom_ar AS nom_ar_3, t0.description_fr AS description_fr_4, t0.description_ar AS description_ar_5, t0.logo AS logo_6, t0.adresse_fr AS adresse_fr_7, t0.adresse_ar AS adresse_ar_8, t0.tel AS tel_9, t0.email AS email_10, t0.site_web AS site_web_11 FROM partenaire t0 ORDER BY t0.id DESC LIMIT 20
Parameters:
[]
0.52 ms
(2.08%)
1
SELECT t0.id AS id_1, t0.nom_fr AS nom_fr_2, t0.nom_ar AS nom_ar_3, t0.etat AS etat_4 FROM status t0 WHERE t0.id = ?
Parameters:
[
  2
]
0.48 ms
(1.93%)
1
SELECT count(p.id) as nbr, st.nom_fr as nom_fr, st.nom_ar as nom_ar  
                FROM projet p 
                INNER JOIN status st ON p.status_id = st.id 
                WHERE (p.etat = 1) 
                GROUP BY st.id
Parameters:
[]
0.47 ms
(1.89%)
1
SELECT count(p.id) as nbr, part.nom_fr as nom_fr, part.nom_ar as nom_ar  
                FROM projet p 
                INNER JOIN partenaire part WHERE (p.etat = 1)
Parameters:
[]
0.47 ms
(1.88%)
1
SELECT e0_.id AS id_0, e0_.nom_fr AS nom_fr_1, e0_.nom_ar AS nom_ar_2, e0_.etat AS etat_3 FROM env_intervention e0_
Parameters:
[]
0.46 ms
(1.87%)
1
SELECT t0.id AS id_1, t0.nom_fr AS nom_fr_2, t0.nom_ar AS nom_ar_3, t0.nom_en AS nom_en_4, t0.president_fr AS president_fr_5, t0.president_ar AS president_ar_6, t0.secretaire_generale_ar AS secretaire_generale_ar_7, t0.secretaire_generale_fr AS secretaire_generale_fr_8, t0.description_fr AS description_fr_9, t0.description_ar AS description_ar_10, t0.longitude AS longitude_11, t0.latitude AS latitude_12, t0.date_creation AS date_creation_13, t0.date_update AS date_update_14, t0.logo AS logo_15, t0.image_pub AS image_pub_16, t0.superficie AS superficie_17, t0.nbr_habitant AS nbr_habitant_18, t0.email_commune AS email_commune_19, t0.tel_commune AS tel_commune_20, t0.fax_commune AS fax_commune_21, t0.url_commune AS url_commune_22, t0.adresse_commune_ar AS adresse_commune_ar_23, t0.adresse_commune_fr AS adresse_commune_fr_24, t0.page_fb AS page_fb_25, t0.nb_sieges_conseil AS nb_sieges_conseil_26, t0.lib_liste_election_ar AS lib_liste_election_ar_27, t0.lib_liste_election_fr AS lib_liste_election_fr_28, t0.id_domaine AS id_domaine_29, t0.gouvernorat_id AS gouvernorat_id_30 FROM commune t0 INNER JOIN projet_commune ON t0.id = projet_commune.commune_id WHERE projet_commune.projet_id = ?
Parameters:
[
  59
]
0.45 ms
(1.82%)
1
SELECT count(p.id) as nbr, env.nom_fr as nom_fr, env.nom_ar as nom_ar  
                FROM projet p 
                INNER JOIN env_intervention env  WHERE (p.etat = 1) 
                GROUP BY env.id
Parameters:
[]
0.43 ms
(1.71%)
1
SELECT p0_.id AS id_0, p0_.nom_fr AS nom_fr_1, p0_.nom_ar AS nom_ar_2, p0_.description_fr AS description_fr_3, p0_.description_ar AS description_ar_4, p0_.logo AS logo_5, p0_.adresse_fr AS adresse_fr_6, p0_.adresse_ar AS adresse_ar_7, p0_.tel AS tel_8, p0_.email AS email_9, p0_.site_web AS site_web_10 FROM partenaire p0_
Parameters:
[]
0.41 ms
(1.66%)
1
SELECT p0_.id AS id_0, p0_.nom_fr AS nom_fr_1, p0_.nom_ar AS nom_ar_2, p0_.description_fr AS description_fr_3, p0_.description_ar AS description_ar_4, p0_.budget_tnd AS budget_tnd_5, p0_.budget_devise AS budget_devise_6, p0_.date_debut AS date_debut_7, p0_.date_fin AS date_fin_8, p0_.partenaire_id_id AS partenaire_id_id_9, p0_.devise_id AS devise_id_10 FROM programme p0_
Parameters:
[]
0.39 ms
(1.57%)
1
SELECT g0_.id AS id_0, g0_.id_district AS id_district_1, g0_.id_region AS id_region_2, g0_.code AS code_3, g0_.nom_fr AS nom_fr_4, g0_.nom_ar AS nom_ar_5, g0_.nom_en AS nom_en_6, g0_.longitude AS longitude_7, g0_.latitude AS latitude_8, g0_.date_creation AS date_creation_9, g0_.logo AS logo_10 FROM gouvernorat g0_ ORDER BY g0_.nom_fr ASC
Parameters:
[]
0.39 ms
(1.55%)
1
SELECT SUM(p.budget_tnd) as nbr, part.nom_fr as nom_fr, part.nom_ar as nom_ar  
                FROM projet p 
                INNER JOIN partenaire part WHERE (p.etat = 1)
Parameters:
[]
0.37 ms
(1.49%)
1
SELECT COUNT(p.id) as nbr FROM projet p WHERE (p.mode_projet = 3)
Parameters:
[]
0.35 ms
(1.42%)
1
SELECT COUNT(p.id) as nbr FROM projet p WHERE (p.mode_projet = 2) OR (p.mode_projet = 3)
Parameters:
[]
0.34 ms
(1.35%)
1
SELECT COUNT(p.id) as nbr FROM projet p WHERE (p.mode_projet = 1)
Parameters:
[]
0.33 ms
(1.34%)
1
SELECT m0_.id AS id_0, m0_.nom_fr AS nom_fr_1, m0_.nom_ar AS nom_ar_2, m0_.etat AS etat_3 FROM mod_execution m0_
Parameters:
[]
0.32 ms
(1.30%)
1
SELECT COUNT(p.id) as nbr FROM projet p WHERE (p.mode_projet = 2)
Parameters:
[]

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\Partenaire No errors.
App\Entity\Gouvernorat No errors.
App\Entity\Projet No errors.
App\Entity\Commune No errors.
App\Entity\Devise No errors.
App\Entity\Status No errors.
App\Entity\ModExecution No errors.
App\Entity\SousSecteur No errors.
App\Entity\SousDomaine No errors.
App\Entity\User No errors.
App\Entity\TypeProjet No errors.
App\Entity\Photo No errors.
App\Entity\PieceJointe No errors.
App\Entity\AutrePartenaire No errors.
App\Entity\AutreBeneficiare No errors.
App\Entity\Programme No errors.
App\Entity\EnvIntervention No errors.