| 1 |
7.67 ms |
SELECT t0.pid AS pid_1, t0.libelle AS libelle_2, t0.libelle_court AS libelle_court_3, t0.resume AS resume_4, t0.ressources AS ressources_5, t0.donnees_interrogees AS donnees_interrogees_6, t0.image_banniere AS image_banniere_7, t0.requete_donnees AS requete_donnees_8, t0.params AS params_9, t0.libelle_uri AS libelle_uri_10, t0.titre_logo AS titre_logo_11, t0.menu_logo AS menu_logo_12, t0.ouverture_public AS ouverture_public_13, t0.the_geom AS the_geom_14, t0.nb_jours_maj_continu AS nb_jours_maj_continu_15, t0.type_projet AS type_projet_16, t0.id_jdd AS id_jdd_17, t0.type_maj_donnees AS type_maj_donnees_18 FROM ipn_projet.projet t0 WHERE t0.libelle_uri = ? LIMIT 1
Parameters: [
"animo64"
]
SELECT t0.pid AS pid_1, t0.libelle AS libelle_2, t0.libelle_court AS libelle_court_3, t0.resume AS resume_4, t0.ressources AS ressources_5, t0.donnees_interrogees AS donnees_interrogees_6, t0.image_banniere AS image_banniere_7, t0.requete_donnees AS requete_donnees_8, t0.params AS params_9, t0.libelle_uri AS libelle_uri_10, t0.titre_logo AS titre_logo_11, t0.menu_logo AS menu_logo_12, t0.ouverture_public AS ouverture_public_13, t0.the_geom AS the_geom_14, t0.nb_jours_maj_continu AS nb_jours_maj_continu_15, t0.type_projet AS type_projet_16, t0.id_jdd AS id_jdd_17, t0.type_maj_donnees AS type_maj_donnees_18 FROM ipn_projet.projet t0 WHERE t0.libelle_uri = 'animo64' LIMIT 1;
|
| 2 |
1.56 ms |
SELECT t0.id AS id_1, t0.date_lancement AS date_lancement_2, t0.libelle AS libelle_3, t0.pid AS pid_4 FROM ipn_projet.versions t0 WHERE t0.pid = ?
SELECT t0.id AS id_1, t0.date_lancement AS date_lancement_2, t0.libelle AS libelle_3, t0.pid AS pid_4 FROM ipn_projet.versions t0 WHERE t0.pid = 16;
|
| 3 |
1.01 ms |
SELECT t0.id AS id_1, t0.date_lancement AS date_lancement_2, t0.libelle AS libelle_3, t0.pid AS pid_4 FROM ipn_projet.versions t0 WHERE t0.pid = ? ORDER BY t0.date_lancement DESC LIMIT 1
SELECT t0.id AS id_1, t0.date_lancement AS date_lancement_2, t0.libelle AS libelle_3, t0.pid AS pid_4 FROM ipn_projet.versions t0 WHERE t0.pid = 16 ORDER BY t0.date_lancement DESC LIMIT 1;
|
| 4 |
3.20 ms |
SELECT t0.rid AS rid_1, t0.requete AS requete_2, t0.date_creation AS date_creation_3, t0.nombre_acces AS nombre_acces_4, t0.active AS active_5 FROM ipn_requeteur_v3.sommaire t0 WHERE t0.requete = ? LIMIT 1
Parameters: [
"{"echelleRestitution":"precis","profilUtilisateur":"organismeHabiliteRegion","inclureObsChevalDateMax":false,"projetID":16,"projetVersionID":810,"acteursTestCumul":"AND ","geomTestCumul":"and","statutEspeceMode":"or"}"
]
SELECT t0.rid AS rid_1, t0.requete AS requete_2, t0.date_creation AS date_creation_3, t0.nombre_acces AS nombre_acces_4, t0.active AS active_5 FROM ipn_requeteur_v3.sommaire t0 WHERE t0.requete = '{\"echelleRestitution\":\"precis\",\"profilUtilisateur\":\"organismeHabiliteRegion\",\"inclureObsChevalDateMax\":false,\"projetID\":16,\"projetVersionID\":810,\"acteursTestCumul\":\"AND \",\"geomTestCumul\":\"and\",\"statutEspeceMode\":\"or\"}' LIMIT 1;
|
| 5 |
0.41 ms |
"START TRANSACTION"
"START TRANSACTION";
|
| 6 |
0.59 ms |
UPDATE ipn_requeteur_v3.sommaire SET nombre_acces = ? WHERE rid = ?
UPDATE ipn_requeteur_v3.sommaire SET nombre_acces = 2 WHERE rid = 303506;
|
| 7 |
0.53 ms |
"COMMIT"
|
| 8 |
2.22 ms |
SELECT count(*) AS nbobs FROM ipn_requeteur_v3.temp_303506;
SELECT count(*) AS nbobs FROM ipn_requeteur_v3.temp_303506;;
|
| 9 |
0.59 ms |
SELECT t0.sid AS sid_1, t0.surcharge_libelle AS surcharge_libelle_2, t0.highcharts_params AS highcharts_params_3, t0.localisation AS localisation_4, t0.pid AS pid_5, t0.iid AS iid_6 FROM ipn_projet.corr_projet_indicateur_en_direct t0 WHERE t0.pid = ?
SELECT t0.sid AS sid_1, t0.surcharge_libelle AS surcharge_libelle_2, t0.highcharts_params AS highcharts_params_3, t0.localisation AS localisation_4, t0.pid AS pid_5, t0.iid AS iid_6 FROM ipn_projet.corr_projet_indicateur_en_direct t0 WHERE t0.pid = 16;
|
| 10 |
0.74 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.nom_fichier_twig AS nom_fichier_twig_3, t0.description AS description_4, t0.info AS info_5 FROM ipn_indicateurs_en_direct.ref_indicateur t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.nom_fichier_twig AS nom_fichier_twig_3, t0.description AS description_4, t0.info AS info_5 FROM ipn_indicateurs_en_direct.ref_indicateur t0 WHERE t0.id = 6;
|
| 11 |
0.45 ms |
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.nom_fichier_twig AS nom_fichier_twig_3, t0.description AS description_4, t0.info AS info_5 FROM ipn_indicateurs_en_direct.ref_indicateur t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.libelle AS libelle_2, t0.nom_fichier_twig AS nom_fichier_twig_3, t0.description AS description_4, t0.info AS info_5 FROM ipn_indicateurs_en_direct.ref_indicateur t0 WHERE t0.id = 3;
|
| 12 |
1.13 ms |
select
COUNT(oid) as nb_obs
from ipn_requeteur_v3.temp_303506
select
COUNT(oid) as nb_obs
from ipn_requeteur_v3.temp_303506;
|
| 13 |
620.98 ms |
SELECT
Count(o.oid) as nb_obs,
extract('year' from greatest(r_date_min,r_date_max)) as annee_obs_max
FROM ipn_requeteur_v3.temp_303506 op
JOIN ipn_requeteur_v3.observations o ON o.oid = op.oid
JOIN ipn_requeteur_v3.releves r ON r.rid = o.id_releve
GROUP BY
annee_obs_max
ORDER BY
annee_obs_max ASC
SELECT
Count(o.oid) as nb_obs,
extract('year' from greatest(r_date_min,r_date_max)) as annee_obs_max
FROM ipn_requeteur_v3.temp_303506 op
JOIN ipn_requeteur_v3.observations o ON o.oid = op.oid
JOIN ipn_requeteur_v3.releves r ON r.rid = o.id_releve
GROUP BY
annee_obs_max
ORDER BY
annee_obs_max ASC
;
|
| 14 |
28.55 ms |
SELECT
Count(op.oid) as nb_obs,
Count(distinct o.cd_espece) as nb_espece,
CASE WHEN gpe.libelle_item IS NOT NULL THEN gpe.libelle_item ELSE 'Autres' END AS groupe_libelle,
CASE WHEN gpe.gid IS NOT NULL THEN gpe.gid ELSE 107 END AS groupe_id
FROM ipn_requeteur_v3.temp_303506 op
JOIN ipn_requeteur_v3.observations o ON o.oid = op.oid
LEFT JOIN ipn_taxonomie.groupes_usuels gpe ON
ARRAY[gpe.gid] && groupes_usuels
AND (gpe.ref_exhaustif = TRUE OR gpe.ref_exhaustif_terre = TRUE OR gpe.ref_exhaustif_mer = TRUE)
AND gpe.gid != 89
GROUP BY
gpe.libelle_item,
gpe.gid
SELECT
Count(op.oid) as nb_obs,
Count(distinct o.cd_espece) as nb_espece,
CASE WHEN gpe.libelle_item IS NOT NULL THEN gpe.libelle_item ELSE 'Autres' END AS groupe_libelle,
CASE WHEN gpe.gid IS NOT NULL THEN gpe.gid ELSE 107 END AS groupe_id
FROM ipn_requeteur_v3.temp_303506 op
JOIN ipn_requeteur_v3.observations o ON o.oid = op.oid
LEFT JOIN ipn_taxonomie.groupes_usuels gpe ON
ARRAY[gpe.gid] && groupes_usuels
AND (gpe.ref_exhaustif = TRUE OR gpe.ref_exhaustif_terre = TRUE OR gpe.ref_exhaustif_mer = TRUE)
AND gpe.gid != 89
GROUP BY
gpe.libelle_item,
gpe.gid
;
|
| 15 |
1.06 ms |
SELECT f0_.eid AS eid_0, f0_.libelle AS libelle_1, f1_.opacite AS opacite_2, f1_.affiche AS affiche_3, f1_.ordre AS ordre_4, f1_.index AS index_5, f1_.style AS style_6, f1_.min_reso AS min_reso_7, f1_.max_reso AS max_reso_8, f2_.fid AS fid_9, f2_.libelle_court AS libelle_court_10, f2_.libelle AS libelle_11, f2_.legende AS legende_12, f2_.type AS type_13, f2_.params AS params_14, f2_.vignette AS vignette_15, f1_.eid AS eid_16, f1_.fid AS fid_17 FROM ipn_carto.fauna_environnements_carto f0_ INNER JOIN ipn_carto.fauna_corr_environnements_carto_fonds_plans f1_ ON f0_.eid = f1_.eid INNER JOIN ipn_carto.fauna_fonds_plans_disponibles f2_ ON f1_.fid = f2_.fid WHERE f0_.eid = 2 ORDER BY f1_.ordre ASC
SELECT f0_.eid AS eid_0, f0_.libelle AS libelle_1, f1_.opacite AS opacite_2, f1_.affiche AS affiche_3, f1_.ordre AS ordre_4, f1_.index AS index_5, f1_.style AS style_6, f1_.min_reso AS min_reso_7, f1_.max_reso AS max_reso_8, f2_.fid AS fid_9, f2_.libelle_court AS libelle_court_10, f2_.libelle AS libelle_11, f2_.legende AS legende_12, f2_.type AS type_13, f2_.params AS params_14, f2_.vignette AS vignette_15, f1_.eid AS eid_16, f1_.fid AS fid_17 FROM ipn_carto.fauna_environnements_carto f0_ INNER JOIN ipn_carto.fauna_corr_environnements_carto_fonds_plans f1_ ON f0_.eid = f1_.eid INNER JOIN ipn_carto.fauna_fonds_plans_disponibles f2_ ON f1_.fid = f2_.fid WHERE f0_.eid = 2 ORDER BY f1_.ordre ASC;
|
| 16 |
0.75 ms |
SELECT t0.pid AS pid_1, t0.libelle AS libelle_2, t0.libelle_court AS libelle_court_3, t0.resume AS resume_4, t0.ressources AS ressources_5, t0.donnees_interrogees AS donnees_interrogees_6, t0.image_banniere AS image_banniere_7, t0.requete_donnees AS requete_donnees_8, t0.params AS params_9, t0.libelle_uri AS libelle_uri_10, t0.titre_logo AS titre_logo_11, t0.menu_logo AS menu_logo_12, t0.ouverture_public AS ouverture_public_13, t0.the_geom AS the_geom_14, t0.nb_jours_maj_continu AS nb_jours_maj_continu_15, t0.type_projet AS type_projet_16, t0.id_jdd AS id_jdd_17, t0.type_maj_donnees AS type_maj_donnees_18 FROM ipn_projet.projet t0 WHERE t0.libelle_uri = ? LIMIT 1
Parameters: [
"animo64"
]
SELECT t0.pid AS pid_1, t0.libelle AS libelle_2, t0.libelle_court AS libelle_court_3, t0.resume AS resume_4, t0.ressources AS ressources_5, t0.donnees_interrogees AS donnees_interrogees_6, t0.image_banniere AS image_banniere_7, t0.requete_donnees AS requete_donnees_8, t0.params AS params_9, t0.libelle_uri AS libelle_uri_10, t0.titre_logo AS titre_logo_11, t0.menu_logo AS menu_logo_12, t0.ouverture_public AS ouverture_public_13, t0.the_geom AS the_geom_14, t0.nb_jours_maj_continu AS nb_jours_maj_continu_15, t0.type_projet AS type_projet_16, t0.id_jdd AS id_jdd_17, t0.type_maj_donnees AS type_maj_donnees_18 FROM ipn_projet.projet t0 WHERE t0.libelle_uri = 'animo64' LIMIT 1;
|