Query Metrics

19 Database Queries
12 Different statements
9.75 ms Query time
0 Invalid entities

Queries

Group similar statements

#▲ Time Info
1 0.29 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.maintenance_mode AS maintenance_mode_3, t0.maintenance_title AS maintenance_title_4, t0.maintenance_subtitle AS maintenance_subtitle_5, t0.maintenance_text AS maintenance_text_6, t0.checkin_threshold_before AS checkin_threshold_before_7, t0.checkin_threshold_after AS checkin_threshold_after_8, t0.maximum_web_sales AS maximum_web_sales_9, t0.expire_web_sales AS expire_web_sales_10, t0.agenda AS agenda_11, t0.show_agenda AS show_agenda_12, t0.advice_title AS advice_title_13, t0.advice_content AS advice_content_14, t0.show_advice AS show_advice_15 FROM tkt_setting t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "lugo"
]
2 0.20 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.maintenance_mode AS maintenance_mode_3, t0.maintenance_title AS maintenance_title_4, t0.maintenance_subtitle AS maintenance_subtitle_5, t0.maintenance_text AS maintenance_text_6, t0.checkin_threshold_before AS checkin_threshold_before_7, t0.checkin_threshold_after AS checkin_threshold_after_8, t0.maximum_web_sales AS maximum_web_sales_9, t0.expire_web_sales AS expire_web_sales_10, t0.agenda AS agenda_11, t0.show_agenda AS show_agenda_12, t0.advice_title AS advice_title_13, t0.advice_content AS advice_content_14, t0.show_advice AS show_advice_15 FROM tkt_setting t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "lugo"
]
3 2.91 ms
SELECT COUNT(*) AS dctrn_count FROM (SELECT MIN(t0_.start_at) AS sclr_0, t1_.id AS id_1, t1_.name AS name_2, t1_.subtitle AS subtitle_3, t1_.description AS description_4, t1_.length AS length_5, t1_.`interval` AS interval_6, t1_.customNamePlace AS customNamePlace_7, t1_.customUrlMapPlace AS customUrlMapPlace_8, t1_.discount AS discount_9, t1_.discountText AS discountText_10, t1_.image AS image_11, t1_.banner AS banner_12, t1_.numbered AS numbered_13, t1_.free AS free_14, t1_.sale_by_box_office AS sale_by_box_office_15, t1_.public_on_box_office AS public_on_box_office_16, t1_.sale_by_web AS sale_by_web_17, t1_.public_on_web AS public_on_web_18, t1_.status AS status_19, t1_.active AS active_20, t1_.`external` AS external_21, t1_.external_place AS external_place_22, t1_.external_address AS external_address_23, t1_.external_url AS external_url_24, t1_.external_price AS external_price_25, t1_.slug AS slug_26, t1_.publish_at AS publish_at_27, t1_.start_selling_at AS start_selling_at_28, t1_.created_at AS created_at_29, t1_.update_at AS update_at_30, t1_.not_show AS not_show_31, t2_.id AS id_32, t2_.name AS name_33, t2_.active AS active_34, t2_.slug AS slug_35, t2_.system AS system_36, t3_.id AS id_37, t3_.name AS name_38, t3_.slug AS slug_39, t3_.system AS system_40, t4_.id AS id_41, t4_.name AS name_42, t4_.urlMap AS urlMap_43, t4_.address AS address_44, t4_.numbered AS numbered_45, t4_.capacity AS capacity_46, t4_.spaced AS spaced_47, t4_.scene AS scene_48, t4_.active AS active_49, t4_.system AS system_50 FROM tkt_event t1_ LEFT JOIN tkt_event_campaign t2_ ON t1_.campaign_id = t2_.id LEFT JOIN tkt_event_type t3_ ON t1_.type_id = t3_.id LEFT JOIN tkt_place t4_ ON t1_.place_id = t4_.id LEFT JOIN tkt_event_presentation t0_ ON t1_.id = t0_.event_id WHERE t1_.active = 1 AND t0_.active = 1 AND ((t1_.publish_at IS NOT NULL AND t1_.publish_at <= ?) OR t1_.publish_at IS NULL) AND (t0_.start_at >= ? OR t1_.status <> ?) AND t1_.public_on_web = 1 GROUP BY t1_.id ORDER BY sclr_0 ASC, t1_.id ASC) dctrn_table
Parameters:
[
  "2026-11-02 05:21:25"
  "2026-11-02 05:51:25"
  "valid"
]
4 2.59 ms
SELECT DISTINCT id_1 FROM (SELECT DISTINCT id_1, sclr_0 FROM (SELECT MIN(t0_.start_at) AS sclr_0, t1_.id AS id_1, t1_.name AS name_2, t1_.subtitle AS subtitle_3, t1_.description AS description_4, t1_.length AS length_5, t1_.`interval` AS interval_6, t1_.customNamePlace AS customNamePlace_7, t1_.customUrlMapPlace AS customUrlMapPlace_8, t1_.discount AS discount_9, t1_.discountText AS discountText_10, t1_.image AS image_11, t1_.banner AS banner_12, t1_.numbered AS numbered_13, t1_.free AS free_14, t1_.sale_by_box_office AS sale_by_box_office_15, t1_.public_on_box_office AS public_on_box_office_16, t1_.sale_by_web AS sale_by_web_17, t1_.public_on_web AS public_on_web_18, t1_.status AS status_19, t1_.active AS active_20, t1_.`external` AS external_21, t1_.external_place AS external_place_22, t1_.external_address AS external_address_23, t1_.external_url AS external_url_24, t1_.external_price AS external_price_25, t1_.slug AS slug_26, t1_.publish_at AS publish_at_27, t1_.start_selling_at AS start_selling_at_28, t1_.created_at AS created_at_29, t1_.update_at AS update_at_30, t1_.not_show AS not_show_31, t2_.id AS id_32, t2_.name AS name_33, t2_.active AS active_34, t2_.slug AS slug_35, t2_.system AS system_36, t3_.id AS id_37, t3_.name AS name_38, t3_.slug AS slug_39, t3_.system AS system_40, t4_.id AS id_41, t4_.name AS name_42, t4_.urlMap AS urlMap_43, t4_.address AS address_44, t4_.numbered AS numbered_45, t4_.capacity AS capacity_46, t4_.spaced AS spaced_47, t4_.scene AS scene_48, t4_.active AS active_49, t4_.system AS system_50, t0_.start_at AS start_at_51, t0_.active AS active_52 FROM tkt_event t1_ LEFT JOIN tkt_event_campaign t2_ ON t1_.campaign_id = t2_.id LEFT JOIN tkt_event_type t3_ ON t1_.type_id = t3_.id LEFT JOIN tkt_place t4_ ON t1_.place_id = t4_.id LEFT JOIN tkt_event_presentation t0_ ON t1_.id = t0_.event_id WHERE t1_.active = 1 AND t0_.active = 1 AND ((t1_.publish_at IS NOT NULL AND t1_.publish_at <= ?) OR t1_.publish_at IS NULL) AND (t0_.start_at >= ? OR t1_.status <> ?) AND t1_.public_on_web = 1 GROUP BY t1_.id ORDER BY t0_.start_at DESC) dctrn_result_inner ORDER BY sclr_0 ASC, id_1 ASC) dctrn_result LIMIT 12
Parameters:
[
  "2026-11-02 05:21:25"
  "2026-11-02 05:51:25"
  "valid"
]
5 0.51 ms
SELECT MIN(t0_.start_at) AS sclr_0, t1_.id AS id_1, t1_.name AS name_2, t1_.subtitle AS subtitle_3, t1_.description AS description_4, t1_.length AS length_5, t1_.`interval` AS interval_6, t1_.customNamePlace AS customNamePlace_7, t1_.customUrlMapPlace AS customUrlMapPlace_8, t1_.discount AS discount_9, t1_.discountText AS discountText_10, t1_.image AS image_11, t1_.banner AS banner_12, t1_.numbered AS numbered_13, t1_.free AS free_14, t1_.sale_by_box_office AS sale_by_box_office_15, t1_.public_on_box_office AS public_on_box_office_16, t1_.sale_by_web AS sale_by_web_17, t1_.public_on_web AS public_on_web_18, t1_.status AS status_19, t1_.active AS active_20, t1_.`external` AS external_21, t1_.external_place AS external_place_22, t1_.external_address AS external_address_23, t1_.external_url AS external_url_24, t1_.external_price AS external_price_25, t1_.slug AS slug_26, t1_.publish_at AS publish_at_27, t1_.start_selling_at AS start_selling_at_28, t1_.created_at AS created_at_29, t1_.update_at AS update_at_30, t1_.not_show AS not_show_31, t2_.id AS id_32, t2_.name AS name_33, t2_.active AS active_34, t2_.slug AS slug_35, t2_.system AS system_36, t3_.id AS id_37, t3_.name AS name_38, t3_.slug AS slug_39, t3_.system AS system_40, t4_.id AS id_41, t4_.name AS name_42, t4_.urlMap AS urlMap_43, t4_.address AS address_44, t4_.numbered AS numbered_45, t4_.capacity AS capacity_46, t4_.spaced AS spaced_47, t4_.scene AS scene_48, t4_.active AS active_49, t4_.system AS system_50, t1_.campaign_id AS campaign_id_51, t1_.place_id AS place_id_52, t1_.type_id AS type_id_53, t1_.ticket_layout_id AS ticket_layout_id_54, t1_.scheduling_id AS scheduling_id_55 FROM tkt_event t1_ LEFT JOIN tkt_event_campaign t2_ ON t1_.campaign_id = t2_.id LEFT JOIN tkt_event_type t3_ ON t1_.type_id = t3_.id LEFT JOIN tkt_place t4_ ON t1_.place_id = t4_.id LEFT JOIN tkt_event_presentation t0_ ON t1_.id = t0_.event_id WHERE t1_.active = 1 AND t0_.active = 1 AND ((t1_.publish_at IS NOT NULL AND t1_.publish_at <= ?) OR t1_.publish_at IS NULL) AND (t0_.start_at >= ? OR t1_.status <> ?) AND t1_.public_on_web = 1 AND t1_.id IN (?, ?, ?, ?, ?, ?, ?) GROUP BY t1_.id ORDER BY sclr_0 ASC, t1_.id ASC
Parameters:
[
  "2026-11-02 05:21:25"
  "2026-11-02 05:51:25"
  "valid"
  1180
  1181
  1182
  1183
  1184
  1185
  1189
]
6 0.12 ms
SELECT DATABASE()
Parameters:
[]
7 0.51 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "lugodb_prod"
]
8 0.06 ms
SELECT DATABASE()
Parameters:
[]
9 0.42 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "lugodb_prod"
]
10 0.05 ms
SELECT DATABASE()
Parameters:
[]
11 0.35 ms
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:
[
  "lugodb_prod"
  "doctrine_migration_versions"
]
12 0.05 ms
SELECT DATABASE()
Parameters:
[]
13 0.47 ms
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 = 'lugodb_prod' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "lugodb_prod"
  "doctrine_migration_versions"
]
14 0.59 ms
SELECT       c.COLUMN_NAME        AS field,
       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 WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
[
  "lugodb_prod"
  "lugodb_prod"
  "doctrine_migration_versions"
]
15 0.05 ms
SELECT DATABASE()
Parameters:
[]
16 0.31 ms
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:
[
  "lugodb_prod"
  "doctrine_migration_versions"
]
17 0.08 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
18 0.09 ms
SELECT DATABASE()
Parameters:
[]
19 0.12 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.time AS time_4, t0.active AS active_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.photo AS photo_8, t0.event_id AS event_id_9 FROM tkt_banner t0 WHERE t0.active = ?
Parameters:
[
  1
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\Order No errors.
App\Entity\Invoice No errors.
App\Entity\Event No errors.
App\Entity\Setting No errors.
App\Entity\Presentation No errors.
App\Entity\Cart No errors.
App\Entity\Cart\Item No errors.
App\Entity\Reservation No errors.
App\Entity\Price No errors.
App\Entity\Ticket No errors.
App\Entity\Campaign No errors.
App\Entity\Type No errors.
App\Entity\Place No errors.
App\Entity\TicketLayout No errors.
App\Entity\Scheduling No errors.
App\Entity\Sector No errors.
App\Entity\SectorSale No errors.
App\Entity\User No errors.
App\Entity\Seat No errors.
App\Entity\Cart\ItemTicket No errors.
App\Entity\Cart\ItemCoupon No errors.
App\Entity\Row No errors.
App\Entity\Banner No errors.