Query Metrics
15
Database Queries
12
Different statements
55.70 ms
Query time
1
Invalid entities
1
Managed entities
Queries
central connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 4.57 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.short_name AS short_name_3, t0.type AS type_4, t0.level AS level_5, t0.db_name AS db_name_6, t0.vault_key_id AS vault_key_id_7, t0.mailservice_tenant_id AS mailservice_tenant_id_8, t0.mail_gateway AS mail_gateway_9, t0.mail_domain AS mail_domain_10, t0.mail_domain_id AS mail_domain_id_11, t0.mail_domain_verified_at AS mail_domain_verified_at_12, t0.email_monthly_quota AS email_monthly_quota_13, t0.email_newsletter_offer AS email_newsletter_offer_14, t0.mail_local_part AS mail_local_part_15, t0.default_locale AS default_locale_16, t0.available_locales AS available_locales_17, t0.plan AS plan_18, t0.max_families AS max_families_19, t0.monthly_sms_budget AS monthly_sms_budget_20, t0.payment_gateway AS payment_gateway_21, t0.logo_path AS logo_path_22, t0.community_photo_path AS community_photo_path_23, t0.slug AS slug_24, t0.previous_slugs AS previous_slugs_25, t0.primary_color AS primary_color_26, t0.president_name AS president_name_27, t0.subdomain_enabled AS subdomain_enabled_28, t0.custom_domain AS custom_domain_29, t0.street_number AS street_number_30, t0.address AS address_31, t0.city AS city_32, t0.zip AS zip_33, t0.country AS country_34, t0.timezone AS timezone_35, t0.latitude AS latitude_36, t0.longitude AS longitude_37, t0.reference_city AS reference_city_38, t0.phone AS phone_39, t0.email AS email_40, t0.website AS website_41, t0.siret AS siret_42, t0.stripe_customer_id AS stripe_customer_id_43, t0.stripe_subscription_id AS stripe_subscription_id_44, t0.is_active AS is_active_45, t0.has_cemetery_module AS has_cemetery_module_46, t0.has_wordpress_hosting AS has_wordpress_hosting_47, t0.consistoire_reverse_percent AS consistoire_reverse_percent_48, t0.consistoire_sharing_level AS consistoire_sharing_level_49, t0.fundraising_settings AS fundraising_settings_50, t0.pastoral_age_threshold AS pastoral_age_threshold_51, t0.created_at AS created_at_52, t0.trial_ends_at AS trial_ends_at_53, t0.parent_id AS parent_id_54 FROM organizations t0 WHERE t0.custom_domain = ? AND t0.is_active = ? LIMIT 1
Parameters:
[ "managsyntest.avinconcept.fr" 1 ] |
| 2 | 1.47 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.title AS title_3, t0.content AS content_4, t0.version AS version_5, t0.updated_by_name AS updated_by_name_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8 FROM legal_documents t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
"confidentialite"
]
|
| 3 | 0.89 ms |
SELECT CURRENT_DATABASE()
Parameters:
[] |
| 4 | 6.23 ms |
SELECT quote_ident(table_name) AS table_name, table_schema AS schema_name FROM information_schema.tables WHERE table_catalog = ? AND table_schema NOT LIKE 'pg\_%' AND table_schema != 'information_schema' AND table_name != 'geometry_columns' AND table_name != 'spatial_ref_sys' AND table_type = 'BASE TABLE' ORDER BY quote_ident(table_name)
Parameters:
[
"synagogue_manager_central"
]
|
| 5 | 1.69 ms |
SELECT current_schema()
Parameters:
[] |
| 6 | 2.75 ms |
SELECT CURRENT_DATABASE()
Parameters:
[] |
| 7 | 2.28 ms |
SELECT quote_ident(table_name) AS table_name, table_schema AS schema_name FROM information_schema.tables WHERE table_catalog = ? AND table_schema NOT LIKE 'pg\_%' AND table_schema != 'information_schema' AND table_name != 'geometry_columns' AND table_name != 'spatial_ref_sys' AND table_type = 'BASE TABLE' ORDER BY quote_ident(table_name)
Parameters:
[
"synagogue_manager_central"
]
|
| 8 | 12.45 ms |
SELECT n.nspname, c.relname, a.attname, t.typname, format_type(a.atttypid, a.atttypmod), bt.typname, format_type(bt.oid, t.typtypmod), a.attnotnull, a.attidentity, ( SELECT CASE WHEN a.attgenerated = 's' THEN NULL ELSE pg_get_expr(adbin, adrelid) END FROM pg_attrdef WHERE c.oid = pg_attrdef.adrelid AND pg_attrdef.adnum=a.attnum), dsc.description, CASE WHEN coll.collprovider = 'c' THEN coll.collcollate WHEN coll.collprovider = 'd' THEN NULL ELSE coll.collname END FROM pg_attribute a JOIN pg_class c ON c.oid = a.attrelid JOIN pg_namespace n ON n.oid = c.relnamespace JOIN pg_type t ON t.oid = a.atttypid LEFT JOIN pg_type bt ON t.typtype = 'd' AND bt.oid = t.typbasetype LEFT JOIN pg_collation coll ON coll.oid = a.attcollation LEFT JOIN pg_depend dep ON dep.objid = c.oid AND dep.deptype = 'e' AND dep.classid = (SELECT oid FROM pg_class WHERE relname = 'pg_class') LEFT JOIN pg_description dsc ON dsc.objoid = c.oid AND dsc.objsubid = a.attnum LEFT JOIN pg_inherits i ON i.inhrelid = c.oid LEFT JOIN pg_class p ON i.inhparent = p.oid AND p.relkind = 'p' WHERE n.nspname = ? AND c.relname = ? AND n.nspname NOT LIKE 'pg\_%' AND n.nspname != 'information_schema' AND c.relkind IN ('r', 'p') AND c.relname NOT IN ('geometry_columns', 'spatial_ref_sys') AND a.attnum > 0 AND dep.refobjid IS NULL -- exclude partitions (tables that inherit from partitioned tables) AND p.oid IS NULL ORDER BY n.nspname, c.relname, a.attnum
Parameters:
[ "public" "doctrine_migration_versions" ] |
| 9 | 1.68 ms |
SELECT n.nspname, c.relname, CASE c.relpersistence WHEN 'u' THEN true ELSE false END, obj_description(c.oid, 'pg_class') FROM pg_class c INNER JOIN pg_namespace n ON n.oid = c.relnamespace WHERE n.nspname = ? AND c.relname = ? AND n.nspname NOT LIKE 'pg\_%' AND n.nspname != 'information_schema' AND c.relkind IN ('r', 'p') AND c.relname NOT IN ('geometry_columns', 'spatial_ref_sys')
Parameters:
[ "public" "doctrine_migration_versions" ] |
| 10 | 6.10 ms |
SELECT n.nspname, c.relname, ct.conname, a.attname FROM pg_namespace n INNER JOIN pg_class c ON c.relnamespace = n.oid INNER JOIN pg_constraint ct ON ct.conrelid = c.oid INNER JOIN pg_index i ON i.indrelid = c.oid AND i.indexrelid = ct.conindid INNER JOIN LATERAL unnest(i.indkey) WITH ORDINALITY AS keys(attnum, ord) ON true INNER JOIN pg_attribute a ON a.attrelid = c.oid AND a.attnum = keys.attnum WHERE n.nspname = ? AND c.relname = ? AND n.nspname NOT LIKE 'pg\_%' AND n.nspname != 'information_schema' AND c.relkind IN ('r', 'p') AND c.relname NOT IN ('geometry_columns', 'spatial_ref_sys') AND ct.contype = 'p' ORDER BY n.nspname, c.relname, ct.conname, keys.ord
Parameters:
[ "public" "doctrine_migration_versions" ] |
| 11 | 3.55 ms |
SELECT n.nspname, c.relname, ic.relname, i.indisunique, pg_get_expr(indpred, indrelid), attname FROM pg_index i JOIN pg_class AS c ON c.oid = i.indrelid JOIN pg_namespace n ON n.oid = c.relnamespace JOIN pg_class AS ic ON ic.oid = i.indexrelid JOIN LATERAL unnest(i.indkey) WITH ORDINALITY AS keys(attnum, ord) ON TRUE JOIN pg_attribute a ON a.attrelid = c.oid AND a.attnum = keys.attnum WHERE n.nspname = ? AND c.relname = ? AND n.nspname NOT LIKE 'pg\_%' AND n.nspname != 'information_schema' AND c.relkind IN ('r', 'p') AND c.relname NOT IN ('geometry_columns', 'spatial_ref_sys') AND i.indisprimary = false ORDER BY n.nspname, c.relname, ic.relname, keys.ord
Parameters:
[ "public" "doctrine_migration_versions" ] |
| 12 | 3.82 ms |
SELECT n.nspname, c.relname, ct.conname, a.attname FROM pg_namespace n INNER JOIN pg_class c ON c.relnamespace = n.oid INNER JOIN pg_constraint ct ON ct.conrelid = c.oid INNER JOIN pg_index i ON i.indrelid = c.oid AND i.indexrelid = ct.conindid INNER JOIN LATERAL unnest(i.indkey) WITH ORDINALITY AS keys(attnum, ord) ON true INNER JOIN pg_attribute a ON a.attrelid = c.oid AND a.attnum = keys.attnum WHERE n.nspname = ? AND c.relname = ? AND n.nspname NOT LIKE 'pg\_%' AND n.nspname != 'information_schema' AND c.relkind IN ('r', 'p') AND c.relname NOT IN ('geometry_columns', 'spatial_ref_sys') AND ct.contype = 'u' ORDER BY n.nspname, c.relname, ct.conname, keys.ord
Parameters:
[ "public" "doctrine_migration_versions" ] |
| 13 | 6.47 ms |
SELECT pkn.nspname, pkc.relname, r.conname, fkn.nspname, fkc.relname, r.confupdtype, r.confdeltype, r.condeferrable, r.condeferred, pka.attname, fka.attname FROM pg_constraint r JOIN pg_class fkc ON fkc.oid = r.confrelid JOIN pg_namespace fkn ON fkn.oid = fkc.relnamespace JOIN unnest(r.confkey) WITH ORDINALITY AS fk_attnum(attnum, ord) ON TRUE JOIN pg_attribute fka ON fka.attrelid = fkc.oid AND fka.attnum = fk_attnum.attnum JOIN pg_class pkc ON pkc.oid = r.conrelid JOIN pg_namespace pkn ON pkn.oid = pkc.relnamespace JOIN unnest(r.conkey) WITH ORDINALITY AS pk_attnum(attnum, ord) ON pk_attnum.ord = fk_attnum.ord JOIN pg_attribute pka ON pka.attrelid = pkc.oid AND pka.attnum = pk_attnum.attnum WHERE pkn.nspname = ? AND pkc.relname = ? AND pkn.nspname NOT LIKE 'pg\_%' AND pkn.nspname != 'information_schema' AND pkc.relkind IN ('r', 'p') AND pkc.relname NOT IN ('geometry_columns', 'spatial_ref_sys') AND r.contype = 'f' ORDER BY pkn.nspname, pkc.relname, r.conname
Parameters:
[ "public" "doctrine_migration_versions" ] |
| 14 | 1.22 ms |
SELECT * FROM doctrine_migration_versions
Parameters:
[] |
| 15 | 0.51 ms |
SELECT CURRENT_DATABASE()
Parameters:
[] |
Database Connections
| Name | Service |
|---|---|
| central | doctrine.dbal.central_connection |
| tenant | doctrine.dbal.tenant_connection |
Entity Managers
| Name | Service |
|---|---|
| central | doctrine.orm.central_entity_manager |
| tenant | doctrine.orm.tenant_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Managed Entities
central entity manager
| Class | Amount of managed objects |
|---|---|
| App\Entity\Central\LegalDocument | 1 |
tenant entity manager
| Class | Amount of managed objects |
|---|
Entities Mapping
central entity manager
| Class | Mapping errors |
|---|---|
| App\Entity\Central\Organization |
|
| App\Entity\Central\LegalDocument | No errors. |
tenant entity manager
No loaded entities.