POST https://intranet.makro-nd.cz/api/attendance/self-open

Query Metrics

13 Database Queries
10 Different statements
4.90 ms Query time
0 Invalid entities
0 Managed entities

Grouped Statements

Show all queries

Time Count Info
1.89 ms
(38.56%)
1
UPDATE system_session SET last_activity = NOW() WHERE identifier = ?
Parameters:
[
  "ad313f4f7e9404b1bd3076df5a1d1b8cab8398b990a6a31f2a29b57170e54691"
]
0.68 ms
(13.95%)
4
SELECT * FROM system_session WHERE identifier = ?
Parameters:
[
  "ad313f4f7e9404b1bd3076df5a1d1b8cab8398b990a6a31f2a29b57170e54691"
]
0.64 ms
(13.09%)
1
INSERT INTO attendance_entries (user_id, start_at, source, created_at, updated_at) VALUES (?, ?, ?, ?, ?)
Parameters:
[
  105
  "2026-02-22 18:00:00"
  "manual"
  "2026-02-22 18:05:07"
  "2026-02-22 18:05:07"
]
0.47 ms
(9.56%)
1
SELECT id FROM attendance_days WHERE user_id = ? AND date = ?
Parameters:
[
  105
  "2026-02-22"
]
0.38 ms
(7.67%)
1
INSERT INTO attendance_days (user_id, date, break_minutes, work_minutes_sum, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?)
Parameters:
[
  105
  "2026-02-22"
  0
  0
  "2026-02-22 18:05:08"
  "2026-02-22 18:05:08"
]
0.29 ms
(5.87%)
1
SELECT user_id, permission FROM user_permissions
Parameters:
[]
0.27 ms
(5.50%)
1
SELECT * FROM attendance_entries WHERE user_id = ? AND end_at IS NULL ORDER BY start_at DESC LIMIT 1
Parameters:
[
  105
]
0.10 ms
(2.12%)
1
SELECT 1 FROM attendance_month_locks WHERE month = ? LIMIT 1
Parameters:
[
  "2026-02"
]
0.10 ms
(2.10%)
1
CREATE TABLE IF NOT EXISTS attendance_month_locks (
                    month VARCHAR(7) NOT NULL PRIMARY KEY, -- format 'YYYY-MM'

                    locked_at DATETIME NOT NULL,
                    locked_by INT NULL,
                    created_at DATETIME NOT NULL
                ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
Parameters:
[]
0.08 ms
(1.57%)
1
SELECT * FROM system_users
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

No managed entities.

Entities Mapping

No mapped entities.