Query Metrics

25 Database Queries
13 Different statements
477.42 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
112.37 ms
(23.54%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.uuid AS uuid_4, t0.url_slug AS url_slug_5, t0.og_description AS og_description_6, t0.active AS active_7, t0.id AS id_8, t0.price AS price_9, t0.bot_id AS bot_id_10, t0.plan_id AS plan_id_11 FROM bot_plan t0 WHERE t0.bot_id = ? AND t0.active = ?
Parameters:
[
  "1efeecd5-cde4-687e-be8f-879db304510b"
  1
]
89.57 ms
(18.76%)
1
SELECT p0_.created_at AS created_at_0, p0_.updated_at AS updated_at_1, p0_.deleted_at AS deleted_at_2, p0_.uuid AS uuid_3, p0_.url_slug AS url_slug_4, p0_.og_description AS og_description_5, p0_.active AS active_6, p0_.id AS id_7, p0_.days AS days_8, p0_.service_type AS service_type_9, p0_.protocol AS protocol_10, p0_.size AS size_11, p0_.users AS users_12, p0_.country AS country_13, p0_.price AS price_14, p0_.has_v2ray AS has_v2ray_15, p0_.has_cisco AS has_cisco_16, p0_.has_open_vpn AS has_open_vpn_17 FROM plan p0_ WHERE p0_.deleted_at IS NULL AND p0_.active = 1 AND p0_.service_type IS NOT NULL AND p0_.protocol IS NOT NULL AND (p0_.has_open_vpn <> 0 OR p0_.has_cisco <> 0 OR p0_.has_v2ray <> 0) ORDER BY p0_.protocol ASC, p0_.days ASC, p0_.size ASC
Parameters:
[]
70.53 ms
(14.77%)
6
SELECT t0.id AS id_1, t0.label AS label_2, t0.value AS value_3 FROM setting t0 WHERE t0.label = ? LIMIT 1
Parameters:
[
  "TELEGRAM_ADMIN_ID"
]
69.62 ms
(14.58%)
6
SELECT DATABASE()
Parameters:
[]
25.31 ms
(5.30%)
2
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.uuid AS uuid_4, t0.url_slug AS url_slug_5, t0.og_description AS og_description_6, t0.active AS active_7, t0.id AS id_8, t0.title AS title_9, t0.token AS token_10, t0.owner_user_id AS owner_user_id_11, t0.description AS description_12, t0.card_number AS card_number_13, t0.force_join_channel AS force_join_channel_14, t0.channel_user_name AS channel_user_name_15, t0.support_username AS support_username_16, t0.logo AS logo_17, t0.channel_members AS channel_members_18, t0.bot_services AS bot_services_19, t0.welcome_message AS welcome_message_20, t0.thanks_message AS thanks_message_21, t0.allow_test AS allow_test_22, t0.off_percent AS off_percent_23, t0.wallet_address AS wallet_address_24, t0.minimum_card_to_card AS minimum_card_to_card_25, t0.is_bot_for_website AS is_bot_for_website_26, t0.sent_auto_messages AS sent_auto_messages_27, t0.users_count AS users_count_28, t0.services_count AS services_count_29, t0.ads_not_tested_message AS ads_not_tested_message_30, t0.ads_not_bought_message AS ads_not_bought_message_31, t0.owner_id AS owner_id_32, t0.domain_id AS domain_id_33 FROM bot t0 WHERE t0.is_bot_for_website = ? LIMIT 1
Parameters:
[
  1
]
24.04 ms
(5.03%)
2
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "appdev"
]
13.03 ms
(2.73%)
1
SELECT       c.COLUMN_NAME        AS field,
           IF(
        c.COLUMN_TYPE = 'longtext'
        AND EXISTS(
            SELECT * from information_schema.CHECK_CONSTRAINTS i_c
            WHERE i_c.CONSTRAINT_SCHEMA = 'appdev'
            AND i_c.TABLE_NAME = c.TABLE_NAME
            AND i_c.CHECK_CLAUSE = CONCAT(
                'json_valid(`',
                    c.COLUMN_NAME,
                '`)'
            )
        ),
        '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
     WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
[
  "appdev"
  "appdev"
  "doctrine_migration_versions"
]
12.66 ms
(2.65%)
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:
[
  "appdev"
  "doctrine_migration_versions"
]
12.44 ms
(2.61%)
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 = 'appdev' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "appdev"
  "doctrine_migration_versions"
]
12.23 ms
(2.56%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.uuid AS uuid_4, t0.url_slug AS url_slug_5, t0.og_description AS og_description_6, t0.active AS active_7, t0.id AS id_8, t0.email AS email_9, t0.roles AS roles_10, t0.password AS password_11, t0.is_verified AS is_verified_12, t0.first_name AS first_name_13, t0.last_name AS last_name_14, t0.access AS access_15, t0.image AS image_16, t0.wallet AS wallet_17, t0.mobile AS mobile_18, t0.last_login AS last_login_19, t0.unique_presenter_code AS unique_presenter_code_20, t0.last_buy AS last_buy_21, t0.sub_user_count AS sub_user_count_22, t0.interest_rate AS interest_rate_23, t0.telegram_channel AS telegram_channel_24, t0.customer_text AS customer_text_25, t0.this_month_charge AS this_month_charge_26, t0.user_trace AS user_trace_27, t0.is_telegram_contact AS is_telegram_contact_28, t0.is_telegram_contact_checked AS is_telegram_contact_checked_29, t0.card_number_to_charge AS card_number_to_charge_30, t0.advertiser_monthly_income AS advertiser_monthly_income_31, t0.connected_telegram_user_id AS connected_telegram_user_id_32, t0.vpn_services_count AS vpn_services_count_33, t0.gift_wallet AS gift_wallet_34, t0.presenter_id AS presenter_id_35, t0.advertiser_id AS advertiser_id_36, t0.campaign_id AS campaign_id_37 FROM `user` t0 WHERE t0.id = ?
Parameters:
[
  "1eefb611-90cf-6984-91ee-0160cd233c2a"
]
11.98 ms
(2.51%)
1
SELECT t0.created_at AS created_at_1, t0.updated_at AS updated_at_2, t0.deleted_at AS deleted_at_3, t0.uuid AS uuid_4, t0.url_slug AS url_slug_5, t0.og_description AS og_description_6, t0.active AS active_7, t0.id AS id_8, t0.title AS title_9, t0.token AS token_10, t0.owner_user_id AS owner_user_id_11, t0.description AS description_12, t0.card_number AS card_number_13, t0.force_join_channel AS force_join_channel_14, t0.channel_user_name AS channel_user_name_15, t0.support_username AS support_username_16, t0.logo AS logo_17, t0.channel_members AS channel_members_18, t0.bot_services AS bot_services_19, t0.welcome_message AS welcome_message_20, t0.thanks_message AS thanks_message_21, t0.allow_test AS allow_test_22, t0.off_percent AS off_percent_23, t0.wallet_address AS wallet_address_24, t0.minimum_card_to_card AS minimum_card_to_card_25, t0.is_bot_for_website AS is_bot_for_website_26, t0.sent_auto_messages AS sent_auto_messages_27, t0.users_count AS users_count_28, t0.services_count AS services_count_29, t0.ads_not_tested_message AS ads_not_tested_message_30, t0.ads_not_bought_message AS ads_not_bought_message_31, t0.owner_id AS owner_id_32, t0.domain_id AS domain_id_33 FROM bot t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "1efeecd5-cde4-687e-be8f-879db304510b"
]
11.84 ms
(2.48%)
1
SELECT * FROM doctrine_migration_versions
Parameters:
[]
11.82 ms
(2.48%)
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:
[
  "appdev"
  "doctrine_migration_versions"
]

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.