POST https://dev.valt.forasoft.com/wowza/api/updateDeviceStatus

Query Metrics

18 Database Queries
14 Different statements
53.14 ms Query time
4 Invalid entities
22 Managed entities

Queries

Group similar statements

# Time Info
1 15.46 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.streaming_port AS streaming_port_3, t0.admin_port AS admin_port_4, t0.manager_port AS manager_port_5, t0.web_server_port AS web_server_port_6, t0.address AS address_7, t0.storage_folder AS storage_folder_8, t0.use_ssl AS use_ssl_9, t0.use_s3 AS use_s3_10, t0.is_default AS is_default_11, t0.licensor AS licensor_12, t0.has_gpu AS has_gpu_13, t0.rtmp_username AS rtmp_username_14, t0.rtmp_password AS rtmp_password_15, t0.transcription_service_id AS transcription_service_id_16, t0.sync_id AS sync_id_17, t18.stream AS stream_19, t18.video AS video_20, t18.video_prefix AS video_prefix_21, t18.wowza_id AS wowza_id_22, t23.active AS active_24, t23.wowza_id AS wowza_id_25, t23.storage_id AS storage_id_26 FROM wowza t0 LEFT JOIN wowza_routing t18 ON t18.wowza_id = t0.id LEFT JOIN wowza_status t23 ON t23.wowza_id = t0.id
Parameters:
[]
2 1.11 ms
SELECT t0.id AS id_1, t0.provider_type, t0.name AS name_2, t0.aws_access_key_id AS aws_access_key_id_3, t0.aws_secret_key AS aws_secret_key_4, t0.aws_s3_bucket_name AS aws_s3_bucket_name_5, t0.aws_region AS aws_region_6, t0.host_wowza_id AS host_wowza_id_7 FROM transcription_service t0 WHERE t0.id = ? AND t0.provider_type IN ('aws', 'local')
Parameters:
[
  14
]
3 0.83 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.streaming_port AS streaming_port_3, t0.admin_port AS admin_port_4, t0.manager_port AS manager_port_5, t0.web_server_port AS web_server_port_6, t0.address AS address_7, t0.storage_folder AS storage_folder_8, t0.use_ssl AS use_ssl_9, t0.use_s3 AS use_s3_10, t0.is_default AS is_default_11, t0.licensor AS licensor_12, t0.has_gpu AS has_gpu_13, t0.rtmp_username AS rtmp_username_14, t0.rtmp_password AS rtmp_password_15, t0.transcription_service_id AS transcription_service_id_16, t0.sync_id AS sync_id_17, t18.stream AS stream_19, t18.video AS video_20, t18.video_prefix AS video_prefix_21, t18.wowza_id AS wowza_id_22, t23.active AS active_24, t23.wowza_id AS wowza_id_25, t23.storage_id AS storage_id_26 FROM wowza t0 LEFT JOIN wowza_routing t18 ON t18.wowza_id = t0.id LEFT JOIN wowza_status t23 ON t23.wowza_id = t0.id
Parameters:
[]
4 0.72 ms
SELECT t0.id AS id_1, t0.host_wowza_id AS host_wowza_id_2, t0.provider_type FROM transcription_service t0 WHERE t0.provider_type IN ('local')
Parameters:
[]
5 1.26 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.streaming_port AS streaming_port_3, t0.admin_port AS admin_port_4, t0.manager_port AS manager_port_5, t0.web_server_port AS web_server_port_6, t0.address AS address_7, t0.storage_folder AS storage_folder_8, t0.use_ssl AS use_ssl_9, t0.use_s3 AS use_s3_10, t0.is_default AS is_default_11, t0.licensor AS licensor_12, t0.has_gpu AS has_gpu_13, t0.rtmp_username AS rtmp_username_14, t0.rtmp_password AS rtmp_password_15, t0.transcription_service_id AS transcription_service_id_16, t0.sync_id AS sync_id_17, t18.stream AS stream_19, t18.video AS video_20, t18.video_prefix AS video_prefix_21, t18.wowza_id AS wowza_id_22, t23.active AS active_24, t23.wowza_id AS wowza_id_25, t23.storage_id AS storage_id_26 FROM wowza t0 LEFT JOIN wowza_routing t18 ON t18.wowza_id = t0.id LEFT JOIN wowza_status t23 ON t23.wowza_id = t0.id WHERE t0.address = ? LIMIT 1
Parameters:
[
  "dev-wowza.valt.forasoft.com"
]
6 1.27 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.controller AS controller_3, t0.io_last_call AS io_last_call_4, t0.io_last_port_called AS io_last_port_called_5, t0.io_configured AS io_configured_6, t0.has_audio AS has_audio_7, t0.control_enabled AS control_enabled_8, t0.status AS status_9, t0.camera_has_been_online AS camera_has_been_online_10, t0.pending_alert_token AS pending_alert_token_11, t12.device_id AS device_id_13, t0.wowza_id AS wowza_id_14, t0.type, t0.brand AS brand_15, t0.ip AS ip_16, t0.port AS port_17, t0.rtsp_port AS rtsp_port_18, t0.use_ssl AS use_ssl_19, t0.username AS username_20, t0.password AS password_21, t0.rtsp_url AS rtsp_url_22, t0.rtsp_url AS rtsp_url_23, t0.linked_user_id AS linked_user_id_24 FROM device t0 LEFT JOIN device_ocr t12 ON t12.device_id = t0.id WHERE t0.id = ? AND t0.type IN ('camera', 'beam', 'roam', 'controller', 'stream')
Parameters:
[
  "1469"
]
7 3.38 ms
SELECT t0.sampling_frequency AS sampling_frequency_1, t0.sensitivity AS sensitivity_2, t0.camera_id AS camera_id_3, t0.mask_id AS mask_id_4 FROM camera_motion_detection t0 WHERE t0.camera_id = ?
Parameters:
[
  1469
]
8 0.80 ms
SELECT t0.id AS id_1, t0.motion_detection_enabled AS motion_detection_enabled_2, t0.room_id AS room_id_3, t0.video_id AS video_id_4, t0.audio_id AS audio_id_5 FROM device_source t0 WHERE t0.video_id = ?
Parameters:
[
  1469
]
9 1.01 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_shared_audio AS is_shared_audio_3, t0.is_camera_io AS is_camera_io_4, t0.grid AS grid_5, t0.room_type AS room_type_6, t0.camera_sorting_order AS camera_sorting_order_7, t0.priority AS priority_8, t0.schedule_email AS schedule_email_9, t0.master_source_id AS master_source_id_10, t11.id AS id_12, t11.stop_at AS stop_at_13, t11.paused AS paused_14, t11.last_start_time AS last_start_time_15, t11.last_stop_time AS last_stop_time_16, t11.duration_before_last_start AS duration_before_last_start_17, t11.record_id AS record_id_18, t11.schedule_session_id AS schedule_session_id_19, t11.room_id AS room_id_20, t0.sharing_link_id AS sharing_link_id_21, t0.camera_io_id AS camera_io_id_22, t0.wowza_id AS wowza_id_23, t0.user_io_id AS user_io_id_24, t0.user_id AS user_id_25, t0.locked_by_id AS locked_by_id_26, t0.prepared_record_id AS prepared_record_id_27, t28.timeout AS timeout_29, t28.room_id AS room_id_30, t28.enabled_by_id AS enabled_by_id_31, t28.author_id AS author_id_32, t0.container_id AS container_id_33 FROM rooms t0 LEFT JOIN recordings t11 ON t11.room_id = t0.id LEFT JOIN room_motion_detection t28 ON t28.room_id = t0.id WHERE t0.id = ?
Parameters:
[
  548
]
10 11.44 ms
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.expiration AS expiration_3, t0.allow_share_markers AS allow_share_markers_4, t0.allow_new_markers AS allow_new_markers_5, t0.created_by_id AS created_by_id_6, t0.type FROM sharing_link t0 WHERE t0.id = ? AND t0.type IN ('common', 'record')
Parameters:
[
  "1e907cee-33a1-4adb-a2f6-dc6def4b8d2a"
]
11 0.47 ms
"START TRANSACTION"
Parameters:
[]
12 0.91 ms
UPDATE device SET status = ? WHERE id = ?
Parameters:
[
  "online"
  1469
]
13 4.52 ms
"COMMIT"
Parameters:
[]
14 0.79 ms
SELECT t0.id AS id_1, t0.date_time_format AS date_time_format_2, t0.time_format AS time_format_3, t0.comment_overlay_font_size AS comment_overlay_font_size_4, t0.streaming_method AS streaming_method_5, t0.smtp_server_address AS smtp_server_address_6, t0.smtp_server_port AS smtp_server_port_7, t0.email_encryption AS email_encryption_8, t0.email_username AS email_username_9, t0.email_password AS email_password_10, t0.email_from_name AS email_from_name_11, t0.email_bcc_email AS email_bcc_email_12, t0.email_from_address AS email_from_address_13, t0.login_page_logo AS login_page_logo_14, t0.camera_alert_delay_seconds AS camera_alert_delay_seconds_15, t0.notifications_enabled AS notifications_enabled_16, t0.alerts_enabled AS alerts_enabled_17, t0.schedule_enabled AS schedule_enabled_18, t0.info_template_id AS info_template_id_19 FROM global_settings t0 LIMIT 1
Parameters:
[]
15 0.48 ms
"START TRANSACTION"
Parameters:
[]
16 1.00 ms
UPDATE device SET pending_alert_token = ? WHERE id = ?
Parameters:
[
  "2e0be5d7-ec7a-468e-b359-d00d841b79d9"
  1469
]
17 6.01 ms
"COMMIT"
Parameters:
[]
18 1.66 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.streaming_port AS streaming_port_3, t0.admin_port AS admin_port_4, t0.manager_port AS manager_port_5, t0.web_server_port AS web_server_port_6, t0.address AS address_7, t0.storage_folder AS storage_folder_8, t0.use_ssl AS use_ssl_9, t0.use_s3 AS use_s3_10, t0.is_default AS is_default_11, t0.licensor AS licensor_12, t0.has_gpu AS has_gpu_13, t0.rtmp_username AS rtmp_username_14, t0.rtmp_password AS rtmp_password_15, t0.transcription_service_id AS transcription_service_id_16, t0.sync_id AS sync_id_17, t18.stream AS stream_19, t18.video AS video_20, t18.video_prefix AS video_prefix_21, t18.wowza_id AS wowza_id_22, t23.active AS active_24, t23.wowza_id AS wowza_id_25, t23.storage_id AS storage_id_26 FROM wowza t0 LEFT JOIN wowza_routing t18 ON t18.wowza_id = t0.id LEFT JOIN wowza_status t23 ON t23.wowza_id = t0.id
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
Valt\CamBundle\Entity\Wowza 3
Valt\CamBundle\Entity\Wowza\Routing 3
Valt\CamBundle\Entity\Wowza\Status 3
Valt\CamBundle\Entity\TranscriptionService 1
Valt\CamBundle\Entity\Wowza\Storage 1
Valt\CamBundle\Entity\WowzaSync 1
Valt\CamBundle\Entity\Device\Device 1
Valt\CamBundle\Entity\Device\Camera\MotionDetection 1
Valt\CamBundle\Entity\Device\Camera\MotionDetection\Mask 1
Valt\CamBundle\Entity\DeviceSource 1
Valt\CamBundle\Entity\Room 1
Valt\CamBundle\Entity\SharingLink\SharingLink 1
Valt\UserBundle\Entity\User 1
Valt\UserBundle\Entity\Container 1
Valt\BasicBundle\Entity\GlobalSettings 1
Valt\Template\Domain\Entity\Template 1

Entities Mapping

Class Mapping errors
Valt\CamBundle\Entity\Wowza
  • The field Valt\CamBundle\Entity\Wowza#rooms is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Valt\CamBundle\Entity\Room#wowza does not contain the required 'inversedBy: "rooms"' attribute.
  • The field Valt\CamBundle\Entity\Wowza#videoLocations is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Valt\CamBundle\Entity\Record\Video\VideoLocation#wowza does not contain the required 'inversedBy: "videoLocations"' attribute.
  • The field Valt\CamBundle\Entity\Wowza#audioRecordings is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Valt\CamBundle\Entity\Audio#wowza does not contain the required 'inversedBy: "audioRecordings"' attribute.
Valt\CamBundle\Entity\TranscriptionService No errors.
Valt\CamBundle\Entity\WowzaSync No errors.
Valt\CamBundle\Entity\Wowza\Routing No errors.
Valt\CamBundle\Entity\Wowza\Status No errors.
Valt\CamBundle\Entity\Wowza\Storage No errors.
Valt\CamBundle\Entity\Room
  • The field Valt\CamBundle\Entity\Room#groups is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Valt\UserBundle\Entity\UserGroup#rooms does not contain the required 'inversedBy: "groups"' attribute.
Valt\CamBundle\Entity\Device\Device No errors.
Valt\CamBundle\Entity\TranscriptionService\AwsTranscriptionService No errors.
Valt\CamBundle\Entity\TranscriptionService\LocalTranscriptionService No errors.
Valt\UserBundle\Entity\UserGroup No errors.
Valt\CamBundle\Entity\Record\Video\VideoLocation No errors.
Valt\CamBundle\Entity\Audio No errors.
Valt\CamBundle\Entity\Device\Ocr\OcrConfig No errors.
Valt\CamBundle\Entity\Device\Camera\Camera No errors.
Valt\CamBundle\Entity\Device\MobileDevice\MobileDevice No errors.
Valt\CamBundle\Entity\Device\MobileDevice\Beam No errors.
Valt\CamBundle\Entity\Device\MobileDevice\Roam No errors.
Valt\CamBundle\Entity\Device\Controller No errors.
Valt\CamBundle\Entity\Device\Stream No errors.
Valt\UserBundle\Entity\User No errors.
Valt\CamBundle\Entity\DeviceSource No errors.
Valt\CamBundle\Entity\Preset No errors.
Valt\CamBundle\Entity\Alert No errors.
Valt\CamBundle\Entity\Device\Camera\MotionDetection No errors.
Valt\CamBundle\Entity\Device\Camera\MotionDetection\Mask
  • The field Valt\CamBundle\Entity\Device\Camera\MotionDetection\Mask#motionDetection is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Valt\CamBundle\Entity\Device\Camera\MotionDetection#mask does not contain the required 'inversedBy: "motionDetection"' attribute.
Valt\CamBundle\Entity\Recording No errors.
Valt\CamBundle\Entity\Record\Record No errors.
Valt\CamBundle\Entity\Record\StandaloneRecord No errors.
Valt\CamBundle\Entity\Record\RecordedRecord No errors.
Valt\CamBundle\Entity\ScheduleSession No errors.
Valt\CamBundle\Entity\SharingLink\SharingLink No errors.
Valt\CamBundle\Entity\Room\MotionDetection No errors.
Valt\UserBundle\Entity\Container
  • The field Valt\UserBundle\Entity\Container#userGroups is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Valt\UserBundle\Entity\UserGroup#container does not contain the required 'inversedBy: "userGroups"' attribute.
Valt\CamBundle\Entity\SharingLink\RecordSharingLink No errors.
Valt\CamBundle\Entity\Filter No errors.
Valt\CamBundle\Entity\IOCommand No errors.
Valt\Cue\Session\Domain\Entity\Session No errors.
Valt\BasicBundle\Entity\GlobalSettings No errors.
Valt\Template\Domain\Entity\Template No errors.
Valt\BasicBundle\Entity\LoginPageImage No errors.