Query Metrics

113 Database Queries
86 Different statements
537.14 ms Query time
0 Invalid entities
0 Cache hits
0 Cache misses
0 Cache puts

Queries

Group similar statements

# Time Info
1 0.46 ms
SELECT idperson FROM persons WHERE url_clean='KHEMIRI-Jonas-Hassen'
Parameters:
[]
2 0.52 ms
SELECT p0_.idperson AS idperson_0, p0_.lastname AS lastname_1, p0_.firstname AS firstname_2, p0_.sexe AS sexe_3, p0_.datestart AS datestart_4, p0_.dateend AS dateend_5, p0_.language AS language_6, p0_.language2 AS language2_7, p0_.email AS email_8, p0_.comment AS comment_9, p0_.cname AS cname_10, p0_.caddress AS caddress_11, p0_.czip AS czip_12, p0_.ccity AS ccity_13, p0_.ccountry AS ccountry_14, p0_.cphone AS cphone_15, p0_.cfax AS cfax_16, p0_.cemail AS cemail_17, p0_.cmobile AS cmobile_18, p0_.url_redirect AS url_redirect_19, p0_.url_clean AS url_clean_20, p0_.url_mav AS url_mav_21, p0_.dateupdate AS dateupdate_22, p0_.dateinsert AS dateinsert_23, p0_.publish AS publish_24, p0_.valid AS valid_25, p0_.idcorvin AS idcorvin_26, p0_.country AS country_27, p0_.idrole AS idrole_28, p0_.idextranetuser AS idextranetuser_29 FROM persons p0_ WHERE p0_.idperson = ?
Parameters:
[
  10704
]
3 1.00 ms
SELECT COUNT(DISTINCT(t.idtext))
                FROM text_author ta, texts t
                WHERE t.idtext=ta.idtext AND t.textfictif=0
                AND ta.idperson=10704 AND t.publish=1 AND t.type IN (0,2)
Parameters:
[]
4 0.58 ms
SELECT COUNT(DISTINCT(tt.idtext)) as total
                FROM text_translator tt, texts t
                WHERE 1
                AND t.idtext=tt.idtext
                AND t.textfictif=0
                AND tt.idperson=10704 AND t.publish=1
Parameters:
[]
5 1.05 ms
SELECT COUNT(DISTINCT(sp.idspectacle)) as total
                FROM spectacle_person sp, spectacles s
                WHERE 1
                AND sp.idspectacle=s.idspectacle
                AND sp.idperson=10704
                AND sp.idrole=1 AND s.publish=1
Parameters:
[]
6 0.42 ms
SELECT fr FROM countries WHERE id='SE'
Parameters:
[]
7 0.48 ms
SELECT fr FROM languages WHERE id='sv'
Parameters:
[]
8 0.34 ms
SELECT j1.idcontact,j1.organisation,j1.url_clean,j2.idoffice,j2.date_start,j2.date_end ,j3.idperson FROM theatreok_dev.contacts j1, theatreok_dev.contact_person j2, theatreok_dev.persons j3
                        WHERE j3.idperson=j2.idperson
                        AND j1.idcontact=j2.idcontact
                        AND j3.idperson=10704  AND j2.idoffice=1
Parameters:
[]
9 0.05 ms
SELECT DISTINCT(cl.type) FROM classifications cl WHERE ((cl.classification IN ('class_biotxt'))) AND persons=1
Parameters:
[]
10 1.62 ms
SELECT *
                FROM object_content oc,
                     contents c,
                     content_classification cc,
                     classifications cl
                   WHERE oc.idcontent=c.idcontent
                   AND c.idcontent=cc.idcontent
                   AND oc.idobject='10704'
                   AND oc.object='persons'
                   AND cl.idclassification=cc.idclassification AND c.publish=1 AND ((cl.classification IN ('class_biotxt'))) ORDER BY c.`range`,c.idcontent
Parameters:
[]
11 0.50 ms
SELECT j1.idclassification,j1.classification,j1.type,j1.idgroupclassification ,j3.idcontent FROM theatreok_dev.classifications j1, theatreok_dev.content_classification j2, theatreok_dev.contents j3
                        WHERE j3.idcontent=j2.idcontent
                        AND j1.idclassification=j2.idclassification
                        AND j3.idcontent=17975
Parameters:
[]
12 0.07 ms
SELECT DISTINCT(cl.type) FROM classifications cl WHERE ((cl.classification IN ('class_photo_person'))) AND persons=1
Parameters:
[]
13 2.31 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='10704'
                   AND of.object='persons'
                   AND cl.idclassification=fc.idclassification AND f.publish=1 AND ((cl.classification IN ('class_photo_person'))) AND f.idtype=tf.idtype ORDER BY f.`range`,f.idfile
Parameters:
[]
14 0.45 ms
SELECT t.`idtext`
                           FROM text_author ta
                           JOIN texts t ON ta.`idtext`=t.`idtext`
                           WHERE ta.`idperson` IN (10704)
Parameters:
[]
15 0.43 ms
SELECT tad.`idtextadaptation`
                               FROM text_adaptation tad
                               JOIN texts t ON t.`idtext`=tad.`idtext`
                               JOIN text_author ta ON t.`idtext`=ta.`idtext`
                               WHERE ta.`idperson` IN (10704)
Parameters:
[]
16 0.30 ms
SELECT t.`idtext`
                               FROM text_translator tt
                               JOIN texts t ON tt.`idtext`=t.`idtext`
                               WHERE
                               tt.`idperson` IN (10704)
Parameters:
[]
17 0.27 ms
SELECT tt.`idtexttraduction`
                                FROM text_traduction tt
                                JOIN text_author ta ON tt.`idtext`=ta.`idtext`
                                JOIN texts t ON tt.`idtext`=t.`idtext`
                                WHERE ta.`idperson` IN (10704)
Parameters:
[]
18 494.08 ms
SELECT s.`idspectacle`
                               FROM spectacles s
                               LEFT JOIN spectacle_person sp ON sp.`idspectacle`=s.`idspectacle`
                               LEFT JOIN text_spectacle ts ON ts.`idspectacle`=s.`idspectacle`
                               WHERE s.`publish`=1 AND s.`valid`=1
                               AND (sp.`idperson`=10704 OR ts.`idtext` IN (4519,12183,12847,19417,25124,4520,12184,12849,12848,19418,25125) )
Parameters:
[]
19 0.36 ms
SELECT  DISTINCT(multimedias.idmultimedia) 
FROM  `object_multimedia` ,
 `multimedias`  
 WHERE 1 AND object_multimedia.`idrole`=25  AND multimedias.`publish`=1  AND object_multimedia.`object`='persons'  AND object_multimedia.`idobject`=10704 AND multimedias.`idmultimedia`=object_multimedia.`idmultimedia` 
GROUP BY multimedias.idmultimedia 
ORDER BY multimedias.dateinsert 
DESC 
LIMIT 0,10
Parameters:
[]
20 0.98 ms
SELECT COUNT(DISTINCT(ct.`idcontent`))
            FROM spectacles s
            JOIN object_content oc ON s.`idspectacle`=oc.`idobject`
            JOIN contents ct ON oc.`idcontent`=ct.`idcontent`
            JOIN content_classification cc ON ct.`idcontent`=cc.`idcontent`
            WHERE s.`publish`=1 AND s.`valid`=1
            AND ct.`publish`=1 AND ct.`valid`=1
            AND cc.`idclassification`=101
            AND s.`idspectacle` IN (3524,4340,5461,5949,8901,12164,12235,15330,15553,20022,21032,22175,22574,22634,22688,22773,22877,22900,23856,25360,26487,30366,31046,32045,32962,34375)
Parameters:
[]
21 0.38 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_author j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=0  ORDER BY j2.classement ASC
Parameters:
[]
22 0.37 ms
SELECT COUNT(DISTINCT(t.idtext))
                        FROM text_traduction tt, texts t
                        LEFT OUTER JOIN contacts ON contacts.idcontact=t.idcontact_publisher
                        WHERE 1
                        AND tt.idtexttraduction=t.idtext
                        AND t.publish=1
                        AND tt.idtext IN (
                            SELECT idtext
                            FROM text_author
                            WHERE idperson=10704
                        )
Parameters:
[]
23 1.99 ms
SELECT DISTINCT(t.idtext),c.organisation,
                         c.url_clean as url_clean_publisher, c.country as publisher_country,
                         CONCAT_WS('-',t.publication_year,t.publication_month,'01') as datepublication,
    		             t.*
		    FROM text_traduction tt, texts t
		    LEFT OUTER JOIN contacts c ON c.idcontact=t.idcontact_publisher WHERE 1
        AND tt.idtexttraduction=t.idtext
        AND t.publish=1
        AND tt.idtext IN (
            SELECT idtext
            FROM text_author
            WHERE idperson=10704
        )ORDER BY date DESC  LIMIT 0, 20
Parameters:
[]
24 0.23 ms
SELECT t0_.type AS type_0 FROM texts t0_ WHERE t0_.idtext = ?
Parameters:
[
  "19418"
]
25 0.44 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=19418
                  ORDER BY t.title
Parameters:
[]
26 0.33 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_author j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=19417  ORDER BY j2.classement ASC
Parameters:
[]
27 0.20 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_translator j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=19418  ORDER BY j2.classement ASC
Parameters:
[]
28 0.04 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=19418
                  ORDER BY t.title
Parameters:
[]
29 0.03 ms
SELECT fr FROM languages WHERE id='fr'
Parameters:
[]
30 0.02 ms
SELECT fr FROM countries WHERE id='FR'
Parameters:
[]
31 0.11 ms
SELECT DISTINCT(ta.idtextadaptation) FROM text_adaptation ta WHERE ta.idtext=19418
Parameters:
[]
32 0.29 ms
SELECT t.idtext FROM texts t WHERE t.idtext=19418
Parameters:
[]
33 0.43 ms
SELECT COUNT(DISTINCT(s.idspectacle)) as total
            FROM text_spectacle ts, spectacles s
            WHERE ts.idspectacle=s.idspectacle AND s.publish=1 AND (ts.idtext=19418
                OR ts.idtext IN (
                    19418
                ))
Parameters:
[]
34 0.46 ms
SELECT COUNT(DISTINCT(t.`idtext`)) as total
                    FROM text_traduction tt, texts t
                    WHERE tt.`idtexttraduction`=t.`idtext` AND tt.`idtext`=19418 AND t.publish=1
Parameters:
[]
35 0.11 ms
SELECT t0_.type AS type_0 FROM texts t0_ WHERE t0_.idtext = ?
Parameters:
[
  "12848"
]
36 0.72 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=12848
                  ORDER BY t.title
Parameters:
[]
37 0.58 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_author j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=12847  ORDER BY j2.classement ASC
Parameters:
[]
38 0.22 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_translator j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=12848  ORDER BY j2.classement ASC
Parameters:
[]
39 0.04 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=12848
                  ORDER BY t.title
Parameters:
[]
40 0.03 ms
SELECT fr FROM languages WHERE id='fr'
Parameters:
[]
41 0.11 ms
SELECT DISTINCT(ta.idtextadaptation) FROM text_adaptation ta WHERE ta.idtext=12848
Parameters:
[]
42 0.12 ms
SELECT t.idtext FROM texts t WHERE t.idtext=12848
Parameters:
[]
43 0.47 ms
SELECT COUNT(DISTINCT(s.idspectacle)) as total
            FROM text_spectacle ts, spectacles s
            WHERE ts.idspectacle=s.idspectacle AND s.publish=1 AND (ts.idtext=12848
                OR ts.idtext IN (
                    12848
                ))
Parameters:
[]
44 0.32 ms
SELECT COUNT(DISTINCT(t.`idtext`)) as total
                    FROM text_traduction tt, texts t
                    WHERE tt.`idtexttraduction`=t.`idtext` AND tt.`idtext`=12848 AND t.publish=1
Parameters:
[]
45 0.16 ms
SELECT t0_.type AS type_0 FROM texts t0_ WHERE t0_.idtext = ?
Parameters:
[
  "12184"
]
46 0.18 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=12184
                  ORDER BY t.title
Parameters:
[]
47 0.20 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_author j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=12183  ORDER BY j2.classement ASC
Parameters:
[]
48 0.19 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_translator j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=12184  ORDER BY j2.classement ASC
Parameters:
[]
49 0.04 ms
SELECT DISTINCT(cl.type) FROM classifications cl WHERE ((cl.classification IN ('class_couv'))) AND texts=1
Parameters:
[]
50 0.85 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='12184'
                   AND of.object='texts'
                   AND cl.idclassification=fc.idclassification AND f.publish=1 AND ((cl.classification IN ('class_couv'))) AND f.idtype=tf.idtype ORDER BY f.`range`,f.idfile
Parameters:
[]
51 0.04 ms
SELECT DISTINCT(cl.type) FROM classifications cl WHERE ((cl.classification IN ('class_couv'))) AND texts=1
Parameters:
[]
52 0.06 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='12184'
                   AND of.object='texts'
                   AND cl.idclassification=fc.idclassification AND f.publish=1 AND ((cl.classification IN ('class_couv'))) AND f.idtype=tf.idtype ORDER BY f.`range`,f.idfile
Parameters:
[]
53 0.03 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=12184
                  ORDER BY t.title
Parameters:
[]
54 0.03 ms
SELECT fr FROM languages WHERE id='fr'
Parameters:
[]
55 0.03 ms
SELECT DISTINCT(cl.type) FROM classifications cl WHERE ((cl.classification IN ('class_couv'))) AND texts=1
Parameters:
[]
56 0.05 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='12184'
                   AND of.object='texts'
                   AND cl.idclassification=fc.idclassification AND f.publish=1 AND ((cl.classification IN ('class_couv'))) AND f.idtype=tf.idtype ORDER BY f.`range`,f.idfile
Parameters:
[]
57 0.22 ms
SELECT DISTINCT(ta.idtextadaptation) FROM text_adaptation ta WHERE ta.idtext=12184
Parameters:
[]
58 0.17 ms
SELECT t.idtext FROM texts t WHERE t.idtext=12184
Parameters:
[]
59 0.31 ms
SELECT COUNT(DISTINCT(s.idspectacle)) as total
            FROM text_spectacle ts, spectacles s
            WHERE ts.idspectacle=s.idspectacle AND s.publish=1 AND (ts.idtext=12184
                OR ts.idtext IN (
                    12184
                ))
Parameters:
[]
60 0.33 ms
SELECT COUNT(DISTINCT(t.`idtext`)) as total
                    FROM text_traduction tt, texts t
                    WHERE tt.`idtexttraduction`=t.`idtext` AND tt.`idtext`=12184 AND t.publish=1
Parameters:
[]
61 0.11 ms
SELECT t0_.type AS type_0 FROM texts t0_ WHERE t0_.idtext = ?
Parameters:
[
  "12849"
]
62 0.17 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=12849
                  ORDER BY t.title
Parameters:
[]
63 0.04 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_author j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=12183  ORDER BY j2.classement ASC
Parameters:
[]
64 0.19 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_translator j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=12849  ORDER BY j2.classement ASC
Parameters:
[]
65 0.04 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=12849
                  ORDER BY t.title
Parameters:
[]
66 0.03 ms
SELECT fr FROM languages WHERE id='fr'
Parameters:
[]
67 0.11 ms
SELECT DISTINCT(ta.idtextadaptation) FROM text_adaptation ta WHERE ta.idtext=12849
Parameters:
[]
68 0.17 ms
SELECT t.idtext FROM texts t WHERE t.idtext=12849
Parameters:
[]
69 0.34 ms
SELECT COUNT(DISTINCT(s.idspectacle)) as total
            FROM text_spectacle ts, spectacles s
            WHERE ts.idspectacle=s.idspectacle AND s.publish=1 AND (ts.idtext=12849
                OR ts.idtext IN (
                    12849
                ))
Parameters:
[]
70 0.23 ms
SELECT COUNT(DISTINCT(t.`idtext`)) as total
                    FROM text_traduction tt, texts t
                    WHERE tt.`idtexttraduction`=t.`idtext` AND tt.`idtext`=12849 AND t.publish=1
Parameters:
[]
71 0.21 ms
SELECT t0_.type AS type_0 FROM texts t0_ WHERE t0_.idtext = ?
Parameters:
[
  "25125"
]
72 0.37 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=25125
                  ORDER BY t.title
Parameters:
[]
73 0.40 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_author j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=25124  ORDER BY j2.classement ASC
Parameters:
[]
74 0.28 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_translator j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=25125  ORDER BY j2.classement ASC
Parameters:
[]
75 0.04 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=25125
                  ORDER BY t.title
Parameters:
[]
76 0.03 ms
SELECT fr FROM languages WHERE id='fr'
Parameters:
[]
77 0.12 ms
SELECT DISTINCT(ta.idtextadaptation) FROM text_adaptation ta WHERE ta.idtext=25125
Parameters:
[]
78 0.15 ms
SELECT t.idtext FROM texts t WHERE t.idtext=25125
Parameters:
[]
79 0.63 ms
SELECT COUNT(DISTINCT(s.idspectacle)) as total
            FROM text_spectacle ts, spectacles s
            WHERE ts.idspectacle=s.idspectacle AND s.publish=1 AND (ts.idtext=25125
                OR ts.idtext IN (
                    25125
                ))
Parameters:
[]
80 0.20 ms
SELECT COUNT(DISTINCT(t.`idtext`)) as total
                    FROM text_traduction tt, texts t
                    WHERE tt.`idtexttraduction`=t.`idtext` AND tt.`idtext`=25125 AND t.publish=1
Parameters:
[]
81 0.22 ms
SELECT t0_.type AS type_0 FROM texts t0_ WHERE t0_.idtext = ?
Parameters:
[
  "4520"
]
82 0.30 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=4520
                  ORDER BY t.title
Parameters:
[]
83 0.19 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_author j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=4519  ORDER BY j2.classement ASC
Parameters:
[]
84 0.19 ms
SELECT j1.idperson,j1.lastname,j1.firstname,j1.url_clean,j1.valid ,j3.idtext FROM theatreok_dev.persons j1, theatreok_dev.text_translator j2, theatreok_dev.texts j3
                        WHERE j3.idtext=j2.idtext
                        AND j1.idperson=j2.idperson
                        AND j3.idtext=4520  ORDER BY j2.classement ASC
Parameters:
[]
85 0.04 ms
SELECT t.idtext, t.title, t.type, t.language, t.date, t.url_clean
                  FROM texts t, text_traduction tt
                  WHERE t.idtext=tt.idtext
                  AND tt.idtexttraduction=4520
                  ORDER BY t.title
Parameters:
[]
86 0.03 ms
SELECT fr FROM languages WHERE id='fr'
Parameters:
[]
87 0.11 ms
SELECT DISTINCT(ta.idtextadaptation) FROM text_adaptation ta WHERE ta.idtext=4520
Parameters:
[]
88 0.29 ms
SELECT t.idtext FROM texts t WHERE t.idtext=4520
Parameters:
[]
89 0.44 ms
SELECT COUNT(DISTINCT(s.idspectacle)) as total
            FROM text_spectacle ts, spectacles s
            WHERE ts.idspectacle=s.idspectacle AND s.publish=1 AND (ts.idtext=4520
                OR ts.idtext IN (
                    4520
                ))
Parameters:
[]
90 0.29 ms
SELECT COUNT(DISTINCT(t.`idtext`)) as total
                    FROM text_traduction tt, texts t
                    WHERE tt.`idtexttraduction`=t.`idtext` AND tt.`idtext`=4520 AND t.publish=1
Parameters:
[]
91 0.72 ms
SELECT  DISTINCT(playlists.idplaylist), playlists.* 
FROM  `playlist_classification` ,
 `playlists`  
 WHERE 1  AND playlists.`publish`=1  AND playlists.`idtext` IN (4519,12183,12847,19417,25124,4520,12184,12849,12848,19418,25125)  AND playlist_classification.`idclassification`=144 AND playlists.`idplaylist`=playlist_classification.`idplaylist` 
GROUP BY playlists.idplaylist 
ORDER BY playlists.dateinsert 
DESC 
LIMIT 0,10
Parameters:
[]
92 0.04 ms
SELECT  DISTINCT(playlists.idplaylist), playlists.* 
FROM  `playlist_classification` ,
 `playlists`  
 WHERE 1  AND playlists.`publish`=1  AND playlists.`idtext` IN (4519,12183,12847,19417,25124,4520,12184,12849,12848,19418,25125)  AND playlist_classification.`idclassification`=144 AND playlists.`idplaylist`=playlist_classification.`idplaylist` 
GROUP BY playlists.idplaylist 
ORDER BY playlists.dateinsert 
DESC 
LIMIT 0,10
Parameters:
[]
93 0.42 ms
SELECT COUNT(t.`idtext`) AS total
                         FROM text_traduction tt, text_translator ttr, texts t
                            LEFT JOIN contacts ON contacts.idcontact=t.idcontact_publisher
                         WHERE 1
                         AND t.idtext=tt.idtexttraduction
                         AND t.idtext=ttr.idtext
                         AND ttr.idperson=10704
                         AND t.type=1
Parameters:
[]
94 0.04 ms
SELECT COUNT(DISTINCT(t.idtext))
                        FROM text_traduction tt, texts t
                        LEFT OUTER JOIN contacts ON contacts.idcontact=t.idcontact_publisher
                        WHERE 1
                        AND tt.idtexttraduction=t.idtext
                        AND t.publish=1
                        AND tt.idtext IN (
                            SELECT idtext
                            FROM text_author
                            WHERE idperson=10704
                        )
Parameters:
[]
95 0.05 ms
SELECT  DISTINCT(playlists.idplaylist), playlists.* 
FROM  `playlist_classification` ,
 `playlists`  
 WHERE 1  AND playlists.`publish`=1  AND playlists.`idtext` IN (4519,12183,12847,19417,25124,4520,12184,12849,12848,19418,25125)  AND playlist_classification.`idclassification`=144 AND playlists.`idplaylist`=playlist_classification.`idplaylist` 
GROUP BY playlists.idplaylist 
ORDER BY playlists.dateinsert 
DESC 
LIMIT 0,10
Parameters:
[]
96 0.04 ms
SELECT  DISTINCT(playlists.idplaylist), playlists.* 
FROM  `playlist_classification` ,
 `playlists`  
 WHERE 1  AND playlists.`publish`=1  AND playlists.`idtext` IN (4519,12183,12847,19417,25124,4520,12184,12849,12848,19418,25125)  AND playlist_classification.`idclassification`=144 AND playlists.`idplaylist`=playlist_classification.`idplaylist` 
GROUP BY playlists.idplaylist 
ORDER BY playlists.dateinsert 
DESC 
LIMIT 0,10
Parameters:
[]
97 0.22 ms
SELECT COUNT(*) ,j3.idperson FROM theatreok_dev.text_classification j1, theatreok_dev.text_person j2, theatreok_dev.persons j3
                        WHERE j3.idperson=j2.idperson
                        AND j1.idtext=j2.idtext
                        AND j3.idperson=10704
Parameters:
[]
98 0.23 ms
SELECT COUNT(DISTINCT(p.`idplaylist`)) as total
                FROM playlists p
                    LEFT JOIN playlist_classification pc ON pc.`idplaylist`=p.`idplaylist`
                    LEFT JOIN classifications c ON pc.`idclassification`=c.`idclassification`
                WHERE p.`publish`=1
                AND p.`idperson` IN (10704)  AND c.`classification`='class_auteur_meme'
Parameters:
[]
99 1.14 ms
SELECT DISTINCT(s.idschedule),hour,date,s.note,s.url_spectacle,s.url_booking,s.idcontact_festival,s.hour,s.idspectacle,
                    c.idcontact,c.organisation,c.phone1,c.phone2,c.city,c.url_clean,
                    ft.idcontact as festival_idcontact,ft.organisation as festival_organisation,ft.city as festival_city,ft.url_clean as festival_url_clean
                    FROM schedules s
                    JOIN contacts c ON s.idcontact=c.idcontact
                    LEFT JOIN contacts ft ON s.idcontact_festival=ft.idcontact
                    WHERE 1 AND s.idspectacle IN (3524,4340,5461,5949,8901,12164,12235,15330,15553,20022,21032,22175,22574,22634,22688,22773,22877,22900,23856,25360,26487,30366,31046,32045,32962,34375) AND s.date>='2024-04-18' ORDER BY s.date ASC LIMIT 0,1
Parameters:
[]
100 1.01 ms
SELECT schedules.`date`, YEAR(schedules.`date`) as annee
            FROM schedules, spectacles
            WHERE schedules.`idspectacle`=spectacles.`idspectacle`
            AND spectacles.`publish`=1
            AND schedules.`idspectacle` IN (3524,4340,5461,5949,8901,12164,12235,15330,15553,20022,21032,22175,22574,22634,22688,22773,22877,22900,23856,25360,26487,30366,31046,32045,32962,34375)
            GROUP BY spectacles.`idspectacle`
            ORDER BY schedules.`date`
Parameters:
[]
101 0.51 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_person T5 ON T5.idnew=T1.idnew  WHERE 1  AND (T5.idperson=10704 ) AND T1.publish=1
Parameters:
[]
102 0.38 ms
SELECT  COUNT(DISTINCT(m.idmultimedia)) 
                FROM object_multimedia om, multimedias m
                WHERE om.idmultimedia=m.idmultimedia
                AND om.idobject=10704
                AND om.object='persons'
                AND m.publish=1
Parameters:
[]
103 0.30 ms
SELECT COUNT(DISTINCT(d.`idpodcast`)) as total
                FROM podcasts d, podcast_person do
                WHERE d.`publish`=1
                AND do.`idpodcast`= d.`idpodcast` AND do.`idperson`=10704 AND d.code_franceinter IS NOT NULL
Parameters:
[]
104 0.23 ms
SELECT COUNT(DISTINCT(d.`idpodcast`)) as total
                FROM podcasts d, podcast_person do
                WHERE d.`publish`=1
                AND do.`idpodcast`= d.`idpodcast` AND do.`idperson`=10704 AND d.code_soundcloud IS NOT NULL
Parameters:
[]
105 0.40 ms
SELECT COUNT(DISTINCT(T1.`idtext`)) as total  FROM texts T1
                                LEFT JOIN contacts T2 ON T2.`idcontact`=T1.`idcontact_publisher`  ,object_content oc2, contents c2, content_classification cc2  WHERE 1  AND oc2.idcontent=c2.idcontent
                            AND cc2.idcontent=c2.idcontent
                            AND oc2.idobject=T1.idtext
                            AND cc2.idclassification IN (125)
                            AND oc2.object='texts'  AND T1.`idtext` IN (4519,12183,12847,19417,25124,4520,12184,12849,12848,19418,25125)  ORDER BY publication_year DESC
Parameters:
[]
106 1.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 (125) AND s0_.idspectacle = o2_.idobject AND c9_.idcontent = o2_.idcontent AND s0_.idspectacle IN (3524, 4340, 5461, 5949, 8901, 12164, 12235, 15330, 15553, 20022, 21032, 22175, 22574, 22634, 22688, 22773, 22877, 22900, 23856, 25360, 26487, 30366, 31046, 32045, 32962, 34375) ORDER BY sclr_1 DESC
Parameters:
[]
107 1.29 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 (82) AND s0_.idspectacle = o2_.idobject AND c9_.idcontent = o2_.idcontent AND s0_.idspectacle IN (3524, 4340, 5461, 5949, 8901, 12164, 12235, 15330, 15553, 20022, 21032, 22175, 22574, 22634, 22688, 22773, 22877, 22900, 23856, 25360, 26487, 30366, 31046, 32045, 32962, 34375) ORDER BY sclr_1 DESC
Parameters:
[]
108 1.49 ms
SELECT  DISTINCT(multimedias.idmultimedia), multimedias.*,spectacles.`idspectacle`,schedules.`idcontact` 
FROM  `object_multimedia` ,
 `schedules` ,
 `spectacles` ,
 `contacts` ,
 `multimedias` ,
 `multimedia_classification`  
 WHERE 1  AND multimedias.`publish`=1  AND object_multimedia.`object`='spectacles'  AND object_multimedia.`idrole` IS NULL  AND schedules.`date` BETWEEN '1999-01-01' AND '2030-01-01'   AND object_multimedia.`object`='spectacles'  AND object_multimedia.`idobject` IN (3524,4340,5461,5949,8901,12164,12235,15330,15553,20022,21032,22175,22574,22634,22688,22773,22877,22900,23856,25360,26487,30366,31046,32045,32962,34375)  AND multimedia_classification.`idclassification`=145 AND multimedias.`idmultimedia`=object_multimedia.`idmultimedia` AND schedules.`idspectacle`=spectacles.`idspectacle` AND spectacles.`idspectacle`=object_multimedia.`idobject` AND contacts.`idcontact`=schedules.`idcontact` AND multimedias.`idmultimedia`=object_multimedia.`idmultimedia` AND multimedias.`idmultimedia`=multimedia_classification.`idmultimedia` 
 GROUP BY object_multimedia.`idobject` 
ORDER BY schedules.`date` 
ASC 
LIMIT 0,100
Parameters:
[]
109 1.06 ms
SELECT t0.idstat AS idstat_1, t0.type AS type_2, t0.module AS module_3, t0.url AS url_4, t0.idcontent AS idcontent_5, t0.object AS object_6, t0.idobject AS idobject_7, t0.video AS video_8, t0.remote_addr AS remote_addr_9, t0.lng AS lng_10, t0.source AS source_11, t0.md5url AS md5url_12, t0.dateinsert AS dateinsert_13 FROM stats t0 WHERE t0.remote_addr = ? AND t0.idcontent = ? AND t0.md5url = ?
Parameters:
[
  "baeb4115b971d0f14e8b24ad533dd53f-d28a"
  0
  "ce197f9035a6c1e912676651a0a39a13"
]
110 1.94 ms
INSERT INTO stats (type, module, url, md5url, idcontent, object, idobject, video, lng, remote_addr, source) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  "article"
  "thnet"
  "/biographies/KHEMIRI-Jonas-Hassen/textes-traductions/"
  "ce197f9035a6c1e912676651a0a39a13"
  0
  "persons"
  10704
  0
  "fr"
  "baeb4115b971d0f14e8b24ad533dd53f-d28a"
  "/home/web/theatre-contemporain.net/dev/src/Controller/BiographieController.php:553"
]
111 0.06 ms
SELECT DISTINCT(cl.type) FROM classifications cl WHERE ((cl.classification IN ('class_photo_person'))) AND persons=1
Parameters:
[]
112 0.08 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='10704'
                   AND of.object='persons'
                   AND cl.idclassification=fc.idclassification AND f.publish=1 AND ((cl.classification IN ('class_photo_person'))) AND f.idtype=tf.idtype ORDER BY f.`range`,f.idfile
Parameters:
[]
113 0.82 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