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

Query Metrics

15 Database Queries
12 Different statements
24.87 ms Query time
0 Invalid entities
3 Managed entities

Grouped Statements

Show all queries

Time Count Info
4.99 ms
(20.07%)
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.98 ms
(16.01%)
1
"COMMIT"
Parameters:
[]
3.15 ms
(12.69%)
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"
]
3.05 ms
(12.28%)
1
SHOW COLUMNS FROM leads
Parameters:
[]
2.55 ms
(10.26%)
2
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"
]
2.19 ms
(8.82%)
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:
[
  41
]
1.41 ms
(5.69%)
3
SELECT DATABASE()
Parameters:
[]
1.10 ms
(4.41%)
1
SELECT t0.id AS id_1, t0.group_id AS group_id_2, t0.user_id AS user_id_3 FROM tenant_group_member t0 WHERE t0.user_id = ?
Parameters:
[
  41
]
0.75 ms
(3.03%)
1
SELECT COUNT(*) FROM leads WHERE id = ? AND deleted_at IS NULL
Parameters:
[
  44281
]
0.70 ms
(2.83%)
1
UPDATE lead_edit_lock SET user_id = ?, username = ?, session_id = ?, heartbeat_at = ?, expires_at = ?, updated_at = ? WHERE lead_id = ?
Parameters:
[
  41
  "Alexandre Dias"
  "8b73d7e7-543f-4648-ae62-cb86e14c88c4"
  "2026-02-27 09:22:45"
  "2026-02-27 09:24:00"
  "2026-02-27 09:22:45"
  44281
]
0.55 ms
(2.21%)
1
SELECT lead_id, user_id, username, session_id, heartbeat_at, expires_at
                 FROM lead_edit_lock
                 WHERE lead_id = ?
                 FOR UPDATE
Parameters:
[
  44281
]
0.42 ms
(1.70%)
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.
App\Entity\TenantGroupMember No errors.
App\Entity\TenantGroup No errors.