EVAS/ SQL Operations

AI Insights

Suggestions to review, grouped by area and tied to issue signatures. EVAS never runs them.

Collecting since 2026-10-01 · Sample data

Jobs

Msg 1222 – Nightly_ETL_Sales failedSales reporting may be incompleteMorning sales reports may show stale or missing data until the load completes.Re-run the failed job after confirming storage latency is normal.SQL Agent job failure (Nightly_ETL_Sales timeout)

AI solution

Sustained storage latency coincided with the load window. Check the blocking chain and file-level IO before retrying.

  1. Inspect file IO latency and active waits.
  2. Confirm the blocking chain has cleared and storage latency is normal.
  3. Validate completed ETL batches, then restart from the failed step.
SELECT DB_NAME(database_id) AS database_name, file_id,
       io_stall_read_ms / NULLIF(num_of_reads, 0) AS avg_read_ms
FROM sys.dm_io_virtual_file_stats(DB_ID('SalesDB'), NULL);

Confidence: 91% · sample analysis

Review before running · read-only preview

-- Suggestion to review; EVAS will not run this script
SELECT DB_NAME(database_id) AS database_name, file_id,
       io_stall_read_ms / NULLIF(num_of_reads, 0) AS avg_read_ms
FROM sys.dm_io_virtual_file_stats(DB_ID('SalesDB'), NULL);

Confidence label: High (91%)

Capacity

SalesDB – data file growth above baselineStorage capacity planning requiredIf the drive fills, sales transactions and data imports stop.Extend the volume or archive old data within two weeks.Data file growth trend (SalesDB +11 GB/day)

AI solution

The latest ETL batches increased retained data faster than the established baseline.

  1. Validate file growth and free volume space.
  2. Extend the volume with adequate headroom.
  3. Review partition retention and archive eligible data.
SELECT name, size * 8.0 / 1024 AS size_mb, growth
FROM sys.master_files WHERE database_id = DB_ID('SalesDB');

Confidence: 94% · sample analysis

Review before running · read-only preview

-- Suggestion to review; EVAS will not run this script
SELECT name, size * 8.0 / 1024 AS size_mb, growth
FROM sys.master_files WHERE database_id = DB_ID('SalesDB');

Confidence label: High (94%)

Backups

Msg 3013 – log backup outside RPO windowRecovery protection reducedUp to 40 minutes of operations data could be lost in a failure.Complete the log backup and verify the backup chain.Log backup running late (OperationsDB)

AI solution

Backup target throughput dropped during the scheduled window. Verify Agent history and destination space.

  1. Check the log-backup job history and backup destination.
  2. Restore target throughput or select an approved alternate target.
  3. Run the log backup and validate restore-chain continuity.

Confidence: 87% · sample analysis

Confidence label: Medium (87%)

Msg 3041 – BACKUP failedTest environment recovery at riskLegacy test databases cannot be restored if the instance fails.Fix backup permissions and verify with a test restore.Backup failures (access denied to backup share)

AI solution

The SQL Server service account cannot write to the configured backup directory.

  1. Verify the SQL Server service identity.
  2. Grant the service identity write access on the approved backup directory.
  3. Re-run the backup and verify it with RESTORE VERIFYONLY.
RESTORE VERIFYONLY
FROM DISK = N'D:\SQLBackups\LegacyDB.bak';

Confidence: 96% · sample analysis

Review before running · read-only preview

-- Suggestion to review; EVAS will not run this script
RESTORE VERIFYONLY
FROM DISK = N'D:\SQLBackups\LegacyDB.bak';

Confidence label: High (96%)

Blocking

LCK_M_X – blocking chain, SPID 87Users briefly waitedLogistics users experienced delays of up to 3m 41s.Review the transaction and shorten lock time.Blocking chain, SPID 87

AI solution

A long-running transaction retained exclusive locks until commit.

  1. Review the captured transaction and query plan.
  2. Shorten transaction scope and validate supporting indexes.
  3. Monitor the next execution for recurring lock waits.
SELECT session_id, blocking_session_id, wait_type, wait_time
FROM sys.dm_exec_requests WHERE blocking_session_id > 0;

Confidence: 89% · sample analysis

Review before running · read-only preview

-- Suggestion to review; EVAS will not run this script
SELECT session_id, blocking_session_id, wait_type, wait_time
FROM sys.dm_exec_requests WHERE blocking_session_id > 0;

Confidence label: Medium (89%)

Availability

Error 40 – SQL Server connection unavailableDevelopment environment unavailableRelease testing is paused until the server is back online.Ask the instance owner to restore SQL access and verify backups.Server not reporting (unreachable since patching)

AI solution

The SQL connection is unavailable; the cause cannot be determined with read-only SQL access.

  1. Ask the instance owner to verify SQL connection availability.
  2. Confirm collector access after the connection is restored.
  3. Validate recorded backup history.

Confidence: 82% · sample analysis

Confidence label: Medium (82%)

Queries

Query Store – 3 plan regressionsReports may run slowerSome logistics reports take longer to run.Review and correct the regressed query plans.Query plan regressions (3 plans)

AI solution

A changed cardinality estimate may have selected a less efficient plan. Confirm actual versus estimated rows.

  1. Compare the regressed and previous Query Store plans.
  2. Validate statistics and parameter sensitivity.
  3. Test an approved plan correction before forcing a plan.

Confidence: 83% · sample analysis

Confidence label: Medium (83%)

Replication

AG-Sales – secondary lag peaked at 42 sStandby copy briefly behindBrief window where a failover would have lost up to 42 seconds of data.Confirm synchronized state before planned failovers.AG secondary lag (42 s peak)

AI solution

The ETL IO window coincided with slower redo throughput.

  1. Review redo queue and send queue history.
  2. Check secondary IO latency.
  3. Verify synchronized state before a planned failover.

Confidence: 88% · sample analysis

Confidence label: Medium (88%)

Changes

Configuration drift – max server memoryUnplanned setting change detectedMemory behavior may differ from the approved baseline.Review the change with the change owner.Configuration drift (max server memory)

AI solution

The sampled configuration differs from the approved change baseline; the actor is not known in sample data.

  1. Compare SQL settings with the first-collection baseline.
  2. Review the SQL memory configuration.
  3. Copy the approved setting script for owner review.

Confidence: 75% · sample analysis

Confidence label: Review carefully (75%)

Patching

SQL 2017 CU31 – patch baseline behindTest server missing security fixesKnown vulnerabilities remain unpatched on a test server.Schedule patching in the next maintenance window.Patch baseline behind (3 CUs)

AI solution

The maintenance baseline has advanced since the last patch window.

  1. Confirm the supported servicing baseline.
  2. Test the approved CU and validate rollback backups.
  3. Schedule patching and verify version after restart.

Confidence: 95% · sample analysis

Confidence label: High (95%)

Performance

PAGEIOLATCH_SH – elevated file IO latencyApplication slowdown riskSales application responses may slow during heavy IO.Investigate storage latency with the infrastructure team.High PAGEIOLATCH waits (storage latency 38 ms)

AI solution

Sustained storage latency coincided with the load window. Check the blocking chain and file-level IO before retrying.

  1. Inspect file IO latency and active waits.
  2. Confirm the blocking chain has cleared and storage latency is normal.
  3. Validate completed ETL batches, then restart from the failed step.
SELECT DB_NAME(database_id) AS database_name, file_id,
       io_stall_read_ms / NULLIF(num_of_reads, 0) AS avg_read_ms
FROM sys.dm_io_virtual_file_stats(DB_ID('SalesDB'), NULL);

Confidence: 91% · sample analysis

Review before running · read-only preview

-- Suggestion to review; EVAS will not run this script
SELECT DB_NAME(database_id) AS database_name, file_id,
       io_stall_read_ms / NULLIF(num_of_reads, 0) AS avg_read_ms
FROM sys.dm_io_virtual_file_stats(DB_ID('SalesDB'), NULL);

Confidence label: High (91%)

Security

SQL metadata – collection observationsSQL metadata availableNone identified in the sample review.Review monitoring coverage.SQL metadata observations (3)

AI solution

Scheduled SQL metadata collection.

  1. Review collector coverage.
  2. Retain SQL metadata snapshots.

Confidence: 94% · sample analysis

Confidence label: High (94%)

Integrity

CHECKDB – completed check observationsData integrity verifiedNone; corruption checks passed.No action required.CHECKDB completed (0 errors)

AI solution

Scheduled integrity checks completed.

  1. Review completed CHECKDB history.
  2. Retain integrity-check results.

Confidence: 98% · sample analysis

Confidence label: High (98%)