Portrait of Ahmed MagdiHi, I'm

Ahmed Magdi

Database Administrator & Passionate Software & DevOps Engineer

Keeping SQL Server fast, recoverable and well monitored, including on Azure.

About

From troubleshooting to technical ownership.

A SQL Server DBA who started out troubleshooting databases and grew into cloud, data modeling, architecture and reporting to management.

Most fixes depend on other teams. The work is giving them clear evidence, then staying with the problem until the fix is confirmed.

Evidence first
Measure and test before changing anything.
Clear requirements
Know what the business actually needs before designing a fix.
Collaboration
Work side by side with developers, network teams and stakeholders.
Follow-through
A fix isn’t done until someone confirms it works.

Case studies

Four problems, start to finish.

What went wrong, how it was handled and how it turned out.

Data integrity

Deleting customers without losing history

Problem
Deleting customers could break the order history that referenced them.
Approach
Agreed with stakeholders to keep order lines with NULL customer references, then updated the schema and procedures.
Result
An agreed approach, with checks that restoration works.

Performance

A faster customer-lookup API

Problem
A customer-lookup API was slow.
Approach
Analysed the workload, rewrote the stored procedure and added an index.
Result
Measurably faster in side-by-side tests.

Cloud

Restoring Managed Instance connectivity

Problem
Connections to Azure SQL Managed Instance were failing.
Approach
Traced it to network routing and gave the network team the change it needed.
Result
The network team confirmed connectivity was restored.

Monitoring

Alerting on failed automation

Problem
Failed Azure Automation runs needed to reach the team.
Approach
Built and tested an email alert, then tuned out repeat notifications.
Result
A working alert without the noise.

01Performance

Slow queries, made fast.

Backed by workload analysis and side-by-side tests.

Where AI helps: reading query plans and reviewing T-SQL before testing.

  • API query performance

    Rewrote a slow stored procedure and added an index; measurably faster in tests.

  • Schema and clustered index review

    Reviewed a column change and its clustered-index design for risk.

  • Date-based table partitioning

    Designed date-based partitioning for growing tables.

02Cloud

Taking SQL Server to Azure, and keeping it connected.

Azure SQL Managed Instance: the database, the network and the platform.

Where AI helps: writing PowerShell and automation, and working through connectivity problems.

  • Managed Instance migration

    Planned the move to Azure SQL Managed Instance.

  • Connectivity resolution

    Traced a connection failure to routing; the network team confirmed the fix.

  • AKS private endpoint investigation

    Investigated private-endpoint connectivity for AKS workloads.

  • Maintenance and job visibility

    Reviewed maintenance routines and agent-job visibility.

03Resilience

Making sure data can be recovered.

Backups, restores, Always On and replication.

Where AI helps: writing and reviewing backup, restore and replication scripts.

  • Backup upload reliability

    Investigated unreliable backup uploads; proposed a proof of concept.

  • Backup completion notifications

    Explored automatic notifications when backups complete.

  • Restore automation

    Scripted and automated database restores.

  • Always On secondary investigation

    Investigated data and redo behaviour on a secondary replica.

  • Transactional replication

    Designed replication and subscriber retention.

04Observability

Finding out what went wrong, and why.

Alerts, monitoring and incident investigations.

Where AI helps: sifting through logs, alerts and incident data to find causes faster.

  • Automation failure alerting

    Built, tested and tuned an alert for failed automation runs.

  • Query observability

    Designed application-level query monitoring, requested by leadership.

  • Missing data incident

    Investigated a reported missing-data incident.

  • Duplicate data investigation

    Reproduced duplicate localization data, traced its source and raised it with the team.

05Data engineering

Keeping data correct and well modelled.

Data models, ETL and integrity changes.

Where AI helps: drafting and reviewing data models, ETL logic and SSIS configuration.

  • Customer deletion and restoration

    Agreed a retention approach and delivered it with restoration checks.

  • Data warehouse load review

    Reviewed data warehouse load orchestration.

  • Data model refactoring

    Specified a refactored data model and ETL design.

  • SSIS runtime credentials

    Configured runtime credentials for SSIS deployments.

06Architecture & AI

Beyond the database engine.

Integration, access and reporting decisions, with AI in every part of the work.

AI in every part

Diagnosis
Claude + MCP on live SQL Server issues.
Code and scripts
T-SQL, PowerShell, SSIS and automation.
Analysis
Query plans, workloads, logs and incidents.
Docs and reports
Design comparisons, docs and stakeholder reports.
  • Claude + MCP for SQL Server

    Built an MCP server so Claude can diagnose SQL Server replication issues in production.

  • Third-party integration

    Compared options for integrating a third-party system.

  • Sensitive data access

    Explored designs for controlling access to sensitive data.

  • Performance reporting

    Prepared performance reports for stakeholders across organizations.

Skills

Skills and tools.

The stack behind these projects, plus everyday software and DevOps tools.

Database

  • SQL Server
  • Azure SQL Managed Instance
  • Always On availability groups
  • Transactional replication
  • Query tuning & indexing
  • Table partitioning
  • Backup & restore
  • Database design
  • MySQL
  • PostgreSQL

Data & integration

  • SSIS
  • Data warehousing & ETL
  • Data modeling
  • Integration architecture
  • Data access design

Cloud & DevOps

  • Azure
  • Azure Automation
  • Azure Kubernetes Service
  • Docker
  • Kubernetes
  • Terraform
  • CI/CD pipelines
  • Git
  • PowerShell
  • Bash

Software engineering

  • .NET
  • C#
  • ASP.NET Core
  • Blazor
  • JavaScript
  • TypeScript
  • RESTful APIs

Contact

Hiring for your data team? Let's talk.

Open to database and data platform roles. Email me at me@amagdi.dev.