Query Metrics
14
Database Queries
8
Different statements
3.32 ms
Query time
7
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
1.09 ms (32.70%) |
1 |
SELECT c.COLUMN_NAME AS field, IF( c.COLUMN_TYPE = 'longtext' AND EXISTS( SELECT * from information_schema.CHECK_CONSTRAINTS i_c WHERE i_c.CONSTRAINT_SCHEMA = 'KVA_protocols_prod' AND i_c.TABLE_NAME = c.TABLE_NAME AND i_c.CHECK_CLAUSE = CONCAT( 'json_valid(`', c.COLUMN_NAME, '`)' ) ), 'json', c.COLUMN_TYPE ) AS type, c.IS_NULLABLE AS `null`, c.COLUMN_KEY AS `key`, c.COLUMN_DEFAULT AS `default`, c.EXTRA, c.COLUMN_COMMENT AS comment, c.CHARACTER_SET_NAME AS characterset, c.COLLATION_NAME AS collation FROM information_schema.COLUMNS c INNER JOIN information_schema.TABLES t ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters:
[ "KVA_protocols_prod" "KVA_protocols_prod" "doctrine_migration_versions" ] |
|
0.56 ms (16.88%) |
2 |
SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME
Parameters:
[
"KVA_protocols_prod"
]
|
|
0.50 ms (15.00%) |
1 |
SELECT t.TABLE_NAME, t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa ON ccsa.FULL_COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[ "KVA_protocols_prod" "doctrine_migration_versions" ] |
|
0.38 ms (11.54%) |
6 |
SELECT DATABASE()
Parameters:
[] |
|
0.36 ms (10.79%) |
1 |
SELECT s0_.id AS id_0, s0_.title AS title_1, s0_.date AS date_2, s0_.date_accuracy AS date_accuracy_3, s0_.excerpt_swe AS excerpt_swe_4, s0_.transcription AS transcription_5, s0_.research_notes AS research_notes_6, s0_.place_in_volume AS place_in_volume_7, s0_.status AS status_8, s0_.book AS book_9, s0_.pages AS pages_10, s0_.alvin_id AS alvin_id_11, s0_.type AS type_12, s0_.updated_at AS updated_at_13, s0_.language AS language_14, s0_.excerpt_eng AS excerpt_eng_15, s0_.short_excerpt_swe AS short_excerpt_swe_16, s0_.short_excerpt_eng AS short_excerpt_eng_17, s0_.transcription_modern_sve AS transcription_modern_sve_18, s0_.excerpt_eng_proofed AS excerpt_eng_proofed_19, s0_.excerpt_swe_proofed AS excerpt_swe_proofed_20, s0_.short_excerpt_eng_proofed AS short_excerpt_eng_proofed_21, s0_.short_excerpt_swe_proofed AS short_excerpt_swe_proofed_22, s0_.parent_id AS parent_id_23, s0_.volume_id AS volume_id_24, s0_.updated_by_id AS updated_by_id_25 FROM sources s0_ LEFT JOIN volumes v1_ ON (s0_.volume_id = v1_.id) WHERE s0_.id = ? AND v1_.published <> 0 ORDER BY s0_.date ASC
Parameters:
[
"8043"
]
|
|
0.27 ms (8.08%) |
1 |
SELECT DISTINCT k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME, k.ORDINAL_POSITION /*!50116, c.UPDATE_RULE, c.DELETE_RULE */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'KVA_protocols_prod' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[ "KVA_protocols_prod" "doctrine_migration_versions" ] |
|
0.10 ms (3.16%) |
1 |
SELECT NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX
Parameters:
[ "KVA_protocols_prod" "doctrine_migration_versions" ] |
|
0.06 ms (1.84%) |
1 |
SELECT * FROM doctrine_migration_versions
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.
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Actor |
|
| App\Entity\Source |
|
| App\Entity\Volume |
|
| App\Entity\User |
|
| App\Entity\Place |
|
| App\Entity\Relationship | No errors. |
| App\Entity\ActorOccupation | No errors. |
| App\Entity\Correspondent | No errors. |
| App\Entity\Mention |
|
| App\Entity\ActorPlace | No errors. |
| App\Entity\DatabaseFile |
|
| App\Entity\IgnoreActor | No errors. |
| App\Entity\Action | No errors. |
| App\Entity\SourceTopic | No errors. |
| App\Entity\Lock | No errors. |
| App\Entity\Series | No errors. |
| App\Entity\Page | No errors. |