http://tehrannet.org/panel/user/vpn/service/new

Query Metrics

45 Database Queries
15 Different statements
34.76 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
25.50 ms
(73.35%)
7
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.client_id AS client_id_9, t0.username AS username_10, t0.password AS password_11, t0.total AS total_12, t0.used AS used_13, t0.expire_at AS expire_at_14, t0.is_enabled AS is_enabled_15, t0.note AS note_16, t0.total_price AS total_price_17, t0.pay_method AS pay_method_18, t0.rollback_note AS rollback_note_19, t0.oc_serv_usage AS oc_serv_usage_20, t0.v2ray_usage AS v2ray_usage_21, t0.open_vpn_usage AS open_vpn_usage_22, t0.server_number AS server_number_23, t0.country AS country_24, t0.size_notif AS size_notif_25, t0.day_notif AS day_notif_26, t0.done_notif AS done_notif_27, t0.owner_id AS owner_id_28, t0.plan_id AS plan_id_29, t0.bot_user_id AS bot_user_id_30, t0.creator_bot_id AS creator_bot_id_31 FROM service t0 WHERE t0.client_id = ? LIMIT 1
Parameters:
[
  924101
]
2.80 ms
(8.06%)
12
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:
[
  "SUBSCRIPTIONLINK"
]
1.28 ms
(3.68%)
8
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.code AS code_10, t0.flag AS flag_11 FROM country t0 WHERE t0.id = ?
Parameters:
[
  "1ed70ff5-3cd2-6690-98aa-bd0c0b992d99"
]
0.83 ms
(2.40%)
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"
]
0.78 ms
(2.25%)
2
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "appdev"
]
0.57 ms
(1.64%)
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.is_bot_for_website = ? LIMIT 1
Parameters:
[
  1
]
0.49 ms
(1.42%)
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"
]
0.49 ms
(1.42%)
6
SELECT DATABASE()
Parameters:
[]
0.38 ms
(1.09%)
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.umendpoint AS umendpoint_9, t0.umusername AS umusername_10, t0.umpassword AS umpassword_11, t0.umprofile_name AS umprofile_name_12, t0.address AS address_13, t0.l2tp_address AS l2tp_address_14, t0.l2tp_secret AS l2tp_secret_15, t0.umsshport AS umsshport_16, t0.ovpnconfig_file AS ovpnconfig_file_17, t0.is_server_has_owner_info AS is_server_has_owner_info_18, t0.name AS name_19, t0.note AS note_20, t0.country_id AS country_id_21 FROM `ovpn_server` t0 WHERE t0.active = ?
Parameters:
[
  1
]
0.35 ms
(1.01%)
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"
]
0.35 ms
(1.00%)
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:
[
  "1edaa1d9-6d6b-6e86-bae2-69c1681786ea"
]
0.32 ms
(0.91%)
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.ip AS ip_9, t0.ssh_username AS ssh_username_10, t0.ssh_password AS ssh_password_11, t0.service_port AS service_port_12, t0.name AS name_13, t0.passwd_content AS passwd_content_14, t0.note AS note_15, t0.total_services_count AS total_services_count_16, t0.country_id AS country_id_17 FROM `ocserv_server` t0 WHERE t0.active = ?
Parameters:
[
  1
]
0.31 ms
(0.88%)
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.ip AS ip_9, t0.ssh_username AS ssh_username_10, t0.ssh_password AS ssh_password_11, t0.panel_type AS panel_type_12, t0.endpoint_address AS endpoint_address_13, t0.panel_username AS panel_username_14, t0.panel_password AS panel_password_15, t0.panel_port AS panel_port_16, t0.total_services_count AS total_services_count_17, t0.name AS name_18, t0.db_address AS db_address_19, t0.usage_script_type AS usage_script_type_20, t0.last_script_update AS last_script_update_21, t0.is_server_has_owner_info AS is_server_has_owner_info_22, t0.note AS note_23, t0.server_type AS server_type_24, t0.country_id AS country_id_25 FROM server t0 WHERE t0.active = ?
Parameters:
[
  1
]
0.18 ms
(0.52%)
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"
]
0.13 ms
(0.37%)
1
SELECT * FROM doctrine_migration_versions
Parameters:
[]

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.