Query Metrics

68 Database Queries
63 Different statements
244.91 ms Query time
0 Invalid entities
0 Cache hits
0 Cache misses
0 Cache puts

Queries

Group similar statements

# Time Info
1 0.54 ms
SELECT idcontact FROM contacts WHERE url_clean='LEcole-des-Loisirs-Editions'
Parameters:
[]
2 0.77 ms
SELECT c0_.idcontact AS idcontact_0, c0_.type AS type_1, c0_.organisation AS organisation_2, c0_.nom_suite AS nom_suite_3, c0_.lastname AS lastname_4, c0_.firstname AS firstname_5, c0_.idtypestructure AS idtypestructure_6, c0_.license AS license_7, c0_.comment AS comment_8, c0_.private_comment AS private_comment_9, c0_.address1 AS address1_10, c0_.address2 AS address2_11, c0_.zip AS zip_12, c0_.city AS city_13, c0_.phone1 AS phone1_14, c0_.phone2 AS phone2_15, c0_.fax AS fax_16, c0_.email1 AS email1_17, c0_.email1_online AS email1_online_18, c0_.email2_online AS email2_online_19, c0_.email2 AS email2_20, c0_.url AS url_21, c0_.url_ticket AS url_ticket_22, c0_.facebook AS facebook_23, c0_.twitter AS twitter_24, c0_.instagram AS instagram_25, c0_.mobile AS mobile_26, c0_.geocodable AS geocodable_27, c0_.x AS x_28, c0_.y AS y_29, c0_.idmultimedia AS idmultimedia_30, c0_.type_view AS type_view_31, c0_.stats_access AS stats_access_32, c0_.ga_tracking_id AS ga_tracking_id_33, c0_.is_festival AS is_festival_34, c0_.link_on_video AS link_on_video_35, c0_.is_partenaire AS is_partenaire_36, c0_.valid_version AS valid_version_37, c0_.other_versions AS other_versions_38, c0_.url_redirect AS url_redirect_39, c0_.url_clean AS url_clean_40, c0_.dateupdate AS dateupdate_41, c0_.dateinsert AS dateinsert_42, c0_.publish AS publish_43, c0_.valid AS valid_44, c1_.id AS id_45, c1_.fr AS fr_46, c1_.en AS en_47, c1_.es AS es_48, c1_.pt AS pt_49, c1_.de AS de_50, c1_.ru AS ru_51, c1_.orderby AS orderby_52 FROM contacts c0_ LEFT JOIN countries c1_ ON c0_.country = c1_.id WHERE c0_.idcontact = ?
Parameters:
[
  "124"
]
3 0.08 ms
SELECT fr FROM countries WHERE id='FR'
Parameters:
[]
4 0.21 ms
SELECT fr FROM countries WHERE id='France'
Parameters:
[]
5 0.07 ms
SELECT DISTINCT(cl.type) FROM classifications cl WHERE ((cl.idclassification IN (100))) AND contacts=1
Parameters:
[]
6 1.57 ms
SELECT *
                FROM object_file of,
                     files f,
                     file_classification fc,
                     classifications cl,typesfiles tf
                   WHERE of.idfile=f.idfile
                   AND f.idfile=fc.idfile
                   AND of.idobject='124'
                   AND of.object='contacts'
                   AND cl.idclassification=fc.idclassification AND f.publish=1 AND ((cl.idclassification IN (100))) AND f.idtype=tf.idtype ORDER BY f.`range`,f.idfile
Parameters:
[]
7 0.07 ms
SELECT DISTINCT(cl.type) FROM classifications cl WHERE ((cl.classification IN ('class_pp'))) AND contacts=1
Parameters:
[]
8 1.70 ms
SELECT *
                FROM object_file of,
                     files f,
                     file_classification fc,
                     classifications cl,typesfiles tf
                   WHERE of.idfile=f.idfile
                   AND f.idfile=fc.idfile
                   AND of.idobject='124'
                   AND of.object='contacts'
                   AND cl.idclassification=fc.idclassification AND ((cl.classification IN ('class_pp'))) AND f.idtype=tf.idtype ORDER BY f.`range`,f.idfile
Parameters:
[]
9 0.67 ms
SELECT  COUNT(DISTINCT(m.idmultimedia)) 
                FROM object_multimedia om, multimedias m
                WHERE om.idmultimedia=m.idmultimedia
                AND om.idobject=124
                AND om.object='contacts'
                AND m.publish=1  AND m.audio_video=2
Parameters:
[]
10 2.31 ms
SELECT COUNT(DISTINCT(T1.idperson)) as total  FROM persons T1 
                    JOIN text_author T2 ON T2.`idperson` = T1.`idperson`
                    JOIN texts t ON t.`idtext`=T2.`idtext` 
                 WHERE 1  AND t.`idcontact_publisher` IN  ('124')  AND T1.`publish`=1
Parameters:
[]
11 13.55 ms
SELECT idtext, idgenretext FROM texts WHERE type=0 AND idcontact_publisher=124
Parameters:
[]
12 1.98 ms
SELECT idtext FROM texts WHERE type=1 AND idcontact_publisher=124
Parameters:
[]
13 0.40 ms
SELECT tt.idtext FROM text_traduction tt, texts t
                                        WHERE t.idtext=tt.idtext
                                        AND (t.idgenretext=1 OR t.idgenretext IS NULL)
                                        AND tt.idtexttraduction IN (2356,2478,3196,3871,4411,6039,6943,7156,23770,31299,37936)
Parameters:
[]
14 0.97 ms
SELECT COUNT(DISTINCT(T1.`idtext`)) as total  FROM texts T1
                                LEFT JOIN contacts T2 ON T2.`idcontact`=T1.`idcontact_publisher`  WHERE 1  AND T1.`idtext` IN (508,510,563,1650,1716,2191,2506,2588,2590,2591,3012,4576,4698,4699,5686,12593,30959,43373,44600,44602)  ORDER BY CAST(CONCAT(T1.`publication_year`,'-',T1.`publication_month`,'-00') AS DATE) ASC
Parameters:
[]
15 0.04 ms
SELECT COUNT(DISTINCT(T1.`idtext`)) as total  FROM texts T1
                                LEFT JOIN contacts T2 ON T2.`idcontact`=T1.`idcontact_publisher`  WHERE 1  AND T1.`idtext` IN (508,510,563,1650,1716,2191,2506,2588,2590,2591,3012,4576,4698,4699,5686,12593,30959,43373,44600,44602)  ORDER BY CAST(CONCAT(T1.`publication_year`,'-',T1.`publication_month`,'-00') AS DATE) ASC
Parameters:
[]
16 0.34 ms
SELECT COUNT(DISTINCT(T1.`idtext`)) as total  FROM texts T1
                                LEFT JOIN contacts T2 ON T2.`idcontact`=T1.`idcontact_publisher`  WHERE 1  AND T1.`idtext` IN (2356,2478,3196,3871,4411,6039,6943,7156,23770,31299,37936)  ORDER BY CAST(CONCAT(T1.`publication_year`,'-',T1.`publication_month`,'-00') AS DATE) ASC
Parameters:
[]
17 0.07 ms
SELECT COUNT(DISTINCT(T1.`idtext`)) as total  FROM texts T1
                                LEFT JOIN contacts T2 ON T2.`idcontact`=T1.`idcontact_publisher`  WHERE 1  AND T1.`idtext` IN (2356,2478,3196,3871,4411,6039,6943,7156,23770,31299,37936)  ORDER BY CAST(CONCAT(T1.`publication_year`,'-',T1.`publication_month`,'-00') AS DATE) ASC
Parameters:
[]
18 1.06 ms
SELECT COUNT(DISTINCT(T1.`idtext`)) as total  FROM texts T1,contacts T2 WHERE 1  AND T2.idcontact=T1.idcontact_publisher AND T1.idcontact_publisher=124  ORDER BY CAST(CONCAT(T1.`publication_year`,'-',T1.`publication_month`,'-00') AS DATE) ASC
Parameters:
[]
19 0.88 ms
SELECT COUNT(DISTINCT(T1.idnew)) as total  FROM news T1 INNER JOIN newschedules T3
                            ON T3.idnew=T1.idnew
                            INNER JOIN extranetusers T2 ON T2.idextranetuser=T1.idextranetuser
                            LEFT JOIN contacts T4 ON T4.idcontact=T3.idcontact  LEFT JOIN new_contact T5 ON T5.idnew=T1.idnew  WHERE 1  AND (T5.idcontact=124 ) AND T1.publish=1 AND T1.publish=1 AND T1.valid=1  AND (( T3.date>='2024-04-26' ))
Parameters:
[]
20 0.73 ms
SELECT COUNT(DISTINCT(T1.idnew)) as total  FROM news T1 INNER JOIN newschedules T3
                            ON T3.idnew=T1.idnew
                            INNER JOIN extranetusers T2 ON T2.idextranetuser=T1.idextranetuser
                            LEFT JOIN contacts T4 ON T4.idcontact=T3.idcontact  LEFT JOIN new_contact T5 ON T5.idnew=T1.idnew  WHERE 1  AND (T5.idcontact=124 ) AND T1.publish=1 AND T1.publish=1 AND T1.valid=1  AND (( T3.date<'2024-04-26' ))
Parameters:
[]
21 4.22 ms
SELECT COUNT(DISTINCT (s0_.idspectacle)) AS sclr_0, MIN(s1_.date) AS sclr_1 FROM spectacles s0_ LEFT JOIN text_spectacle t3_ ON s0_.idspectacle = t3_.idspectacle LEFT JOIN texts t2_ ON t2_.idtext = t3_.idtext LEFT JOIN typesspectacles t4_ ON s0_.idtypespectacle = t4_.idtypespectacle LEFT JOIN schedules s1_ ON s0_.idspectacle = s1_.idspectacle LEFT JOIN spectacle_person s6_ ON s0_.idspectacle = s6_.idspectacle LEFT JOIN persons p5_ ON p5_.idperson = s6_.idperson INNER JOIN contacts c7_ ON s1_.idcontact = c7_.idcontact WHERE s1_.idspectacle = s0_.idspectacle AND (s1_.idcontact = c7_.idcontact OR s1_.idcontact_festival = c7_.idcontact) AND ((s1_.date BETWEEN '2024-04-26' AND '2025-04-26')) AND (s0_.publish = 1 AND s0_.valid = 1) AND t2_.idcontact_publisher = 124 ORDER BY s1_.date ASC
Parameters:
[]
22 49.50 ms
SELECT COUNT(DISTINCT (s0_.idspectacle)) AS sclr_0, MIN(s1_.date) AS sclr_1, o2_.idobject AS idobject_2, o2_.object AS object_3, o2_.`range` AS range_4, o2_.idcontent AS idcontent_5 FROM spectacles s0_ LEFT JOIN text_spectacle t4_ ON s0_.idspectacle = t4_.idspectacle LEFT JOIN texts t3_ ON t3_.idtext = t4_.idtext LEFT JOIN typesspectacles t5_ ON s0_.idtypespectacle = t5_.idtypespectacle LEFT JOIN schedules s1_ ON s0_.idspectacle = s1_.idspectacle LEFT JOIN spectacle_person s7_ ON s0_.idspectacle = s7_.idspectacle LEFT JOIN persons p6_ ON p6_.idperson = s7_.idperson INNER JOIN contacts c8_ ON s1_.idcontact = c8_.idcontact LEFT JOIN object_content o2_ ON (o2_.object = 'spectacles') LEFT JOIN contents c9_ ON (c9_.idcontent = o2_.idcontent) LEFT JOIN content_classification c11_ ON c9_.idcontent = c11_.idcontent LEFT JOIN classifications c10_ ON c10_.idclassification = c11_.idclassification WHERE s1_.idspectacle = s0_.idspectacle AND (s1_.idcontact = c8_.idcontact OR s1_.idcontact_festival = c8_.idcontact) AND (c9_.valid = 1 AND c9_.publish = 1) AND c10_.idclassification IN (101) AND s0_.idspectacle = o2_.idobject AND c9_.idcontent = o2_.idcontent AND (s0_.publish = 1 AND s0_.valid = 1) AND t3_.idcontact_publisher = 124 ORDER BY s1_.date ASC
Parameters:
[]
23 42.84 ms
SELECT COUNT(DISTINCT (s0_.idspectacle)) AS sclr_0, MIN(s1_.date) AS sclr_1 FROM spectacles s0_ LEFT JOIN text_spectacle t3_ ON s0_.idspectacle = t3_.idspectacle LEFT JOIN texts t2_ ON t2_.idtext = t3_.idtext LEFT JOIN typesspectacles t4_ ON s0_.idtypespectacle = t4_.idtypespectacle LEFT JOIN schedules s1_ ON s0_.idspectacle = s1_.idspectacle LEFT JOIN spectacle_person s6_ ON s0_.idspectacle = s6_.idspectacle LEFT JOIN persons p5_ ON p5_.idperson = s6_.idperson INNER JOIN contacts c7_ ON s1_.idcontact = c7_.idcontact WHERE s1_.idspectacle = s0_.idspectacle AND (s1_.idcontact = c7_.idcontact OR s1_.idcontact_festival = c7_.idcontact) AND (s0_.publish = 1 AND s0_.valid = 1) AND t2_.idcontact_publisher = 124 ORDER BY s1_.date ASC
Parameters:
[]
24 6.84 ms
SELECT COUNT(DISTINCT (s0_.idspectacle)) AS sclr_0, MIN(s1_.date) AS sclr_1, o2_.idobject AS idobject_2, o2_.object AS object_3, o2_.`range` AS range_4, o2_.idcontent AS idcontent_5 FROM spectacles s0_ LEFT JOIN text_spectacle t4_ ON s0_.idspectacle = t4_.idspectacle LEFT JOIN texts t3_ ON t3_.idtext = t4_.idtext LEFT JOIN typesspectacles t5_ ON s0_.idtypespectacle = t5_.idtypespectacle LEFT JOIN schedules s1_ ON s0_.idspectacle = s1_.idspectacle LEFT JOIN spectacle_person s7_ ON s0_.idspectacle = s7_.idspectacle LEFT JOIN persons p6_ ON p6_.idperson = s7_.idperson INNER JOIN contacts c8_ ON s1_.idcontact = c8_.idcontact LEFT JOIN object_content o2_ ON (o2_.object = 'spectacles') LEFT JOIN contents c9_ ON (c9_.idcontent = o2_.idcontent) LEFT JOIN content_classification c11_ ON c9_.idcontent = c11_.idcontent LEFT JOIN classifications c10_ ON c10_.idclassification = c11_.idclassification WHERE s1_.idspectacle = s0_.idspectacle AND (s1_.idcontact = c8_.idcontact OR s1_.idcontact_festival = c8_.idcontact) AND (c9_.valid = 1 AND c9_.publish = 1) AND c10_.idclassification IN (101) AND s0_.idspectacle = o2_.idobject AND c9_.idcontent = o2_.idcontent AND ((s1_.date BETWEEN '2024-04-26' AND '2025-04-26')) AND (s0_.publish = 1 AND s0_.valid = 1) AND t3_.idcontact_publisher = 124 ORDER BY s1_.date ASC
Parameters:
[]
25 5.54 ms
SELECT COUNT(DISTINCT (s0_.idspectacle)) AS sclr_0, MIN(s1_.date) AS sclr_1 FROM spectacles s0_ LEFT JOIN text_spectacle t3_ ON s0_.idspectacle = t3_.idspectacle LEFT JOIN texts t2_ ON t2_.idtext = t3_.idtext LEFT JOIN typesspectacles t4_ ON s0_.idtypespectacle = t4_.idtypespectacle LEFT JOIN schedules s1_ ON s0_.idspectacle = s1_.idspectacle LEFT JOIN spectacle_person s6_ ON s0_.idspectacle = s6_.idspectacle LEFT JOIN persons p5_ ON p5_.idperson = s6_.idperson INNER JOIN contacts c7_ ON s1_.idcontact = c7_.idcontact LEFT JOIN object_multimedia o8_ ON (s0_.idspectacle = o8_.idobject) LEFT JOIN multimedias m9_ ON (m9_.idmultimedia = o8_.idmultimedia) WHERE s1_.idspectacle = s0_.idspectacle AND (s1_.idcontact = c7_.idcontact OR s1_.idcontact_festival = c7_.idcontact) AND o8_.object = 'spectacles' AND m9_.publish = 1 AND ((s1_.date BETWEEN '2024-04-26' AND '2025-04-26')) AND (s0_.publish = 1 AND s0_.valid = 1) AND t2_.idcontact_publisher = 124 ORDER BY s1_.date ASC
Parameters:
[]
26 51.92 ms
SELECT COUNT(DISTINCT (s0_.idspectacle)) AS sclr_0, MIN(s1_.date) AS sclr_1, o2_.idobject AS idobject_2, o2_.object AS object_3, o2_.`range` AS range_4, o2_.idcontent AS idcontent_5 FROM spectacles s0_ LEFT JOIN text_spectacle t4_ ON s0_.idspectacle = t4_.idspectacle LEFT JOIN texts t3_ ON t3_.idtext = t4_.idtext LEFT JOIN typesspectacles t5_ ON s0_.idtypespectacle = t5_.idtypespectacle LEFT JOIN schedules s1_ ON s0_.idspectacle = s1_.idspectacle LEFT JOIN spectacle_person s7_ ON s0_.idspectacle = s7_.idspectacle LEFT JOIN persons p6_ ON p6_.idperson = s7_.idperson INNER JOIN contacts c8_ ON s1_.idcontact = c8_.idcontact LEFT JOIN object_multimedia o9_ ON (s0_.idspectacle = o9_.idobject) LEFT JOIN multimedias m10_ ON (m10_.idmultimedia = o9_.idmultimedia) LEFT JOIN object_content o2_ ON (o2_.object = 'spectacles') LEFT JOIN contents c11_ ON (c11_.idcontent = o2_.idcontent) LEFT JOIN content_classification c13_ ON c11_.idcontent = c13_.idcontent LEFT JOIN classifications c12_ ON c12_.idclassification = c13_.idclassification WHERE s1_.idspectacle = s0_.idspectacle AND (s1_.idcontact = c8_.idcontact OR s1_.idcontact_festival = c8_.idcontact) AND o9_.object = 'spectacles' AND m10_.publish = 1 AND (c11_.valid = 1 AND c11_.publish = 1) AND c12_.idclassification IN (101) AND s0_.idspectacle = o2_.idobject AND c11_.idcontent = o2_.idcontent AND (s0_.publish = 1 AND s0_.valid = 1) AND t3_.idcontact_publisher = 124 ORDER BY s1_.date ASC
Parameters:
[]
27 36.70 ms
SELECT COUNT(DISTINCT (s0_.idspectacle)) AS sclr_0, MIN(s1_.date) AS sclr_1 FROM spectacles s0_ LEFT JOIN text_spectacle t3_ ON s0_.idspectacle = t3_.idspectacle LEFT JOIN texts t2_ ON t2_.idtext = t3_.idtext LEFT JOIN typesspectacles t4_ ON s0_.idtypespectacle = t4_.idtypespectacle LEFT JOIN schedules s1_ ON s0_.idspectacle = s1_.idspectacle LEFT JOIN spectacle_person s6_ ON s0_.idspectacle = s6_.idspectacle LEFT JOIN persons p5_ ON p5_.idperson = s6_.idperson INNER JOIN contacts c7_ ON s1_.idcontact = c7_.idcontact LEFT JOIN object_multimedia o8_ ON (s0_.idspectacle = o8_.idobject) LEFT JOIN multimedias m9_ ON (m9_.idmultimedia = o8_.idmultimedia) WHERE s1_.idspectacle = s0_.idspectacle AND (s1_.idcontact = c7_.idcontact OR s1_.idcontact_festival = c7_.idcontact) AND o8_.object = 'spectacles' AND m9_.publish = 1 AND (s0_.publish = 1 AND s0_.valid = 1) AND t2_.idcontact_publisher = 124 ORDER BY s1_.date ASC
Parameters:
[]
28 0.31 ms
SELECT COUNT(spectacle_aide.`idaide`)
                    FROM aides
                    JOIN spectacle_aide ON spectacle_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=2
Parameters:
[]
29 0.40 ms
SELECT COUNT(text_aide.`idaide`)
                    FROM aides
                    JOIN text_aide ON text_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=2
Parameters:
[]
30 0.59 ms
SELECT COUNT(person_aide.`idaide`)
                    FROM aides
                    JOIN person_aide ON person_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=2
Parameters:
[]
31 0.24 ms
SELECT COUNT(contact_aide.`idaide`)
                    FROM aides
                    JOIN contact_aide ON contact_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=2
Parameters:
[]
32 0.57 ms
SELECT COUNT(spectacle_aide.`idaide`)
                    FROM aides
                    JOIN spectacle_aide ON spectacle_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=3
Parameters:
[]
33 0.35 ms
SELECT COUNT(text_aide.`idaide`)
                    FROM aides
                    JOIN text_aide ON text_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=3
Parameters:
[]
34 0.40 ms
SELECT COUNT(person_aide.`idaide`)
                    FROM aides
                    JOIN person_aide ON person_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=3
Parameters:
[]
35 0.40 ms
SELECT COUNT(contact_aide.`idaide`)
                    FROM aides
                    JOIN contact_aide ON contact_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=3
Parameters:
[]
36 0.47 ms
SELECT COUNT(spectacle_aide.`idaide`)
                    FROM aides
                    JOIN spectacle_aide ON spectacle_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=1
Parameters:
[]
37 0.47 ms
SELECT COUNT(text_aide.`idaide`)
                    FROM aides
                    JOIN text_aide ON text_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=1
Parameters:
[]
38 0.30 ms
SELECT COUNT(person_aide.`idaide`)
                    FROM aides
                    JOIN person_aide ON person_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=1
Parameters:
[]
39 0.37 ms
SELECT COUNT(contact_aide.`idaide`)
                    FROM aides
                    JOIN contact_aide ON contact_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=1
Parameters:
[]
40 0.36 ms
SELECT COUNT(spectacle_aide.`idaide`)
                    FROM aides
                    JOIN spectacle_aide ON spectacle_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=4
Parameters:
[]
41 0.29 ms
SELECT COUNT(text_aide.`idaide`)
                    FROM aides
                    JOIN text_aide ON text_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=4
Parameters:
[]
42 0.46 ms
SELECT COUNT(person_aide.`idaide`)
                    FROM aides
                    JOIN person_aide ON person_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=4
Parameters:
[]
43 0.22 ms
SELECT COUNT(contact_aide.`idaide`)
                    FROM aides
                    JOIN contact_aide ON contact_aide.`idaide`=aides.`idaide`
                    WHERE aides.`idcontact`=124
                    AND aides.`type_aide`=4
Parameters:
[]
44 0.07 ms
SELECT COUNT(DISTINCT(T1.idnew)) as total  FROM news T1 INNER JOIN newschedules T3
                            ON T3.idnew=T1.idnew
                            INNER JOIN extranetusers T2 ON T2.idextranetuser=T1.idextranetuser
                            LEFT JOIN contacts T4 ON T4.idcontact=T3.idcontact  LEFT JOIN new_contact T5 ON T5.idnew=T1.idnew  WHERE 1  AND (T5.idcontact=124 ) AND T1.publish=1 AND T1.publish=1 AND T1.valid=1  AND (( T3.date>='2024-04-26' ))
Parameters:
[]
45 0.05 ms
SELECT COUNT(DISTINCT(T1.idnew)) as total  FROM news T1 INNER JOIN newschedules T3
                            ON T3.idnew=T1.idnew
                            INNER JOIN extranetusers T2 ON T2.idextranetuser=T1.idextranetuser
                            LEFT JOIN contacts T4 ON T4.idcontact=T3.idcontact  LEFT JOIN new_contact T5 ON T5.idnew=T1.idnew  WHERE 1  AND (T5.idcontact=124 ) AND T1.publish=1 AND T1.publish=1 AND T1.valid=1  AND (( T3.date<'2024-04-26' ))
Parameters:
[]
46 1.19 ms
SELECT DISTINCT(T1.idnew), T1.*,T2.idextranetuser,T2.lastname,T2.firstname,T2.signature,T2.city as city_extranetuser,T2.enseignant_etablissement,T2.enseignant_active,T3.idnewschedule,T3.date,T3.hour,T3.idcontact,T3.note  FROM news T1 INNER JOIN newschedules T3
                            ON T3.idnew=T1.idnew
                            INNER JOIN extranetusers T2 ON T2.idextranetuser=T1.idextranetuser
                            LEFT JOIN contacts T4 ON T4.idcontact=T3.idcontact  LEFT JOIN new_contact T5 ON T5.idnew=T1.idnew  WHERE 1  AND (T5.idcontact=124 ) AND T1.publish=1 AND T1.publish=1 AND T1.valid=1  AND T1.type_news=0 AND (( T3.date>='2024-04-26' ))  GROUP BY T1.idnew  ORDER BY T3.date ASC
Parameters:
[]
47 1.47 ms
SELECT DISTINCT(T1.idnew), T1.*,T2.idextranetuser,T2.lastname,T2.firstname,T2.signature,T2.city as city_extranetuser,T2.enseignant_etablissement,T2.enseignant_active,T3.idnewschedule,T3.date,T3.hour,T3.idcontact,T3.note  FROM news T1 INNER JOIN newschedules T3
                            ON T3.idnew=T1.idnew
                            INNER JOIN extranetusers T2 ON T2.idextranetuser=T1.idextranetuser
                            LEFT JOIN contacts T4 ON T4.idcontact=T3.idcontact  LEFT JOIN new_contact T5 ON T5.idnew=T1.idnew  WHERE 1  AND (T5.idcontact=124 ) AND T1.publish=1 AND T1.publish=1 AND T1.valid=1  AND T1.type_news=0 AND (( T3.date<'2024-04-26' ))  GROUP BY T1.idnew  ORDER BY T3.date DESC
Parameters:
[]
48 0.41 ms
SELECT t0.idnew AS idnew_1, t0.title AS title_2, t0.type_news AS type_news_3, t0.description AS description_4, t0.markdown AS markdown_5, t0.date_start AS date_start_6, t0.date_end AS date_end_7, t0.hour AS hour_8, t0.location AS location_9, t0.city AS city_10, t0.zip AS zip_11, t0.contacts AS contacts_12, t0.url AS url_13, t0.url_more AS url_more_14, t0.infos_contacts AS infos_contacts_15, t0.url_file AS url_file_16, t0.copyright_file AS copyright_file_17, t0.is_homepage AS is_homepage_18, t0.publish AS publish_19, t0.valid AS valid_20, t0.statut AS statut_21, t0.dateinsert AS dateinsert_22, t0.dateupdate AS dateupdate_23, t0.idextranetuser_lock AS idextranetuser_lock_24, t0.idextranetuser AS idextranetuser_25, t0.idregion AS idregion_26, t0.country AS country_27 FROM news t0 WHERE t0.idnew = ?
Parameters:
[
  "10361"
]
49 0.23 ms
SELECT url_file FROM news WHERE idnew=10361
Parameters:
[]
50 0.48 ms
SELECT sc.date, c.city, c.country, c.zip, c.organisation, c.url_clean, c.idcontact FROM newschedules sc, contacts c
                         WHERE sc.idcontact=c.idcontact
                         AND sc.idnew=10361 AND sc.date<'2024-04-26'  ORDER BY sc.date DESC LIMIT 0,1
Parameters:
[]
51 0.47 ms
SELECT MIN(sc.date) as datestart, MAX(sc.date) as dateend, c.city, c.country FROM newschedules sc, contacts c
                         WHERE sc.idcontact=c.idcontact
                         AND sc.idnew=10361 AND sc.date<'2024-04-26'  AND sc.idcontact=27759 GROUP BY sc.idcontact
Parameters:
[]
52 0.45 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idnew FROM theatreok_dev.persons j1, theatreok_dev.new_person j2, theatreok_dev.news j3
                        WHERE j3.idnew=j2.idnew
                        AND j1.idperson=j2.idperson
                        AND j3.idnew=10361
Parameters:
[]
53 0.40 ms
SELECT j1.idcontact,j1.lastname,j1.firstname,j1.organisation,j1.type,j1.url_clean ,j3.idnew FROM theatreok_dev.contacts j1, theatreok_dev.new_contact j2, theatreok_dev.news j3
                        WHERE j3.idnew=j2.idnew
                        AND j1.idcontact=j2.idcontact
                        AND j3.idnew=10361
Parameters:
[]
54 0.37 ms
SELECT j1.idspectacle,j1.title,j1.valid,j1.publish,j1.url_clean ,j3.idnew FROM theatreok_dev.spectacles j1, theatreok_dev.new_spectacle j2, theatreok_dev.news j3
                        WHERE j3.idnew=j2.idnew
                        AND j1.idspectacle=j2.idspectacle
                        AND j3.idnew=10361
Parameters:
[]
55 0.30 ms
SELECT j1.idtext,j1.title,j1.valid,j1.publish,j1.url_clean ,j3.idnew FROM theatreok_dev.texts j1, theatreok_dev.new_text j2, theatreok_dev.news j3
                        WHERE j3.idnew=j2.idnew
                        AND j1.idtext=j2.idtext
                        AND j3.idnew=10361
Parameters:
[]
56 0.38 ms
SELECT t0.idnew AS idnew_1, t0.title AS title_2, t0.type_news AS type_news_3, t0.description AS description_4, t0.markdown AS markdown_5, t0.date_start AS date_start_6, t0.date_end AS date_end_7, t0.hour AS hour_8, t0.location AS location_9, t0.city AS city_10, t0.zip AS zip_11, t0.contacts AS contacts_12, t0.url AS url_13, t0.url_more AS url_more_14, t0.infos_contacts AS infos_contacts_15, t0.url_file AS url_file_16, t0.copyright_file AS copyright_file_17, t0.is_homepage AS is_homepage_18, t0.publish AS publish_19, t0.valid AS valid_20, t0.statut AS statut_21, t0.dateinsert AS dateinsert_22, t0.dateupdate AS dateupdate_23, t0.idextranetuser_lock AS idextranetuser_lock_24, t0.idextranetuser AS idextranetuser_25, t0.idregion AS idregion_26, t0.country AS country_27 FROM news t0 WHERE t0.idnew = ?
Parameters:
[
  "5043"
]
57 0.14 ms
SELECT url_file FROM news WHERE idnew=5043
Parameters:
[]
58 0.35 ms
SELECT sc.date, c.city, c.country, c.zip, c.organisation, c.url_clean, c.idcontact FROM newschedules sc, contacts c
                         WHERE sc.idcontact=c.idcontact
                         AND sc.idnew=5043 AND sc.date<'2024-04-26'  ORDER BY sc.date DESC LIMIT 0,1
Parameters:
[]
59 0.58 ms
SELECT MIN(sc.date) as datestart, MAX(sc.date) as dateend, c.city, c.country FROM newschedules sc, contacts c
                         WHERE sc.idcontact=c.idcontact
                         AND sc.idnew=5043 AND sc.date<'2024-04-26'  AND sc.idcontact=3914 GROUP BY sc.idcontact
Parameters:
[]
60 0.59 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idnew FROM theatreok_dev.persons j1, theatreok_dev.new_person j2, theatreok_dev.news j3
                        WHERE j3.idnew=j2.idnew
                        AND j1.idperson=j2.idperson
                        AND j3.idnew=5043
Parameters:
[]
61 0.41 ms
SELECT j1.idcontact,j1.lastname,j1.firstname,j1.organisation,j1.type,j1.url_clean ,j3.idnew FROM theatreok_dev.contacts j1, theatreok_dev.new_contact j2, theatreok_dev.news j3
                        WHERE j3.idnew=j2.idnew
                        AND j1.idcontact=j2.idcontact
                        AND j3.idnew=5043
Parameters:
[]
62 0.28 ms
SELECT j1.idspectacle,j1.title,j1.valid,j1.publish,j1.url_clean ,j3.idnew FROM theatreok_dev.spectacles j1, theatreok_dev.new_spectacle j2, theatreok_dev.news j3
                        WHERE j3.idnew=j2.idnew
                        AND j1.idspectacle=j2.idspectacle
                        AND j3.idnew=5043
Parameters:
[]
63 0.25 ms
SELECT j1.idtext,j1.title,j1.valid,j1.publish,j1.url_clean ,j3.idnew FROM theatreok_dev.texts j1, theatreok_dev.new_text j2, theatreok_dev.news j3
                        WHERE j3.idnew=j2.idnew
                        AND j1.idtext=j2.idtext
                        AND j3.idnew=5043
Parameters:
[]
64 1.44 ms
SELECT DISTINCT(T1.idnew), T1.*,T2.idextranetuser,T2.lastname,T2.firstname,T2.signature,T2.city as city_extranetuser,T2.enseignant_etablissement,T2.enseignant_active,T3.idnewschedule,T3.date,T3.hour,T3.idcontact,T3.note  FROM news T1 INNER JOIN newschedules T3
                            ON T3.idnew=T1.idnew
                            INNER JOIN extranetusers T2 ON T2.idextranetuser=T1.idextranetuser
                            LEFT JOIN contacts T4 ON T4.idcontact=T3.idcontact  LEFT JOIN new_contact T5 ON T5.idnew=T1.idnew  WHERE 1  AND (T5.idcontact=124 ) AND T1.idnew NOT IN (10361,5043)  AND T1.publish=1 AND T1.publish=1 AND T1.valid=1  AND T1.type_news=1 AND (( T3.date>='2024-04-26' ))  GROUP BY T1.idnew  ORDER BY T3.date ASC
Parameters:
[]
65 1.01 ms
SELECT DISTINCT(T1.idnew), T1.*,T2.idextranetuser,T2.lastname,T2.firstname,T2.signature,T2.city as city_extranetuser,T2.enseignant_etablissement,T2.enseignant_active,T3.idnewschedule,T3.date,T3.hour,T3.idcontact,T3.note  FROM news T1 INNER JOIN newschedules T3
                            ON T3.idnew=T1.idnew
                            INNER JOIN extranetusers T2 ON T2.idextranetuser=T1.idextranetuser
                            LEFT JOIN contacts T4 ON T4.idcontact=T3.idcontact  LEFT JOIN new_contact T5 ON T5.idnew=T1.idnew  WHERE 1  AND (T5.idcontact=124 ) AND T1.idnew NOT IN (10361,5043)  AND T1.publish=1 AND T1.publish=1 AND T1.valid=1  AND T1.type_news=1 AND (( T3.date<'2024-04-26' ))  GROUP BY T1.idnew  ORDER BY T3.date DESC
Parameters:
[]
66 0.10 ms
SELECT idclassification,classification,public_name FROM classifications WHERE 1 AND type="files" AND contacts=1 AND lagarce!=1 AND is_public IN (1)
Parameters:
[]
67 0.55 ms
SELECT COUNT(DISTINCT(of.idfile)) as total
                FROM object_file of,
                     files f,
                     file_classification fc,
                     classifications cl,typesfiles tf
                   WHERE of.idfile=f.idfile
                   AND f.idfile=fc.idfile
                   AND of.idobject='124'
                   AND of.object='contacts'
                   AND cl.idclassification=fc.idclassification AND ((cl.idclassification IN (112,168))) AND f.valid=1 AND f.publish=1 AND f.idtype=tf.idtype
Parameters:
[]
68 1.17 ms
SELECT * FROM bannieres
                WHERE publish=1
                AND valid=1
                AND is_bottom=1
                AND date_start<=NOW()
                AND date_end>=NOW()
                ORDER BY bannieres.order ASC
                LIMIT 0,10
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

0 Hits
0 Misses
0 Puts