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

Query Metrics

16 Database Queries
12 Different statements
21.17 ms Query time
3 Invalid entities
17 Managed entities

Queries

Group similar statements

# Time Info
1 0.99 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 0.92 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.96 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.65 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.38 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.25 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, t0.wowza_id AS wowza_id_12, t0.type, t0.brand AS brand_13, t0.ip AS ip_14, t0.port AS port_15, t0.rtsp_port AS rtsp_port_16, t0.use_ssl AS use_ssl_17, t0.username AS username_18, t0.password AS password_19, t0.rtsp_url AS rtsp_url_20, t0.rtsp_url AS rtsp_url_21, t0.linked_user_id AS linked_user_id_22 FROM device t0 WHERE t0.id = ? AND t0.type IN ('camera', 'beam', 'roam', 'controller', 'stream')
Parameters:
[
  "1467"
]
7 1.03 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:
[
  1467
]
8 0.89 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:
[
  1467
]
9 0.47 ms
"START TRANSACTION"
Parameters:
[]
10 0.97 ms
UPDATE device SET status = ? WHERE id = ?
Parameters:
[
  "offline"
  1467
]
11 3.72 ms
"COMMIT"
Parameters:
[]
12 1.06 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:
[]
13 0.67 ms
"START TRANSACTION"
Parameters:
[]
14 0.91 ms
UPDATE device SET pending_alert_token = ? WHERE id = ?
Parameters:
[
  "ea6ef30b-6bf3-4089-a7a3-233c4160c267"
  1467
]
15 3.79 ms
"COMMIT"
Parameters:
[]
16 1.51 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\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\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\BasicBundle\Entity\GlobalSettings No errors.
Valt\Template\Domain\Entity\Template No errors.
Valt\BasicBundle\Entity\LoginPageImage No errors.