Query Metrics

41 Database Queries
20 Different statements
51.19 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
16.81 ms
(32.83%)
1
SELECT       c.COLUMN_NAME        AS field,
           IF(
        x.CHECK_CLAUSE IS NOT NULL AND c.COLUMN_TYPE = 'longtext',
        'json',
        c.COLUMN_TYPE
    )       AS type,
       c.IS_NULLABLE        AS `null`,
       c.COLUMN_KEY         AS `key`,
       c.COLUMN_DEFAULT     AS `default`,
       c.EXTRA,
       c.COLUMN_COMMENT     AS comment,
       c.CHARACTER_SET_NAME AS characterset,
       c.COLLATION_NAME     AS collation
FROM information_schema.COLUMNS c
    INNER JOIN information_schema.TABLES t
        ON t.TABLE_NAME = c.TABLE_NAME
    LEFT JOIN information_schema.CHECK_CONSTRAINTS x
    ON (
        c.TABLE_SCHEMA = x.CONSTRAINT_SCHEMA
        AND c.TABLE_NAME = x.TABLE_NAME
        AND x.CHECK_CLAUSE = CONCAT('json_valid(`', c.COLUMN_NAME , '`)')
    ) WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
[
  "tressol-chabrier"
  "tressol-chabrier"
  "doctrine_migration_versions"
]
13.97 ms
(27.28%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.name_for_meeting AS name_for_meeting_3, t0.description AS description_4, t0.image_id AS image_id_5 FROM expert t0
Parameters:
[]
8.33 ms
(16.28%)
1
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.opening_hours_periods AS opening_hours_periods_2, e0_.adresse AS adresse_3, e0_.postal_code AS postal_code_4, e0_.ville AS ville_5, e0_.telephone AS telephone_6, e0_.email AS email_7, e0_.concession_email AS concession_email_8, e0_.concession_telephone AS concession_telephone_9, e0_.latitude AS latitude_10, e0_.longtitude AS longtitude_11, e0_.detail_stockage AS detail_stockage_12, c1_.name AS name_13 FROM etablissement e0_ LEFT JOIN etablissement_car_marque e2_ ON e0_.id = e2_.etablissement_id LEFT JOIN car_marque c1_ ON c1_.id = e2_.car_marque_id WHERE ((e0_.latitude IS NOT NULL AND e0_.count_car > 0 AND e0_.longtitude IS NOT NULL AND e0_.publie = 1) OR e0_.id = ?) AND e0_.detail_stockage IS NULL ORDER BY e0_.name ASC
Parameters:
[
  158
]
2.01 ms
(3.92%)
10
SELECT t0.id AS id_1, t0.type AS type_2, t0.data_count AS data_count_3, t0.update_at AS update_at_4 FROM data_count t0 WHERE t0.type = ? LIMIT 1
Parameters:
[
  "USED_CAR"
]
1.67 ms
(3.26%)
2
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "tressol-chabrier"
]
1.08 ms
(2.11%)
1
SELECT DISTINCT            k.CONSTRAINT_NAME,
            k.COLUMN_NAME,
            k.REFERENCED_TABLE_NAME,
            k.REFERENCED_COLUMN_NAME,
            k.ORDINAL_POSITION /*!50116,
            c.UPDATE_RULE,
            c.DELETE_RULE */
FROM information_schema.key_column_usage k /*!50116
INNER JOIN information_schema.referential_constraints c
ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME
AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'tressol-chabrier' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "tressol-chabrier"
  "doctrine_migration_versions"
]
1.04 ms
(2.02%)
4
SELECT t0.id AS id_1, t0.dir_base AS dir_base_2, t0.name AS name_3, t0.type AS type_4, t0.info AS info_5 FROM upload t0 WHERE t0.id = ?
Parameters:
[
  20
]
0.94 ms
(1.84%)
6
SELECT DATABASE()
Parameters:
[]
0.91 ms
(1.78%)
1
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.opening_hours_periods AS opening_hours_periods_2, e0_.adresse AS adresse_3, e0_.postal_code AS postal_code_4, e0_.ville AS ville_5, e0_.telephone AS telephone_6, e0_.email AS email_7, e0_.concession_email AS concession_email_8, e0_.concession_telephone AS concession_telephone_9, e0_.latitude AS latitude_10, e0_.longtitude AS longtitude_11, e0_.detail_stockage AS detail_stockage_12 FROM etablissement e0_ WHERE e0_.latitude IS NOT NULL AND e0_.count_car > 0 AND e0_.longtitude IS NOT NULL AND e0_.publie = 1 AND e0_.detail_stockage IS NULL ORDER BY e0_.name ASC
Parameters:
[]
0.78 ms
(1.53%)
3
SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.route_name AS route_name_4, t0.seo_title AS seo_title_5, t0.seo_description AS seo_description_6, t0.seo_h1 AS seo_h1_7, t0.hektor_text_logged AS hektor_text_logged_8, t0.hektor_text_not_logged AS hektor_text_not_logged_9, t0.hektor_text_is_differnet AS hektor_text_is_differnet_10 FROM cms_page t0 WHERE t0.route_name = ? LIMIT 1
Parameters:
[
  "concessionNousTrouver"
]
0.69 ms
(1.35%)
1
SELECT e0_.id AS id_0, e0_.name AS name_1, e0_.alias AS alias_2, e0_.adresse AS adresse_3, e0_.postal_code AS postal_code_4, e0_.telephone AS telephone_5, e0_.contact_nom AS contact_nom_6, e0_.photos AS photos_7, e0_.fax AS fax_8, e0_.state AS state_9, e0_.count_car AS count_car_10, e0_.ville AS ville_11, e0_.latitude AS latitude_12, e0_.longtitude AS longtitude_13, e0_.description AS description_14, e0_.cgi_code AS cgi_code_15, e0_.time_week_morning_start AS time_week_morning_start_16, e0_.time_week_morning_end AS time_week_morning_end_17, e0_.time_week_afternoon_start AS time_week_afternoon_start_18, e0_.time_week_afternoon_end AS time_week_afternoon_end_19, e0_.time_we_morning_start AS time_we_morning_start_20, e0_.time_we_morning_end AS time_we_morning_end_21, e0_.time_we_afternoon_start AS time_we_afternoon_start_22, e0_.time_we_afternoon_end AS time_we_afternoon_end_23, e0_.autolink_id AS autolink_id_24, e0_.email AS email_25, e0_.image AS image_26, e0_.siren AS siren_27, e0_.autodiscount_name AS autodiscount_name_28, e0_.autodiscount_email AS autodiscount_email_29, e0_.autodiscount_phone AS autodiscount_phone_30, e0_.concession_email AS concession_email_31, e0_.concession_telephone AS concession_telephone_32, e0_.virtuel AS virtuel_33, e0_.id_base_tressol AS id_base_tressol_34, e0_.id_google AS id_google_35, e0_.affaire AS affaire_36, e0_.siret AS siret_37, e0_.garage_auto AS garage_auto_38, e0_.garage_moto AS garage_moto_39, e0_.occasion_pro AS occasion_pro_40, e0_.publie AS publie_41, e0_.experts AS experts_42, e0_.total_review AS total_review_43, e0_.average_review_rating AS average_review_rating_44, e0_.seo_description AS seo_description_45, e0_.opening_hours_text AS opening_hours_text_46, e0_.opening_hours_periods AS opening_hours_periods_47, e0_.raison_sociale AS raison_sociale_48, e0_.detail_stockage AS detail_stockage_49, e0_.street_number AS street_number_50, e0_.route AS route_51, e0_.bigquery AS bigquery_52, e0_.email_lead_vo AS email_lead_vo_53, e0_.disabled_google AS disabled_google_54, e0_.enable_json_lead AS enable_json_lead_55, e0_.mecaplanning_ent_id AS mecaplanning_ent_id_56, e0_.mecaplanning_ent_key AS mecaplanning_ent_key_57, e0_.mecaplanning_dms_id AS mecaplanning_dms_id_58, e0_.mecaplanning_site_code AS mecaplanning_site_code_59, e0_.mecaplanning_site_id AS mecaplanning_site_id_60, e0_.mecaplanning_workshop_code AS mecaplanning_workshop_code_61, e0_.mecaplanning_workshop_id AS mecaplanning_workshop_id_62, e0_.mecaplanning_porovider_name AS mecaplanning_porovider_name_63 FROM etablissement e0_ WHERE e0_.alias = ? AND e0_.count_car > 0
Parameters:
[
  "autodiscountpezenas"
]
0.55 ms
(1.08%)
1
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.natcode AS natcode_2, c0_.state AS state_3, c0_.brand_logo AS brand_logo_4, c0_.description AS description_5, c0_.ranking_score AS ranking_score_6, c0_.ranking_score_vn AS ranking_score_vn_7, c0_.regroupement AS regroupement_8, c0_.total_vo AS total_vo_9, c0_.total_vn AS total_vn_10 FROM car_marque c0_ WHERE c0_.state = 1 ORDER BY c0_.name ASC
Parameters:
[]
0.44 ms
(0.86%)
1
SELECT t.TABLE_NAME,
           t.ENGINE,
           t.AUTO_INCREMENT,
           t.TABLE_COMMENT,
           t.CREATE_OPTIONS,
           t.TABLE_COLLATION,
           ccsa.CHARACTER_SET_NAME
      FROM information_schema.TABLES t
        INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa
            ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[
  "tressol-chabrier"
  "doctrine_migration_versions"
]
0.34 ms
(0.67%)
1
SELECT e0_.id AS id_0, e0_.image AS image_1, e0_.name AS name_2, e0_.opening_hours_periods AS opening_hours_periods_3, e0_.total_review AS total_review_4, e0_.average_review_rating AS average_review_rating_5, e0_.seo_description AS seo_description_6, e0_.description AS description_7, e0_.time_week_morning_start AS time_week_morning_start_8, e0_.time_week_morning_end AS time_week_morning_end_9, e0_.time_week_afternoon_start AS time_week_afternoon_start_10, e0_.time_week_afternoon_end AS time_week_afternoon_end_11, e0_.adresse AS adresse_12, e0_.postal_code AS postal_code_13, e0_.ville AS ville_14, e0_.telephone AS telephone_15, e0_.email AS email_16, e0_.concession_email AS concession_email_17, e0_.concession_telephone AS concession_telephone_18, e0_.latitude AS latitude_19, e0_.longtitude AS longtitude_20, e0_.opening_hours_periods AS opening_hours_periods_21, e0_.disabled_google AS disabled_google_22 FROM etablissement e0_ WHERE e0_.id = ?
Parameters:
[
  109
]
0.34 ms
(0.67%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.natcode AS natcode_3, t0.state AS state_4, t0.brand_logo AS brand_logo_5, t0.description AS description_6, t0.ranking_score AS ranking_score_7, t0.ranking_score_vn AS ranking_score_vn_8, t0.regroupement AS regroupement_9, t0.total_vo AS total_vo_10, t0.total_vn AS total_vn_11 FROM car_marque t0 INNER JOIN etablissement_car_marque ON t0.id = etablissement_car_marque.car_marque_id WHERE etablissement_car_marque.etablissement_id = ?
Parameters:
[
  109
]
0.33 ms
(0.65%)
1
SELECT t0.id AS id_1, t0.image AS image_2, t0.start_date AS start_date_3, t0.end_date AS end_date_4, t0.legales_text AS legales_text_5 FROM promo t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  1
]
0.30 ms
(0.58%)
1
SELECT r0_.id AS id_0, r0_.author_name AS author_name_1, r0_.text AS text_2, r0_.score AS score_3, r0_.time AS time_4 FROM review_detail r0_ WHERE r0_.etablissement_id = ? LIMIT 6
Parameters:
[
  109
]
0.26 ms
(0.50%)
1
SELECT e0_.name AS name_0, e0_.total_review AS total_review_1, e0_.average_review_rating AS average_review_rating_2, e0_.adresse AS adresse_3, e0_.postal_code AS postal_code_4, e0_.ville AS ville_5, e0_.telephone AS telephone_6, e0_.email AS email_7, e0_.concession_email AS concession_email_8, e0_.concession_telephone AS concession_telephone_9, e0_.latitude AS latitude_10, e0_.longtitude AS longtitude_11, e0_.opening_hours_text AS opening_hours_text_12 FROM etablissement e0_ WHERE e0_.id = ?
Parameters:
[
  109
]
0.26 ms
(0.50%)
1
SELECT        NON_UNIQUE  AS Non_Unique,
        INDEX_NAME  AS Key_name,
        COLUMN_NAME AS Column_Name,
        SUB_PART    AS Sub_Part,
        INDEX_TYPE  AS Index_Type
FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX
Parameters:
[
  "tressol-chabrier"
  "doctrine_migration_versions"
]
0.15 ms
(0.29%)
1
SELECT * FROM doctrine_migration_versions
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection
internal doctrine.dbal.internal_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
internal doctrine.orm.internal_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping