GET https://protokoll-prod.dighist.se/actor/view/2933

Query Metrics

16 Database Queries
11 Different statements
2.52 ms Query time
7 Invalid entities

Queries

Group similar statements

# Time Info
1 0.18 ms
SELECT t0.id AS id_1, t0.surname AS surname_2, t0.first_name AS first_name_3, t0.birthdate AS birthdate_4, t0.birthdate_accuracy AS birthdate_accuracy_5, t0.date_of_death AS date_of_death_6, t0.date_of_death_accuracy AS date_of_death_accuracy_7, t0.sv_description AS sv_description_8, t0.en_description AS en_description_9, t0.research_notes AS research_notes_10, t0.gender AS gender_11, t0.alt_surnames AS alt_surnames_12, t0.alt_first_names AS alt_first_names_13, t0.alvin_id AS alvin_id_14, t0.updated_at AS updated_at_15, t0.wikidata_id AS wikidata_id_16, t0.sbl_id AS sbl_id_17, t0.literature_bank_id AS literature_bank_id_18, t0.runeberg_id AS runeberg_id_19, t0.sv_wikipedia_link AS sv_wikipedia_link_20, t0.en_wikipedia_link AS en_wikipedia_link_21, t0.sv_wikisource_link AS sv_wikisource_link_22, t0.en_wikisource_link AS en_wikisource_link_23, t0.commons_wiki_link AS commons_wiki_link_24, t0.display_on_frontpage AS display_on_frontpage_25, t0.automark_ignore AS automark_ignore_26, t0.disambiguation_page AS disambiguation_page_27, t0.birth_place_id AS birth_place_id_28, t0.place_of_death_id AS place_of_death_id_29, t30.id AS id_31, t30.actor_id AS actor_id_32, t30.institution_id AS institution_id_33, t0.updated_by_id AS updated_by_id_34, t0.portrait_id AS portrait_id_35 FROM actors t0 LEFT JOIN correspondents t30 ON t30.actor_id = t0.id WHERE t0.id = ?
Parameters:
[
  "2933"
]
2 0.10 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.place_id AS place_id_4 FROM map_overlays t0
Parameters:
[]
3 0.11 ms
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.start_date_accuracy AS start_date_accuracy_3, t0.end_date AS end_date_4, t0.end_date_accuracy AS end_date_accuracy_5, t0.type AS type_6, t0.description AS description_7, t0.research_notes AS research_notes_8, t0.correspondent_id AS correspondent_id_9, t0.source_id AS source_id_10, t0.place_id AS place_id_11 FROM actions t0 WHERE t0.correspondent_id = ?
Parameters:
[
  2586
]
4 0.31 ms
SELECT m0_.id AS id_0, m0_.date AS date_1, m0_.date_accuracy AS date_accuracy_2, m0_.description AS description_3, m0_.start_page AS start_page_4, m0_.end_page AS end_page_5, m0_.start_pos AS start_pos_6, m0_.end_pos AS end_pos_7, m0_.time AS time_8, m0_.verb AS verb_9, m0_.paragraph AS paragraph_10, m0_.mention_type AS mention_type_11, m0_.info_source_id AS info_source_id_12, m0_.actor_id AS actor_id_13, m0_.institution_id AS institution_id_14, m0_.place_id AS place_id_15, m0_.action_id AS action_id_16, m0_.mentioned_source_id AS mentioned_source_id_17, m0_.event_place_id AS event_place_id_18, m0_.secondary_mention_id AS secondary_mention_id_19, m0_.secondary_actor_id AS secondary_actor_id_20 FROM mentions m0_ LEFT JOIN sources s1_ ON (m0_.info_source_id = s1_.id) LEFT JOIN volumes v2_ ON (v2_.id = s1_.volume_id) WHERE m0_.actor_id = ? AND m0_.id NOT IN (SELECT m3_.id FROM mentions m3_ INNER JOIN mentions m4_ ON (m3_.id = m4_.secondary_mention_id) WHERE m3_.actor_id = ?) AND v2_.published <> 0 ORDER BY m0_.id DESC
Parameters:
[
  2933
  2933
]
5 0.40 ms
SELECT m0_.id AS id_0, m0_.date AS date_1, m0_.date_accuracy AS date_accuracy_2, m0_.description AS description_3, m0_.start_page AS start_page_4, m0_.end_page AS end_page_5, m0_.start_pos AS start_pos_6, m0_.end_pos AS end_pos_7, m0_.time AS time_8, m0_.verb AS verb_9, m0_.paragraph AS paragraph_10, m0_.mention_type AS mention_type_11, m0_.info_source_id AS info_source_id_12, m0_.actor_id AS actor_id_13, m0_.institution_id AS institution_id_14, m0_.place_id AS place_id_15, m0_.action_id AS action_id_16, m0_.mentioned_source_id AS mentioned_source_id_17, m0_.event_place_id AS event_place_id_18, m0_.secondary_mention_id AS secondary_mention_id_19, m0_.secondary_actor_id AS secondary_actor_id_20 FROM mentions m0_ INNER JOIN mentions m1_ ON (m1_.id = m0_.secondary_mention_id) LEFT JOIN sources s2_ ON (m0_.info_source_id = s2_.id) LEFT JOIN volumes v3_ ON (v3_.id = s2_.volume_id) WHERE m1_.actor_id = ? AND v3_.published <> 0 ORDER BY m0_.id DESC
Parameters:
[
  2933
]
6 0.18 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.date AS date_3, t0.date_accuracy AS date_accuracy_4, t0.excerpt_swe AS excerpt_swe_5, t0.transcription AS transcription_6, t0.research_notes AS research_notes_7, t0.place_in_volume AS place_in_volume_8, t0.status AS status_9, t0.book AS book_10, t0.pages AS pages_11, t0.alvin_id AS alvin_id_12, t0.type AS type_13, t0.updated_at AS updated_at_14, t0.language AS language_15, t0.excerpt_eng AS excerpt_eng_16, t0.short_excerpt_swe AS short_excerpt_swe_17, t0.short_excerpt_eng AS short_excerpt_eng_18, t0.transcription_modern_sve AS transcription_modern_sve_19, t0.excerpt_eng_proofed AS excerpt_eng_proofed_20, t0.excerpt_swe_proofed AS excerpt_swe_proofed_21, t0.short_excerpt_eng_proofed AS short_excerpt_eng_proofed_22, t0.short_excerpt_swe_proofed AS short_excerpt_swe_proofed_23, t0.parent_id AS parent_id_24, t0.volume_id AS volume_id_25, t0.updated_by_id AS updated_by_id_26, t27.id AS id_28, t27.created_date AS created_date_29, t27.release_date AS release_date_30, t27.user_id AS user_id_31, t27.source_id AS source_id_32 FROM sources t0 LEFT JOIN `lock` t27 ON t27.source_id = t0.id WHERE t0.id = ?
Parameters:
[
  4938
]
7 0.17 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.date AS date_3, t0.date_accuracy AS date_accuracy_4, t0.excerpt_swe AS excerpt_swe_5, t0.transcription AS transcription_6, t0.research_notes AS research_notes_7, t0.place_in_volume AS place_in_volume_8, t0.status AS status_9, t0.book AS book_10, t0.pages AS pages_11, t0.alvin_id AS alvin_id_12, t0.type AS type_13, t0.updated_at AS updated_at_14, t0.language AS language_15, t0.excerpt_eng AS excerpt_eng_16, t0.short_excerpt_swe AS short_excerpt_swe_17, t0.short_excerpt_eng AS short_excerpt_eng_18, t0.transcription_modern_sve AS transcription_modern_sve_19, t0.excerpt_eng_proofed AS excerpt_eng_proofed_20, t0.excerpt_swe_proofed AS excerpt_swe_proofed_21, t0.short_excerpt_eng_proofed AS short_excerpt_eng_proofed_22, t0.short_excerpt_swe_proofed AS short_excerpt_swe_proofed_23, t0.parent_id AS parent_id_24, t0.volume_id AS volume_id_25, t0.updated_by_id AS updated_by_id_26, t27.id AS id_28, t27.created_date AS created_date_29, t27.release_date AS release_date_30, t27.user_id AS user_id_31, t27.source_id AS source_id_32 FROM sources t0 LEFT JOIN `lock` t27 ON t27.source_id = t0.id WHERE t0.id = ?
Parameters:
[
  4908
]
8 0.16 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.date AS date_3, t0.date_accuracy AS date_accuracy_4, t0.excerpt_swe AS excerpt_swe_5, t0.transcription AS transcription_6, t0.research_notes AS research_notes_7, t0.place_in_volume AS place_in_volume_8, t0.status AS status_9, t0.book AS book_10, t0.pages AS pages_11, t0.alvin_id AS alvin_id_12, t0.type AS type_13, t0.updated_at AS updated_at_14, t0.language AS language_15, t0.excerpt_eng AS excerpt_eng_16, t0.short_excerpt_swe AS short_excerpt_swe_17, t0.short_excerpt_eng AS short_excerpt_eng_18, t0.transcription_modern_sve AS transcription_modern_sve_19, t0.excerpt_eng_proofed AS excerpt_eng_proofed_20, t0.excerpt_swe_proofed AS excerpt_swe_proofed_21, t0.short_excerpt_eng_proofed AS short_excerpt_eng_proofed_22, t0.short_excerpt_swe_proofed AS short_excerpt_swe_proofed_23, t0.parent_id AS parent_id_24, t0.volume_id AS volume_id_25, t0.updated_by_id AS updated_by_id_26, t27.id AS id_28, t27.created_date AS created_date_29, t27.release_date AS release_date_30, t27.user_id AS user_id_31, t27.source_id AS source_id_32 FROM sources t0 LEFT JOIN `lock` t27 ON t27.source_id = t0.id WHERE t0.id = ?
Parameters:
[
  4897
]
9 0.17 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.date AS date_3, t0.date_accuracy AS date_accuracy_4, t0.excerpt_swe AS excerpt_swe_5, t0.transcription AS transcription_6, t0.research_notes AS research_notes_7, t0.place_in_volume AS place_in_volume_8, t0.status AS status_9, t0.book AS book_10, t0.pages AS pages_11, t0.alvin_id AS alvin_id_12, t0.type AS type_13, t0.updated_at AS updated_at_14, t0.language AS language_15, t0.excerpt_eng AS excerpt_eng_16, t0.short_excerpt_swe AS short_excerpt_swe_17, t0.short_excerpt_eng AS short_excerpt_eng_18, t0.transcription_modern_sve AS transcription_modern_sve_19, t0.excerpt_eng_proofed AS excerpt_eng_proofed_20, t0.excerpt_swe_proofed AS excerpt_swe_proofed_21, t0.short_excerpt_eng_proofed AS short_excerpt_eng_proofed_22, t0.short_excerpt_swe_proofed AS short_excerpt_swe_proofed_23, t0.parent_id AS parent_id_24, t0.volume_id AS volume_id_25, t0.updated_by_id AS updated_by_id_26, t27.id AS id_28, t27.created_date AS created_date_29, t27.release_date AS release_date_30, t27.user_id AS user_id_31, t27.source_id AS source_id_32 FROM sources t0 LEFT JOIN `lock` t27 ON t27.source_id = t0.id WHERE t0.id = ?
Parameters:
[
  4795
]
10 0.11 ms
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.start_date_accuracy AS start_date_accuracy_3, t0.end_date AS end_date_4, t0.end_date_accuracy AS end_date_accuracy_5, t0.type AS type_6, t0.description AS description_7, t0.research_notes AS research_notes_8, t0.correspondent_id AS correspondent_id_9, t0.source_id AS source_id_10, t0.place_id AS place_id_11 FROM actions t0 WHERE (t0.type = ? AND t0.source_id = ?)
Parameters:
[
  1
  4938
]
11 0.11 ms
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.start_date_accuracy AS start_date_accuracy_3, t0.end_date AS end_date_4, t0.end_date_accuracy AS end_date_accuracy_5, t0.type AS type_6, t0.description AS description_7, t0.research_notes AS research_notes_8, t0.correspondent_id AS correspondent_id_9, t0.source_id AS source_id_10, t0.place_id AS place_id_11 FROM actions t0 WHERE (t0.type = ? AND t0.source_id = ?)
Parameters:
[
  1
  4908
]
12 0.11 ms
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.start_date_accuracy AS start_date_accuracy_3, t0.end_date AS end_date_4, t0.end_date_accuracy AS end_date_accuracy_5, t0.type AS type_6, t0.description AS description_7, t0.research_notes AS research_notes_8, t0.correspondent_id AS correspondent_id_9, t0.source_id AS source_id_10, t0.place_id AS place_id_11 FROM actions t0 WHERE (t0.type = ? AND t0.source_id = ?)
Parameters:
[
  1
  4897
]
13 0.11 ms
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.end_date AS end_date_3, t0.start_date_accuracy AS start_date_accuracy_4, t0.end_date_accuracy AS end_date_accuracy_5, t0.actor_id AS actor_id_6, t0.institution_id AS institution_id_7, t0.occupation_id AS occupation_id_8 FROM actors_to_occupations t0 WHERE t0.actor_id = ?
Parameters:
[
  2933
]
14 0.10 ms
SELECT t0.id AS id_1, t0.type AS type_2, t0.start_date AS start_date_3, t0.end_date AS end_date_4, t0.start_date_accuracy AS start_date_accuracy_5, t0.end_date_accuracy AS end_date_accuracy_6, t0.actor_1_id AS actor_1_id_7, t0.actor_2_id AS actor_2_id_8 FROM relationships t0 WHERE t0.actor_1_id = ?
Parameters:
[
  2933
]
15 0.09 ms
SELECT t0.id AS id_1, t0.type AS type_2, t0.start_date AS start_date_3, t0.end_date AS end_date_4, t0.start_date_accuracy AS start_date_accuracy_5, t0.end_date_accuracy AS end_date_accuracy_6, t0.actor_1_id AS actor_1_id_7, t0.actor_2_id AS actor_2_id_8 FROM relationships t0 WHERE t0.actor_2_id = ?
Parameters:
[
  2933
]
16 0.11 ms
SELECT t0.id AS id_1, t0.type AS type_2, t0.name AS name_3, t0.size AS size_4, t0.updated_at AS updated_at_5, t0.path AS path_6, t0.description AS description_7, t0.source_id AS source_id_8, t0.place_id AS place_id_9, t0.actor_id AS actor_id_10 FROM files t0 WHERE t0.id = ?
Parameters:
[
  859
]

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
  • The field 'App\Entity\Actor#SBL_id' has the property type 'int' that differs from the metadata field type 'string' returned by the 'text' DBAL type.
  • The association App\Entity\Actor#updated_by refers to the inverse side field App\Entity\User#edited_actors which does not exist.
App\Entity\Place
  • The association App\Entity\Place#image refers to the inverse side field App\Entity\DatabaseFile#places which does not exist.
App\Entity\Correspondent No errors.
App\Entity\Institution No errors.
App\Entity\User
  • The association App\Entity\User#editedSources refers to the owning side field App\Entity\Source#updatedBy which does not exist.
  • The association App\Entity\User#editedVolumes refers to the owning side field App\Entity\Volume#updatedBy which does not exist.
  • The association App\Entity\User#editedActors refers to the owning side field App\Entity\Actor#updatedBy which does not exist.
App\Entity\DatabaseFile
  • The field App\Entity\DatabaseFile#place is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Place#image does not contain the required 'mappedBy="place"' attribute.
  • If association App\Entity\DatabaseFile#place is many-to-one, then the inversed side App\Entity\Place#image has to be one-to-many.
  • The field App\Entity\DatabaseFile#actor is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Actor#portrait does not contain the required 'mappedBy="actor"' attribute.
App\Entity\Relationship No errors.
App\Entity\ActorOccupation No errors.
App\Entity\Mention
  • The mappings App\Entity\Mention#mentioned_source and App\Entity\Source#mentions are inconsistent with each other.
  • The association App\Entity\Mention#secondaryMention refers to the inverse side field App\Entity\Mention#PrimaryMentions which does not exist.
  • The mappings App\Entity\Mention#primaryMentions and App\Entity\Mention#secondaryMention are inconsistent with each other.
App\Entity\ActorPlace No errors.
App\Entity\IgnoreActor No errors.
App\Entity\Action No errors.
App\Entity\MapOverlay No errors.
App\Entity\Source
  • The mappings App\Entity\Source#mentions_in_source and App\Entity\Mention#mentioned_source are inconsistent with each other.
  • The association App\Entity\Source#updated_by refers to the inverse side field App\Entity\User#edited_sources which does not exist.
App\Entity\Volume
  • The field 'App\Entity\Volume#published' has the property type 'bool' that differs from the metadata field type 'int' returned by the 'integer' DBAL type.
  • The association App\Entity\Volume#updated_by refers to the inverse side field App\Entity\User#edited_volumes which does not exist.
App\Entity\Lock No errors.
App\Entity\SourceTopic No errors.
App\Entity\Occupation No errors.