> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shardcloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Database Services

> ShardCloud provides fully managed database services with high availability and built-in security.

<CardGroup cols={3}>
  <Card title="Redis" icon="database">
    In-memory data store
  </Card>

  <Card title="PostgreSQL" icon="database">
    Relational database
  </Card>

  <Card title="MongoDB" icon="database">
    Document database
  </Card>

  <Card title="MySQL" icon="database">
    Relational database
  </Card>
</CardGroup>

## Supported Databases

### Redis

* **Use Cases**: Caching, sessions, real-time data

### PostgreSQL

* **Use Cases**: Web apps, complex queries, ACID transactions

### MySQL

* **Use Cases**: Web apps, complex queries, ACID transactions

### MongoDB

* **Use Cases**: Document storage, flexible schemas, JSON data

## Database Visualizers

Enable web-based database management with one click - no configuration needed.

<CardGroup cols={3}>
  <Card title="Redis Commander" icon="terminal">
    Redis management interface
  </Card>

  <Card title="pgWeb" icon="table">
    PostgreSQL admin tool
  </Card>

  <Card title="Mongo Express" icon="file-code">
    MongoDB admin interface
  </Card>
</CardGroup>

### Features

* **One-click enable**: Simple toggle switch activation
* **Auto-configured**: Pre-configured with your database credentials
* **Secure access**: Protected with your database password

<Steps>
  <Step title="Enable">
    Toggle visualizer switch in database settings
  </Step>

  <Step title="Access">
    Click the provided URL
  </Step>

  <Step title="Login">
    Use your database credentials
  </Step>
</Steps>

## Security

<Warning>
  All database connections use SSL encryption only.
</Warning>

### SSL-Only Connections

* TLS encryption for all database traffic
* Automatic certificate management
* No unencrypted connections allowed

### Password Management

* Change passwords anytime
* Visualizer passwords update automatically
* Zero downtime password rotation

## Real-Time Metrics

Monitor your database performance with live metrics:

<CardGroup cols={2}>
  <Card title="Network Usage" icon="network-wired">
    Ingress and egress traffic
  </Card>

  <Card title="Resource Usage" icon="server">
    RAM and vCPU utilization
  </Card>
</CardGroup>

**Available Metrics:**

* Network ingress/egress
* RAM usage
* vCPU usage
* Connection counts
* Query performance

## Backups

<Tip>
  Create and restore backups with one click.
</Tip>

### Backup Features

* **One-click creation**: Instant backup generation
* **10 backups per database**: Automatic rotation
* **Easy restoration**: One-click restore process
* **Secure storage**: Encrypted backup storage

### Backup Process

<Steps>
  <Step title="Create">
    Click backup button in dashboard
  </Step>

  <Step title="Store">
    Backup saved automatically
  </Step>

  <Step title="Restore">
    Select backup and click restore
  </Step>
</Steps>

## Getting Started

<Steps>
  <Step title="Create Database">
    Choose database type and configure
  </Step>

  <Step title="Connect">
    Use provided connection strings
  </Step>

  <Step title="Enable Visualizer">
    Toggle visualizer for web management
  </Step>

  <Step title="Setup Backups">
    Create your first backup
  </Step>
</Steps>
