Query Metrics
15
Database Queries
8
Different statements
13.45 ms
Query time
0
Invalid entities
0
Managed entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
4.46 ms (33.16%) |
2 |
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:
[
"intra.gartneriet.dk"
]
|
4.04 ms (30.01%) |
1 |
SELECT quote_ident(n.nspname) AS schema_name, quote_ident(c.relname) AS table_name, quote_ident(a.attname) AS field, t.typname AS type, format_type(a.atttypid, a.atttypmod) AS complete_type, bt.typname AS domain_type, format_type(bt.oid, t.typtypmod) AS domain_complete_type, a.attnotnull AS isnotnull, 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) AS "default", dsc.description AS comment, CASE WHEN coll.collprovider = 'c' THEN coll.collcollate WHEN coll.collprovider = 'd' THEN NULL ELSE coll.collname END AS collation 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 = ANY(current_schemas(false)) AND c.relname = ? AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast') -- 'r' for regular tables - 'p' for partitioned tables AND c.relkind IN ('r', 'p') 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:
[
"migration_versions"
]
|
1.82 ms (13.56%) |
7 |
SELECT CURRENT_DATABASE()
Parameters:
[] |
1.37 ms (10.19%) |
1 |
SELECT quote_ident(n.nspname) AS schema_name, quote_ident(c.relname) AS table_name, quote_ident(ic.relname) AS relname, i.indisunique, i.indisprimary, i.indkey, i.indrelid, pg_get_expr(indpred, indrelid) AS "where", quote_ident(attname) AS 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 = ANY(current_schemas(false)) AND c.relname = ? AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast') ORDER BY 1, 2, keys.ord;
Parameters:
[
"migration_versions"
]
|
0.77 ms (5.71%) |
1 |
SELECT quote_ident(tn.nspname) AS schema_name, quote_ident(tc.relname) AS table_name, quote_ident(r.conname) as conname, pg_get_constraintdef(r.oid, true) as condef, r.condeferrable, r.condeferred FROM pg_constraint r JOIN pg_class AS tc ON tc.oid = r.conrelid JOIN pg_namespace tn ON tn.oid = tc.relnamespace WHERE r.conrelid IN ( SELECT c.oid FROM pg_class c JOIN pg_namespace n ON n.oid = c.relnamespace WHERE n.nspname = ANY(current_schemas(false)) AND c.relname = ? AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast')) AND r.contype = 'f' ORDER BY 1, 2
Parameters:
[
"migration_versions"
]
|
0.47 ms (3.47%) |
1 |
SELECT quote_ident(n.nspname) AS schema_name, quote_ident(c.relname) AS table_name, CASE c.relpersistence WHEN 'u' THEN true ELSE false END as unlogged, obj_description(c.oid, 'pg_class') AS comment FROM pg_class c INNER JOIN pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind = 'r' AND n.nspname = ANY(current_schemas(false)) AND c.relname = ? AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast')
Parameters:
[
"migration_versions"
]
|
0.31 ms (2.31%) |
1 |
SELECT * FROM migration_versions
Parameters:
[] |
0.21 ms (1.58%) |
1 |
SELECT current_schema()
Parameters:
[] |
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 |
---|
Entities Mapping
No loaded entities.