Query Metrics

24 Database Queries
23 Different statements
9.80 ms Query time
0 Invalid entities
0 Cache hits
0 Cache misses
0 Cache puts

Grouped Statements

Show all queries

Time Count Info
1.10 ms
(11.21%)
1
SELECT DISTINCT(s.idnewschedule),s.note,s.hour,c.idcontact,c.organisation,c.phone1,c.phone2,c.city,c.url_clean,MIN(s.date) AS datedebut
                  FROM newschedules s,contacts c 
                  WHERE s.idcontact=c.idcontact
                  AND s.idnew=7142 GROUP BY s.idcontact ORDER BY s.date ASC
Parameters:
[]
0.98 ms
(9.98%)
1
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:
[]
0.96 ms
(9.74%)
1
SELECT DISTINCT(date), note 
                FROM newschedules 
                WHERE idnew=7142
                AND idcontact=1094  ORDER BY date
Parameters:
[]
0.78 ms
(8.00%)
1
SELECT hour,note 
                  FROM newschedules 
                  WHERE date="2015-12-10" 
                  AND idnew=7142 
                  AND idcontact=1094
Parameters:
[]
0.62 ms
(6.33%)
1
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:
[
  "7142"
]
0.52 ms
(5.33%)
1
SELECT hour,note 
                  FROM newschedules 
                  WHERE date="2015-12-09" 
                  AND idnew=7142 
                  AND idcontact=1094
Parameters:
[]
0.48 ms
(4.86%)
2
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=7142 AND sc.date>='2024-04-20'  ORDER BY sc.date ASC LIMIT 0,1
Parameters:
[]
0.40 ms
(4.07%)
1
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=7142
Parameters:
[]
0.38 ms
(3.86%)
1
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=7142 AND sc.date<='2024-04-20'  ORDER BY sc.date ASC LIMIT 0,1
Parameters:
[]
0.32 ms
(3.25%)
1
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=7142 AND sc.date<='2024-04-20'  AND sc.idcontact=1094 GROUP BY sc.idcontact
Parameters:
[]
0.31 ms
(3.15%)
1
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=7142
Parameters:
[]
0.29 ms
(2.95%)
1
SELECT url_file FROM news WHERE idnew=7142
Parameters:
[]
0.29 ms
(2.92%)
1
SELECT t.title FROM texts t, text_spectacle ts
                      WHERE t.idtext=ts.idtext AND ts.idspectacle=14029
Parameters:
[]
0.28 ms
(2.85%)
1
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=7142
Parameters:
[]
0.27 ms
(2.77%)
1
SELECT hour,note 
                  FROM newschedules 
                  WHERE date="2015-12-11" 
                  AND idnew=7142 
                  AND idcontact=1094
Parameters:
[]
0.27 ms
(2.74%)
1
SELECT hour,note 
                  FROM newschedules 
                  WHERE date="2015-12-13" 
                  AND idnew=7142 
                  AND idcontact=1094
Parameters:
[]
0.27 ms
(2.72%)
1
SELECT hour,note 
                  FROM newschedules 
                  WHERE date="2015-12-12" 
                  AND idnew=7142 
                  AND idcontact=1094
Parameters:
[]
0.25 ms
(2.55%)
1
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=7142
Parameters:
[]
0.23 ms
(2.39%)
1
SELECT hour,note 
                  FROM newschedules 
                  WHERE date="2015-12-15" 
                  AND idnew=7142 
                  AND idcontact=1094
Parameters:
[]
0.22 ms
(2.19%)
1
SELECT hour,note 
                  FROM newschedules 
                  WHERE date="2015-12-18" 
                  AND idnew=7142 
                  AND idcontact=1094
Parameters:
[]
0.21 ms
(2.12%)
1
SELECT hour,note 
                  FROM newschedules 
                  WHERE date="2015-12-16" 
                  AND idnew=7142 
                  AND idcontact=1094
Parameters:
[]
0.20 ms
(2.03%)
1
SELECT t.title FROM texts t, text_spectacle ts
                      WHERE t.idtext=ts.idtext AND ts.idspectacle=5811
Parameters:
[]
0.20 ms
(2.00%)
1
SELECT hour,note 
                  FROM newschedules 
                  WHERE date="2015-12-17" 
                  AND idnew=7142 
                  AND idcontact=1094
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