# microsoftdocs/sql-docs architecture

> Architecture diagram of the GitHub repository microsoftdocs/sql-docs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/microsoftdocs/sql-docs
- Repository: https://github.com/microsoftdocs/sql-docs

## Overview

This repository is the source for Microsoft SQL Server technical documentation, not a runtime database service. A reader’s basic workflow is to consult the documentation to understand, deploy, connect to, operate, secure, monitor, or migrate SQL Server products. The tree shows distinct documentation areas for Azure SQL Database, Managed Instance, SQL Server on Azure VMs, and migration guidance. No source excerpts were provided, so the graph maps those content branches without asserting links or execution flow between them.

Main entry points: [`azure-sql`](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql) (SQL Server documentation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_database["Azure SQL Database"]
  node_db_overview["Database overview"]
  node_db_connect["Connect and develop"]
  node_db_manage["Configure and scale"]
  node_db_secure["Security"]
  node_db_monitor["Monitor and tune"]
  node_db_recover["Backup and recovery"]
end

subgraph group_managed["Managed Instance"]
  node_mi_overview["Instance overview"]
  node_mi_connect["Connectivity and networking"]
  node_mi_operate["Instance operations"]
  node_mi_continuity["Availability and recovery"]
end

subgraph group_vm["SQL Server VMs"]
  node_vm_linux["Linux guidance"]
  node_vm_windows["Windows guidance"]
  node_vm_shared["VM guidance"]
end

subgraph group_migration["Migration Guides"]
  node_mig_database["Database migrations"]
  node_mig_managed["Instance migrations"]
  node_mig_vm["VM migrations"]
end

node_reader(("Documentation reader"))
node_docs["SQL Server documentation"]

node_reader -->|"consults"| node_docs

click node_docs "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql"
click node_db_overview "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database"
click node_db_connect "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database"
click node_db_manage "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database"
click node_db_secure "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database"
click node_db_monitor "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database"
click node_db_recover "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database"
click node_mi_overview "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/managed-instance"
click node_mi_connect "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/managed-instance"
click node_mi_operate "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/managed-instance"
click node_mi_continuity "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/managed-instance"
click node_vm_linux "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/virtual-machines/linux"
click node_vm_windows "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/virtual-machines/windows"
click node_vm_shared "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/virtual-machines"
click node_mig_database "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/migration-guides/database"
click node_mig_managed "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/migration-guides/managed-instance"
click node_mig_vm "https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/migration-guides/virtual-machines"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_db_overview,node_db_connect,node_db_manage,node_db_secure,node_db_monitor,node_db_recover toneBlue
class node_mi_overview,node_mi_connect,node_mi_operate,node_mi_continuity toneAmber
class node_vm_linux,node_vm_windows,node_vm_shared,node_docs toneMint
class node_mig_database,node_mig_managed,node_mig_vm toneRose
class node_reader toneIndigo
```

## Components

### Azure SQL Database

- [Database overview](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database): `azure-sql/database`
- [Connect and develop](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database): `azure-sql/database`
- [Configure and scale](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database): `azure-sql/database`
- [Security](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database): `azure-sql/database`
- [Monitor and tune](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database): `azure-sql/database`
- [Backup and recovery](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/database): `azure-sql/database`

### Managed Instance

- [Instance overview](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/managed-instance): `azure-sql/managed-instance`
- [Connectivity and networking](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/managed-instance): `azure-sql/managed-instance`
- [Instance operations](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/managed-instance): `azure-sql/managed-instance`
- [Availability and recovery](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/managed-instance): `azure-sql/managed-instance`

### SQL Server VMs

- [Linux guidance](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/virtual-machines/linux): `azure-sql/virtual-machines/linux`
- [Windows guidance](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/virtual-machines/windows): `azure-sql/virtual-machines/windows`
- [VM guidance](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/virtual-machines): `azure-sql/virtual-machines`

### Migration Guides

- [Database migrations](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/migration-guides/database): `azure-sql/migration-guides/database`
- [Instance migrations](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/migration-guides/managed-instance): `azure-sql/migration-guides/managed-instance`
- [VM migrations](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql/migration-guides/virtual-machines): `azure-sql/migration-guides/virtual-machines`

### Other components

- **Documentation reader**
- [SQL Server documentation](https://github.com/microsoftdocs/sql-docs/tree/live/azure-sql): `azure-sql`

## Connections

- Documentation reader → SQL Server documentation: consults
