Query Metrics
18
Database Queries
12
Different statements
39.33 ms
Query time
0
Invalid entities
Queries
default connection
| #▲ | Time | Info |
|---|---|---|
| 1 | 2.68 ms |
SELECT t0.id AS id_1, t0.role AS role_2, t0.user_id AS user_id_3, t0.station_id AS station_id_4 FROM user_station_role t0 WHERE t0.user_id IS NULL
Parameters:
[] |
| 2 | 1.21 ms |
SELECT CURRENT_DATABASE()
Parameters:
[] |
| 3 | 14.31 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'
Parameters:
[
"ogoxe_app_branche1"
]
|
| 4 | 1.07 ms |
SELECT schema_name FROM information_schema.schemata WHERE schema_name NOT LIKE 'pg\_%' AND schema_name != 'information_schema'
Parameters:
[] |
| 5 | 0.30 ms |
SHOW search_path
Parameters:
[] |
| 6 | 0.32 ms |
SELECT CURRENT_DATABASE()
Parameters:
[] |
| 7 | 1.96 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'
Parameters:
[
"ogoxe_app_branche1"
]
|
| 8 | 0.36 ms |
SELECT CURRENT_DATABASE()
Parameters:
[] |
| 9 | 2.41 ms |
SELECT c.relname, 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 = 'doctrine_migration_versions' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast')
Parameters:
[] |
| 10 | 0.37 ms |
SELECT CURRENT_DATABASE()
Parameters:
[] |
| 11 | 2.45 ms |
SELECT quote_ident(r.conname) as conname, pg_get_constraintdef(r.oid, true) as condef 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, pg_namespace n WHERE n.oid = c.relnamespace AND n.nspname = ANY(current_schemas(false)) AND c.relname = 'doctrine_migration_versions' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast')) AND r.contype = 'f'
Parameters:
[] |
| 12 | 5.74 ms |
SELECT a.attnum, quote_ident(a.attname) AS field, t.typname AS type, format_type(a.atttypid, a.atttypmod) AS complete_type, (SELECT tc.collcollate FROM pg_catalog.pg_collation tc WHERE tc.oid = a.attcollation) AS collation, (SELECT t1.typname FROM pg_catalog.pg_type t1 WHERE t1.oid = t.typbasetype) AS domain_type, (SELECT format_type(t2.typbasetype, t2.typtypmod) FROM pg_catalog.pg_type t2 WHERE t2.typtype = 'd' AND t2.oid = a.atttypid) AS domain_complete_type, a.attnotnull AS isnotnull, (SELECT 't' FROM pg_index WHERE c.oid = pg_index.indrelid AND pg_index.indkey[0] = a.attnum AND pg_index.indisprimary = 't' ) AS pri, ( 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, (SELECT pg_description.description FROM pg_description WHERE pg_description.objoid = c.oid AND a.attnum = pg_description.objsubid ) AS comment FROM pg_attribute a INNER JOIN pg_class c ON c.oid = a.attrelid INNER JOIN pg_type t ON t.oid = a.atttypid INNER JOIN pg_namespace n ON n.oid = c.relnamespace LEFT JOIN pg_depend d ON d.objid = c.oid AND d.deptype = 'e' AND d.classid = (SELECT oid FROM pg_class WHERE relname = 'pg_class') WHERE a.attnum > 0 AND c.relkind = 'r' AND d.refobjid IS NULL AND n.nspname = ANY(current_schemas(false)) AND c.relname = 'doctrine_migration_versions' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast') ORDER BY a.attnum
Parameters:
[] |
| 13 | 0.39 ms |
SELECT CURRENT_DATABASE()
Parameters:
[] |
| 14 | 2.09 ms |
SELECT quote_ident(ic.relname) AS relname, i.indisunique, i.indisprimary, i.indkey, i.indrelid, pg_get_expr(indpred, indrelid) AS "where" FROM pg_index i JOIN pg_class AS tc ON tc.oid = i.indrelid JOIN pg_namespace tn ON tn.oid = tc.relnamespace JOIN pg_class AS ic ON ic.oid = i.indexrelid WHERE ic.oid IN ( SELECT indexrelid FROM pg_index i, pg_class c, pg_namespace n WHERE c.oid = i.indrelid AND c.relnamespace = n.oid AND n.nspname = ANY(current_schemas(false)) AND c.relname = 'doctrine_migration_versions' AND n.nspname NOT IN ('pg_catalog', 'information_schema', 'pg_toast'))
Parameters:
[] |
| 15 | 0.45 ms |
SELECT attnum, attname FROM pg_attribute WHERE attrelid=224624 AND attnum IN (1) ORDER BY attnum ASC
Parameters:
[] |
| 16 | 1.84 ms |
SELECT distinct i.relname, d.indkey, pg_get_indexdef(d.indexrelid) AS inddef, t.oid FROM pg_class t INNER JOIN pg_index d ON t.oid = d.indrelid INNER JOIN pg_class i ON d.indexrelid = i.oid WHERE i.relkind = 'i' AND d.indisprimary = 'f' AND t.relname = ? AND i.relnamespace IN (SELECT oid FROM pg_namespace WHERE nspname = ANY (current_schemas(false)) ) ORDER BY i.relname
Parameters:
[
"doctrine_migration_versions"
]
|
| 17 | 0.82 ms |
SELECT * FROM doctrine_migration_versions
Parameters:
[] |
| 18 | 0.55 ms |
SELECT CURRENT_DATABASE()
Parameters:
[] |
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
| chirpstack | doctrine.dbal.chirpstack_connection |
Entity Managers
| Name | Service |
|---|---|
| default | doctrine.orm.default_entity_manager |
| chirpstack | doctrine.orm.chirpstack_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
default entity manager
| Class | Mapping errors |
|---|---|
| App\Entity\UserStationRole | No errors. |
| App\Entity\User | No errors. |
| App\Entity\Station | No errors. |
| Pentatrion\UploadBundle\Entity\UploadedFile | No errors. |
| App\Entity\Notification\Notification | No errors. |
| App\Entity\Contact | No errors. |
| App\Entity\ContactGroup | No errors. |
| App\Entity\SafetyPlan | No errors. |
| App\Entity\Message | No errors. |
| App\Entity\StationReport | No errors. |
| App\Entity\ExportHistory | No errors. |
| App\Entity\Dashboard | No errors. |
| App\Entity\Town | No errors. |
| App\Entity\Sensor\Sensor | No errors. |
| App\Entity\Record | No errors. |
| App\Entity\HistoricalFlood | No errors. |
| App\Entity\Notification\StationNotification | No errors. |
| App\Entity\Area\Watershed | No errors. |
| App\Entity\Area\HydrographicRegion | No errors. |
| App\Entity\Area\HydrographicSector | No errors. |
| App\Entity\Area\HydrographicSubSector | No errors. |
| App\Entity\Area\HydrographicZone | No errors. |
| App\Entity\SalClient | No errors. |
| App\Entity\StationRatingCurve | No errors. |
| App\Entity\SpainProvince | No errors. |
chirpstack entity manager
No loaded entities.