Architecture & Performance
Back to case studies
DATABASESInsurance

In-depth analysis of system traces, diagnostics and solution following a database consolidation study

2 jours

Context

SQL Server database rationalization

Challenge

Limit the impact of database servers on SAN storage

Technologies used

DBMS: SQL Server • Storage: SAN NetApp

Methodology and implementation

Following a consolidation study, a server was identified as having an abnormally high disk impact on the SAN (80% of total activity).

A detailed analysis was conducted to understand the origin of this overconsumption:

1. Collection of SQL Server system traces 2. Analysis of the most expensive queries 3. Study of table structure and indexes 4. Identification of full table scans

The analysis revealed that a critical table was constantly fully scanned due to lack of appropriate indexes, generating 41 TB of reads per day on the SAN.

The proposed solution: create 2 targeted indexes on the most used columns in WHERE clauses.

Results

Using 2 indexes on a table, reduction of 41TB/day of read IOs on the SAN! (80% of SAN activity)

Visualizations

Detailed system performance analysis

Detailed system performance analysis

Disk read signature

Disk read signature

SQL table sizes

SQL table sizes

T_Calls_Display table details

T_Calls_Display table details

Addition of 2 new indexes

Addition of 2 new indexes

Before/after optimization comparison - SAN impact

Before/after optimization comparison - SAN impact