Query Metrics
34
Database Queries
7
Different statements
33.52 ms
Query time
1
Invalid entities
31
Managed entities
Grouped Statements
remote_db connection
| Time▼ | Count | Info | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
8.59 ms (25.64%) |
10 |
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
"113199614"
]
|
||||||||||||||||||||||||||||||
|
7.62 ms (22.74%) |
10 |
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
"23264667197440"
]
|
||||||||||||||||||||||||||||||
|
7.52 ms (22.42%) |
10 |
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
"23264667197440"
]
|
||||||||||||||||||||||||||||||
|
7.01 ms (20.91%) |
1 |
SELECT i0_.pennylane_invoice_id AS pennylane_invoice_id_0, i0_.pennylane_invoice_label AS pennylane_invoice_label_1, i0_.pennylane_invoice_number AS pennylane_invoice_number_2, i0_.pennylane_invoice_amount AS pennylane_invoice_amount_3, i0_.pennylane_invoice_currency_amount AS pennylane_invoice_currency_amount_4, i0_.pennylane_invoice_currency_amount_before_tax AS pennylane_invoice_currency_amount_before_tax_5, i0_.pennylane_invoice_tax AS pennylane_invoice_tax_6, i0_.pennylane_invoice_currency_tax AS pennylane_invoice_currency_tax_7, i0_.pennylane_invoice_remaining_amount_with_tax AS pennylane_invoice_remaining_amount_with_tax_8, i0_.pennylane_invoice_remaining_amount_without_tax AS pennylane_invoice_remaining_amount_without_tax_9, i0_.pennylane_invoice_filename AS pennylane_invoice_filename_10, i0_.pennylane_invoice_date AS pennylane_invoice_date_11, i0_.pennylane_invoice_special_mention AS pennylane_invoice_special_mention_12, i0_.pennylane_invoice_pdf_invoice_free_text AS pennylane_invoice_pdf_invoice_free_text_13, i0_.pennylane_invoice_pdf_description AS pennylane_invoice_pdf_description_14, i0_.pennylane_invoice_pdf_invoice_subject AS pennylane_invoice_pdf_invoice_subject_15, i0_.pennylane_invoice_extrenal_reference AS pennylane_invoice_extrenal_reference_16, i0_.pennylane_invoice_customer_invoice_template_id AS pennylane_invoice_customer_invoice_template_id_17, i0_.vtiger_invoice_id AS vtiger_invoice_id_18, i0_.vtiger_document_id AS vtiger_document_id_19, i0_.vtiger_attachment_id AS vtiger_attachment_id_20, i0_.generated AS generated_21, i0_.token AS token_22, LENGTH(i0_.pennylane_invoice_number) AS sclr_23, i0_.pennylane_customer_id AS pennylane_customer_id_24 FROM invoices i0_ LEFT JOIN customers c1_ ON i0_.pennylane_customer_id = c1_.pennylane_customer_id ORDER BY sclr_23 DESC, i0_.pennylane_invoice_number DESC LIMIT 10
Parameters:
[]
|
||||||||||||||||||||||||||||||
|
1.34 ms (3.99%) |
1 |
SELECT count(i0_.pennylane_invoice_id) AS sclr_0 FROM invoices i0_
Parameters:
[]
|
||||||||||||||||||||||||||||||
|
0.98 ms (2.92%) |
1 |
SELECT COUNT(*) FROM invoices t0
Parameters:
[]
|
local_db connection
Database Connections
| Name | Service |
|---|---|
| local_db | doctrine.dbal.local_db_connection |
| remote_db | doctrine.dbal.remote_db_connection |
Entity Managers
| Name | Service |
|---|---|
| local_em | doctrine.orm.local_em_entity_manager |
| remote_em | doctrine.orm.remote_em_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Managed Entities
local_em entity manager
| Class | Amount of managed objects |
|---|---|
| App\Entity\Local\User | 1 |
remote_em entity manager
| Class | Amount of managed objects |
|---|---|
| App\Entity\Remote\Invoice | 10 |
| App\Entity\Remote\Customer | 10 |
| App\Entity\Remote\InvoiceSendAt | 8 |
| App\Entity\Remote\MailTemplate | 2 |
Entities Mapping
local_em entity manager
| Class | Mapping errors |
|---|---|
| App\Entity\Local\User | No errors. |
remote_em entity manager
| Class | Mapping errors |
|---|---|
| App\Entity\Remote\Invoice |
|
| App\Entity\Remote\Customer | No errors. |
| App\Entity\Remote\InvoiceLine | No errors. |
| App\Entity\Remote\InvoiceSendAt | No errors. |
| App\Entity\Remote\MailTemplate | No errors. |