Query Metrics
17
Database Queries
14
Different statements
4.94 ms
Query time
0
Invalid entities
Queries
company_group connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.48 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = DATABASE() AND table_name = 'platform_setting'
Parameters:
[] |
| 2 | 0.41 ms |
SELECT setting_value FROM platform_setting WHERE name = ? AND app_id IS NULL LIMIT 1
Parameters:
[
"subscription_enforcement_enabled"
]
|
| 3 | 0.27 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = DATABASE() AND table_name = 'platform_setting'
Parameters:
[] |
| 4 | 0.23 ms |
SELECT setting_value FROM platform_setting WHERE name = ? AND app_id IS NULL LIMIT 1
Parameters:
[
"hard_suspension_enabled"
]
|
default connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.28 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.data AS data_3, t0.company_id AS company_id_4, t0.create_login_id AS create_login_id_5, t0.edit_login_id AS edit_login_id_6, t0.lock_flag AS lock_flag_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.doc_booked_flag AS doc_booked_flag_10, t0.time_stamp_of_form AS time_stamp_of_form_11 FROM acc_setting t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
"leadgen_operator_user_ids"
]
|
| 2 | 0.30 ms |
SELECT t0.id AS id_1, t0.company_name AS company_name_2, t0.domain AS domain_3, t0.website_url AS website_url_4, t0.contact_name AS contact_name_5, t0.contact_email AS contact_email_6, t0.country AS country_7, t0.jurisdiction AS jurisdiction_8, t0.source_type AS source_type_9, t0.source_ref AS source_ref_10, t0.dedupe_key AS dedupe_key_11, t0.status AS status_12, t0.existing_lead_id AS existing_lead_id_13, t0.lawful_basis AS lawful_basis_14, t0.lawful_basis_note AS lawful_basis_note_15, t0.enrichment_json AS enrichment_json_16, t0.sector AS sector_17, t0.size_signal AS size_signal_18, t0.energy_signal AS energy_signal_19, t0.enriched_at AS enriched_at_20, t0.fit_score AS fit_score_21, t0.fit_angle AS fit_angle_22, t0.motion AS motion_23, t0.created_login_id AS created_login_id_24, t0.created_at AS created_at_25, t0.updated_at AS updated_at_26, t0.delete_flag AS delete_flag_27 FROM leadgen_prospect t0 WHERE t0.id = ?
Parameters:
[
540
]
|
| 3 | 0.18 ms |
SELECT t0.id AS id_1, t0.domain AS domain_2, t0.fetch_status AS fetch_status_3, t0.enrichment_json AS enrichment_json_4, t0.fetched_at AS fetched_at_5 FROM leadgen_enrichment_cache t0 WHERE t0.domain = ? LIMIT 1
Parameters:
[
"chunhoe.com.sg"
]
|
| 4 | 0.34 ms |
SELECT COUNT(l0_.id) AS sclr_0 FROM leadgen_enrichment_cache l0_ WHERE l0_.fetched_at >= ? AND l0_.fetched_at <= ?
Parameters:
[ "2026-08-24 00:00:00" "2026-08-24 23:59:59" ] |
| 5 | 0.22 ms |
SELECT name, data FROM acc_setting WHERE name IN (?, ?)
Parameters:
[ "ai_cloud_tokens_month" "ai_local_calls_month" ] |
| 6 | 0.35 ms |
SELECT provider, COALESCE(SUM(calls),0) calls, COALESCE(SUM(prompt_tokens),0) pt, COALESCE(SUM(completion_tokens),0) ct FROM ai_usage_ledger WHERE DAY >= ? GROUP BY provider
Parameters:
[
"2026-08-01"
]
|
| 7 | 0.28 ms |
INSERT INTO ai_usage_ledger (app_id, DAY, provider, calls, prompt_tokens, completion_tokens, created_at, updated_at) VALUES (?, ?, ?, ?, ?, ?, NOW(), NOW()) ON DUPLICATE KEY UPDATE calls = calls + VALUES(calls), prompt_tokens = prompt_tokens + VALUES(prompt_tokens), completion_tokens = completion_tokens + VALUES(completion_tokens), updated_at = NOW()
Parameters:
[ 0 "2026-08-24" "cloud" 1 1340 307 ] |
| 8 | 0.27 ms |
SELECT t0.id AS id_1, t0.domain AS domain_2, t0.fetch_status AS fetch_status_3, t0.enrichment_json AS enrichment_json_4, t0.fetched_at AS fetched_at_5 FROM leadgen_enrichment_cache t0 WHERE t0.domain = ? LIMIT 1
Parameters:
[
"chunhoe.com.sg"
]
|
| 9 | 0.09 ms |
"START TRANSACTION"
Parameters:
[] |
| 10 | 0.36 ms |
INSERT INTO leadgen_enrichment_cache (domain, fetch_status, enrichment_json, fetched_at) VALUES (?, ?, ?, ?)
Parameters:
[ "chunhoe.com.sg" "ok" "{"site_found":true,"url":"https://chunhoe.com.sg","pages_fetched":1,"issues":["https://chunhoe.com.sg/impressum: http 404","https://chunhoe.com.sg/imprint: http 404"],"company_name_detected":"CHUN HOE PTE. LTD.","what_they_do":"Manufacturer, exporter, and supplier of building materials, hardware, steel wire products, fencing products, and green building materials; also mentions construction and civil engineering-related products.","sector":"Building materials / manufacturing / hardware supply","country":"Singapore","company_size_signal":"Incorporated in 1993; grown over two decades; operates a Singapore factory and mentions subsidiaries/associate companies in Malaysia and Indonesia","energy_signals":["installed solar energy","GREEN Building Material","Green Steel Mesh","saves more on energy and raw materials"],"tech_signals":["Powered By NEWPAGES"],"summary":"Chun Hoe Pte Ltd is a Singapore-based building materials and hardware company that manufactures, exports, and trades steel wire, fencing, and green building material products, with a stated focus on sustainability and solar-powered production.","confidence":0.96,"evidence":["\"We manufacture, export, and trade building materials, hardware, and steel wire products.\"","\"For the company's production site, we installed solar energy\"","\"11 Tuas South Link 1, 01-17 & 18 Shine @ Tuas South, Singapore 636901.\""],"llm_used":true,"evidence_dropped":0,"evidence_verified":true,"contact_email":"liew@brcfence.my","contact_email_source":"site:/","emails_found":["admin@chunhoe.com.id","liew@brcfence.my","singaporemetalsteel@gmail.com"]}" "2026-08-24 13:08:14" ] |
| 11 | 0.47 ms |
UPDATE leadgen_prospect SET contact_email = ?, STATUS = ?, enrichment_json = ?, sector = ?, size_signal = ?, energy_signal = ?, enriched_at = ?, updated_at = ? WHERE id = ?
Parameters:
[ "liew@brcfence.my" "enriched" "{"site_found":true,"url":"https://chunhoe.com.sg","pages_fetched":1,"issues":["https://chunhoe.com.sg/impressum: http 404","https://chunhoe.com.sg/imprint: http 404"],"company_name_detected":"CHUN HOE PTE. LTD.","what_they_do":"Manufacturer, exporter, and supplier of building materials, hardware, steel wire products, fencing products, and green building materials; also mentions construction and civil engineering-related products.","sector":"Building materials / manufacturing / hardware supply","country":"Singapore","company_size_signal":"Incorporated in 1993; grown over two decades; operates a Singapore factory and mentions subsidiaries/associate companies in Malaysia and Indonesia","energy_signals":["installed solar energy","GREEN Building Material","Green Steel Mesh","saves more on energy and raw materials"],"tech_signals":["Powered By NEWPAGES"],"summary":"Chun Hoe Pte Ltd is a Singapore-based building materials and hardware company that manufactures, exports, and trades steel wire, fencing, and green building material products, with a stated focus on sustainability and solar-powered production.","confidence":0.96,"evidence":["\"We manufacture, export, and trade building materials, hardware, and steel wire products.\"","\"For the company's production site, we installed solar energy\"","\"11 Tuas South Link 1, 01-17 & 18 Shine @ Tuas South, Singapore 636901.\""],"llm_used":true,"evidence_dropped":0,"evidence_verified":true,"contact_email":"liew@brcfence.my","contact_email_source":"site:/","emails_found":["admin@chunhoe.com.id","liew@brcfence.my","singaporemetalsteel@gmail.com"]}" "Building materials / manufacturing / hardware supply" "Incorporated in 1993; grown over two decades; operates a Singapore factory and mentions subsidiaries" 1 "2026-08-24 13:08:14" "2026-08-24 13:08:14" "540" ] |
| 12 | 0.15 ms |
"COMMIT"
Parameters:
[] |
| 13 | 0.28 ms |
SELECT data FROM acc_setting WHERE name = 'cors_extra_origins' ORDER BY id DESC LIMIT 1
Parameters:
[] |
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
| company_group | doctrine.dbal.company_group_connection |
Entity Managers
| Name | Service |
|---|---|
| default | doctrine.orm.default_entity_manager |
| company_group | doctrine.orm.company_group_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
default entity manager
| Class | Mapping errors |
|---|---|
| ApplicationBundle\Entity\AccSettings | No errors. |
| ApplicationBundle\Modules\LeadGen\Entity\LeadgenProspect | No errors. |
| ApplicationBundle\Modules\LeadGen\Entity\LeadgenEnrichmentCache | No errors. |
company_group entity manager
No loaded entities.