POST http://dev.sosadvanced.pt/contact-center/lista/44272/lock/heartbeat

Query Metrics

13 Database Queries
11 Different statements
24.26 ms Query time
0 Invalid entities
3 Managed entities

Grouped Statements

Show all queries

Time Count Info
7.00 ms
(28.85%)
1
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:
[
  "sconsult_db_sy_sos"
  "sconsult_db_sy_sos"
  "leads"
]
3.67 ms
(15.13%)
1
SHOW COLUMNS FROM leads
Parameters:
[]
3.22 ms
(13.27%)
1
"COMMIT"
Parameters:
[]
2.78 ms
(11.48%)
1
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "sconsult_db_sy_sos"
]
2.10 ms
(8.67%)
1
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.allowed AS allowed_5, t0.active AS active_6, t0.email AS email_7, t0.token AS token_8, t0.companies AS companies_9, t0.tenant_code AS tenant_code_10, t11.leadfieldsshow AS leadfieldsshow_12, t11.homepage_widgets AS homepage_widgets_13, t11.user_id AS user_id_14 FROM user t0 LEFT JOIN user_apps_settings t11 ON t11.user_id = t0.id WHERE t0.id = ?
Parameters:
[
  1
]
1.43 ms
(5.87%)
3
SELECT DATABASE()
Parameters:
[]
1.07 ms
(4.39%)
1
SELECT t0.id AS id_1, t0.code AS code_2, t0.db_host AS db_host_3, t0.db_port AS db_port_4, t0.db_name AS db_name_5, t0.db_user AS db_user_6, t0.db_password AS db_password_7, t0.db_charset AS db_charset_8, t0.company_id AS company_id_9, t0.json_data AS json_data_10 FROM tenant t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "sos"
]
1.00 ms
(4.13%)
1
UPDATE lead_edit_lock SET user_id = ?, username = ?, session_id = ?, heartbeat_at = ?, expires_at = ?, updated_at = ? WHERE lead_id = ?
Parameters:
[
  1
  "SOS Advanced"
  "sess-mm3s3cxg-bxv9ktfvid"
  "2026-02-27 10:58:35"
  "2026-02-27 10:59:50"
  "2026-02-27 10:58:35"
  44272
]
0.92 ms
(3.79%)
1
SELECT COUNT(*) FROM leads WHERE id = ? AND deleted_at IS NULL
Parameters:
[
  44272
]
0.65 ms
(2.67%)
1
SELECT lead_id, user_id, username, session_id, heartbeat_at, expires_at
                 FROM lead_edit_lock
                 WHERE lead_id = ?
                 FOR UPDATE
Parameters:
[
  44272
]
0.42 ms
(1.75%)
1
"START TRANSACTION"
Parameters:
[]

Database Connections

Name Service
system doctrine.dbal.system_connection

Entity Managers

Name Service
system doctrine.orm.system_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

system entity manager

Class Amount of managed objects
App\Entity\User 1
App\Entity\UserAppsSettings 1
App\Entity\Tenant 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\UserAppsSettings No errors.
App\Entity\Tenant No errors.