POST http://zeit.elektro-ova.de/timesheet/start

Query Metrics

13 Database Queries
12 Different statements
19.11 ms Query time
1 Invalid entities
4 Managed entities

Grouped Statements

Show all queries

Time Count Info
7.19 ms
(37.64%)
2
SELECT t0_.id AS id_0, t0_.duration AS duration_1, t0_.description AS description_2, t0_.start_time AS start_time_3, t0_.end_time AS end_time_4, t0_.requested_start_time AS requested_start_time_5, t0_.requested_end_time AS requested_end_time_6, t0_.state AS state_7, t0_.category AS category_8, t0_.gps_start_acc AS gps_start_acc_9, t0_.gps_start_lat AS gps_start_lat_10, t0_.gps_start_long AS gps_start_long_11, t0_.gps_stop_acc AS gps_stop_acc_12, t0_.gps_stop_lat AS gps_stop_lat_13, t0_.gps_stop_long AS gps_stop_long_14, t0_.gps_start_location AS gps_start_location_15, t0_.gps_stop_location AS gps_stop_location_16, t0_.activity_id AS activity_id_17, t0_.requested_teamlead_id AS requested_teamlead_id_18, t0_.user_id AS user_id_19, t0_.project_id AS project_id_20 FROM timesheet t0_ WHERE t0_.category = ? AND t0_.user_id = ? AND t0_.end_time IS NULL ORDER BY t0_.start_time DESC
Parameters:
[
  "work"
  "27"
]
3.51 ms
(18.38%)
1
SELECT COUNT(*) FROM timesheet t0 WHERE ((t0.user_id = ? AND t0.duration = ?) AND t0.end_time >= ?)
Parameters:
[
  27
  60
  "2026-01-06 00:00:00"
]
1.57 ms
(8.23%)
1
"COMMIT"
Parameters:
[]
1.42 ms
(7.45%)
1
INSERT INTO timesheet (duration, description, start_time, end_time, requested_start_time, requested_end_time, state, category, gps_start_acc, gps_start_lat, gps_start_long, gps_stop_acc, gps_stop_lat, gps_stop_long, gps_start_location, gps_stop_location, activity_id, requested_teamlead_id, user_id, project_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  null
  ""
  "2026-02-05 14:17:00"
  null
  null
  null
  0
  "work"
  18.0
  51.0168261
  11.6869682
  null
  null
  null
  null
  null
  1
  null
  27
  1872
]
1.05 ms
(5.49%)
1
SELECT u0_.id AS id_0, u0_.username AS username_1, u0_.firstname AS firstname_2, u0_.employeenumber AS employeenumber_3, u0_.lastname AS lastname_4, u0_.email AS email_5, u0_.roles AS roles_6, u0_.breaktime AS breaktime_7, u0_.external_employee AS external_employee_8, u0_.exit_date AS exit_date_9, u0_.driver_license_serial_number AS driver_license_serial_number_10 FROM user u0_ WHERE u0_.username = ?
Parameters:
[
  "lzeretzke"
]
0.98 ms
(5.13%)
1
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.color AS color_2, a0_.shortcut AS shortcut_3, a0_.teamlead_approval AS teamlead_approval_4, a0_.category AS category_5, a0_.timesheet_option AS timesheet_option_6 FROM activity a0_ WHERE a0_.name = ?
Parameters:
[
  "Arbeit"
]
0.91 ms
(4.75%)
1
INSERT INTO timesheet_audit (type, object_id, discriminator, transaction_hash, diffs, blame_id, blame_user, blame_user_fqdn, blame_user_firewall, ip, created_at) VALUES (:type, :object_id, :discriminator, :transaction_hash, :diffs, :blame_id, :blame_user, :blame_user_fqdn, :blame_user_firewall, :ip, :created_at)
Parameters:
[
  "type" => "insert"
  "object_id" => "76092"
  "discriminator" => null
  "transaction_hash" => "19e1ed4a1b8f670b4bc320ff35d10a4c49fadc93"
  "diffs" => "{"@source":{"id":76092,"class":"App\\Entity\\Timesheet","label":"App\\Entity\\Timesheet#76092","table":"timesheet"},"description":{"new":"","old":null},"start_time":{"new":"2026-02-05 14:17:00","old":null},"state":{"new":0,"old":null},"activity":{"new":{"id":1,"class":"App\\Entity\\Activity","label":"App\\Entity\\Activity#1","table":"activity"},"old":null},"user":{"new":{"id":27,"class":"App\\Entity\\User","label":"Lars Zeretzke","table":"user"},"old":null},"project":{"new":{"id":1872,"class":"App\\Entity\\Project","label":"App\\Entity\\Project#1872","table":"project"},"old":null}}"
  "blame_id" => "27"
  "blame_user" => "lzeretzke"
  "blame_user_fqdn" => "DH\Auditor\User\User"
  "blame_user_firewall" => "main"
  "ip" => "192.168.2.10"
  "created_at" => "2026-02-05 14:17:15.362155"
]
0.77 ms
(4.03%)
1
SELECT COUNT(*) FROM reca_item t0 WHERE (t0.user_id = ? AND t0.status = ?)
Parameters:
[
  27
  "überfällig"
]
0.67 ms
(3.52%)
1
SELECT t0.id AS id_1, t0.number AS number_2, t0.shortname AS shortname_3, t0.enabled AS enabled_4, t0.user_id AS user_id_5 FROM leader t0 WHERE t0.user_id = ?
Parameters:
[
  27
]
0.41 ms
(2.12%)
1
"START TRANSACTION"
Parameters:
[]
0.31 ms
(1.63%)
1
UPDATE project SET projectnumber = ? WHERE id = ?
Parameters:
[
  "260302006"
  1872
]
0.31 ms
(1.63%)
1
SELECT p0_.id AS id_0, p0_.projectnumber AS projectnumber_1, p0_.customer_id AS customer_id_2, p0_.name AS name_3, p0_.finishtime AS finishtime_4, p0_.status_id AS status_id_5 FROM project p0_ WHERE p0_.id = ?
Parameters:
[
  "1872"
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\User 1
App\Entity\Activity 1
App\Entity\Project 1
App\Entity\Timesheet 1

Entities Mapping

Class Mapping errors
App\Entity\User No errors.
App\Entity\Leader
  • If association App\Entity\Leader#user is many-to-one, then the inversed side App\Entity\User#leader has to be one-to-many.
App\Entity\Reca\RecaItem No errors.
App\Entity\Timesheet No errors.
App\Entity\Activity No errors.
App\Entity\Project No errors.
App\Entity\Reca\RecaAutomat No errors.
App\Entity\Reca\RecaItemPicture No errors.
App\Entity\Transponder No errors.
App\Entity\Terminal No errors.
App\Entity\DriverLicenseLog No errors.
App\Entity\Customer No errors.