Query Metrics
35
Database Queries
22
Different statements
39.38 ms
Query time
0
Invalid entities
7
Managed entities
Grouped Statements
default connection
| Time▼ | Count | Info |
|---|---|---|
|
5.58 ms (14.18%) |
3 |
SELECT t0.id AS id_1, t0.api_key AS api_key_2, t0.created_at AS created_at_3, t0.last_used_at AS last_used_at_4, t0.tenant_user_id AS tenant_user_id_5, t0.tenant_db_config_id AS tenant_db_config_id_6 FROM tenant_api_key t0 WHERE t0.api_key = ? LIMIT 1
Parameters:
[
"042653b78b2283743b494ee24ec49e7b"
]
|
|
3.39 ms (8.61%) |
2 |
"COMMIT"
Parameters:
[] |
|
3.03 ms (7.70%) |
1 |
SELECT t0.id AS id_1, t0.driver_type AS driver_type_2, t0.db_name AS db_name_3, t0.db_user_name AS db_user_name_4, t0.db_password AS db_password_5, t0.db_host AS db_host_6, t0.db_port AS db_port_7, t0.database_status AS database_status_8 FROM tenant_db_config t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
"1"
]
|
|
2.64 ms (6.71%) |
1 |
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t5.id AS id_6, t5.secret AS secret_7, t5.backup_codes AS backup_codes_8, t5.enabled AS enabled_9, t5.created_at AS created_at_10, t5.enabled_at AS enabled_at_11, t5.last_used_at AS last_used_at_12, t5.tenant_user_id AS tenant_user_id_13 FROM tenant_user t0 LEFT JOIN tenant_user_authenticator t5 ON t5.tenant_user_id = t0.id WHERE t0.id = ?
Parameters:
[
1
]
|
|
1.41 ms (3.58%) |
1 |
INSERT INTO api_logs (id, timestamp, username, action, details, request_data, response_data, ip_address, user_agent, tenant_db_config_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 3944 "2026-03-16 16:19:58" "[email protected]" "POST /api/recipients/sync/batch (200)" "API call completed in 46.71ms with status 200" "{"body":{"changes":[{"operation":"delete","data":{"email":"[email protected]","recip name":"JOEL KALETE 44110a","references":[],"source_id":"623"},"_queue_id":2672},{"operation":"delete","data":{"email":"[email protected]","recip name":"JANE DOE 44110a","references":[],"source_id":"624"},"_queue_id":2673},{"operation":"delete","data":{"email":"[email protected]","recip name":"PROD ACTIVE TRIGGER 44110a","references":[],"source_id":"625"},"_queue_id":2674},{"operation":"delete","data":{"email":"[email protected]","recip name":"PROD TRIGGER TEST 44110a","references":[],"source_id":"626"},"_queue_id":2675},{"operation":"create","data":{"email":"[email protected]","recip name":"ALICE PASSIVE d95017","postcode":"M2 3PQ","references":[{"reference":"PASV1_d95017","department":"Benefits","enrol_type":"1","enrol_custom_data":"","enrol_confirm_field":"","enrol_custom_data_label":""}],"address1":"10 TEST LANE","address2":"MANCHESTER","address5":"M2 3PQ","source_id":"627"},"_queue_id":2676}]}}" "{"success":true}" "172.68.229.10" "Symfony HttpClient/Curl" 1 ] |
|
1.36 ms (3.44%) |
1 |
SELECT NEXTVAL('api_logs_id_seq')
Parameters:
[] |
|
1.08 ms (2.75%) |
1 |
SELECT t0.id AS id_1, t0.driver_type AS driver_type_2, t0.db_name AS db_name_3, t0.db_user_name AS db_user_name_4, t0.db_password AS db_password_5, t0.db_host AS db_host_6, t0.db_port AS db_port_7, t0.database_status AS database_status_8 FROM tenant_db_config t0 WHERE t0.id = ?
Parameters:
[
1
]
|
|
0.88 ms (2.23%) |
1 |
UPDATE tenant_api_key SET last_used_at = ? WHERE id = ?
Parameters:
[ "2026-03-16 16:19:58" 1 ] |
|
0.54 ms (1.36%) |
2 |
"START TRANSACTION"
Parameters:
[] |
tenant connection
| Time▼ | Count | Info |
|---|---|---|
|
7.65 ms (19.44%) |
5 |
SELECT t0.id AS id_1, t0.uuid AS uuid_2, t0.name AS name_3, t0.email AS email_4, t0.password AS password_5, t0.meta AS meta_6, t0.enable AS enable_7, t0.telephone AS telephone_8, t0.enrollment_token AS enrollment_token_9, t0.unsubscribe_token AS unsubscribe_token_10, t0.confirmation_postcode AS confirmation_postcode_11, t0.confirmation_type AS confirmation_type_12, t0.one_time_code AS one_time_code_13, t0.deleted_at AS deleted_at_14, t0.address AS address_15, t0.version AS version_16, t0.source AS source_17, t0.last_synced_at AS last_synced_at_18, t0.updated_at AS updated_at_19, t0.source_id AS source_id_20 FROM recipient t0 WHERE t0.source_id = ? LIMIT 1
Parameters:
[
"623"
]
|
|
2.70 ms (6.86%) |
4 |
SELECT t0.id AS id_1, t0.uuid AS uuid_2, t0.name AS name_3, t0.email AS email_4, t0.password AS password_5, t0.meta AS meta_6, t0.enable AS enable_7, t0.telephone AS telephone_8, t0.enrollment_token AS enrollment_token_9, t0.unsubscribe_token AS unsubscribe_token_10, t0.confirmation_postcode AS confirmation_postcode_11, t0.confirmation_type AS confirmation_type_12, t0.one_time_code AS one_time_code_13, t0.deleted_at AS deleted_at_14, t0.address AS address_15, t0.version AS version_16, t0.source AS source_17, t0.last_synced_at AS last_synced_at_18, t0.updated_at AS updated_at_19, t0.source_id AS source_id_20 FROM recipient t0 WHERE t0.id = ?
Parameters:
[
"623"
]
|
|
1.65 ms (4.19%) |
1 |
"COMMIT"
Parameters:
[] |
|
1.32 ms (3.34%) |
1 |
INSERT INTO recipient_reference (id, key, value, unsubscribed_at, recipient_id) VALUES (?, ?, ?, ?, ?)
Parameters:
[ 3467 "Benefits" "PASV1_d95017" null 2614 ] |
|
1.25 ms (3.16%) |
1 |
SELECT t0.id AS id_1, t0.last_sync_at AS last_sync_at_2, t0.last_poll_at AS last_poll_at_3, t0.pending_changes AS pending_changes_4, t0.sync_lag_seconds AS sync_lag_seconds_5, t0.health_status AS health_status_6, t0.total_recipients AS total_recipients_7, t0.synced_today AS synced_today_8, t0.conflicts_today AS conflicts_today_9, t0.last_error AS last_error_10, t0.updated_at AS updated_at_11 FROM customer_sync_status t0 LIMIT 1
Parameters:
[] |
|
0.97 ms (2.47%) |
1 |
SELECT NEXTVAL('recipient_id_seq')
Parameters:
[] |
|
0.92 ms (2.33%) |
1 |
INSERT INTO recipient (id, uuid, name, email, password, meta, enable, telephone, enrollment_token, unsubscribe_token, confirmation_postcode, confirmation_type, one_time_code, deleted_at, address, version, source, last_synced_at, updated_at, source_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[ 2614 "cc4f02e9-e0ae-4b6d-b9e9-2fed83a25050" "ALICE PASSIVE d95017" "[email protected]" null null 1 null null null "M2 3PQ" null null null "10 TEST LANE|MANCHESTER|M2 3PQ" 1 "customer" "2026-03-16 16:19:58" "2026-03-16 16:19:58" "627" ] |
|
0.57 ms (1.45%) |
2 |
SAVEPOINT DOCTRINE_2
Parameters:
[] |
|
0.55 ms (1.40%) |
1 |
UPDATE customer_sync_status SET last_sync_at = ?, synced_today = ?, updated_at = ? WHERE id = ?
Parameters:
[ "2026-03-16 16:19:58" 5 "2026-03-16 16:19:58" 1 ] |
|
0.53 ms (1.35%) |
2 |
RELEASE SAVEPOINT DOCTRINE_2
Parameters:
[] |
|
0.53 ms (1.35%) |
1 |
SELECT t0.id AS id_1, t0.uuid AS uuid_2, t0.name AS name_3, t0.email AS email_4, t0.password AS password_5, t0.meta AS meta_6, t0.enable AS enable_7, t0.telephone AS telephone_8, t0.enrollment_token AS enrollment_token_9, t0.unsubscribe_token AS unsubscribe_token_10, t0.confirmation_postcode AS confirmation_postcode_11, t0.confirmation_type AS confirmation_type_12, t0.one_time_code AS one_time_code_13, t0.deleted_at AS deleted_at_14, t0.address AS address_15, t0.version AS version_16, t0.source AS source_17, t0.last_synced_at AS last_synced_at_18, t0.updated_at AS updated_at_19, t0.source_id AS source_id_20 FROM recipient t0 WHERE t0.email = ? LIMIT 1
Parameters:
[
"[email protected]"
]
|
|
0.52 ms (1.31%) |
1 |
SELECT NEXTVAL('recipient_reference_id_seq')
Parameters:
[] |
|
0.30 ms (0.77%) |
1 |
"START TRANSACTION"
Parameters:
[] |
Database Connections
| Name | Service |
|---|---|
| tenant | doctrine.dbal.tenant_connection |
| default | doctrine.dbal.default_connection |
Entity Managers
| Name | Service |
|---|---|
| tenant | doctrine.orm.tenant_entity_manager |
| default | doctrine.orm.default_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Managed Entities
tenant entity manager
| Class | Amount of managed objects |
|---|---|
| App\Entity\Tenant\Recipient | 1 |
| App\Entity\Tenant\RecipientReference | 1 |
| App\Entity\Tenant\CustomerSyncStatus | 1 |
default entity manager
| Class | Amount of managed objects |
|---|---|
| App\Entity\Main\TenantApiKey | 1 |
| App\Entity\Main\TenantUser | 1 |
| App\Entity\Main\TenantDbConfig | 1 |
| App\Entity\Main\ApiLog | 1 |
Entities Mapping
tenant entity manager
| Class | Mapping errors |
|---|---|
| App\Entity\Tenant\Recipient | No errors. |
| App\Entity\Tenant\RecipientReference | No errors. |
| App\Entity\Tenant\Document | No errors. |
| App\Entity\Tenant\AccessLog | No errors. |
| App\Entity\Tenant\CustomerSyncStatus | No errors. |
default entity manager
| Class | Mapping errors |
|---|---|
| App\Entity\Main\TenantApiKey | No errors. |
| App\Entity\Main\TenantUser | No errors. |
| App\Entity\Main\TenantDbConfig | No errors. |
| App\Entity\Main\TenantHostname | No errors. |
| App\Entity\Main\TenantUserAuthenticator | No errors. |
| App\Entity\Main\ApiLog | No errors. |