# Sharding simplified

# Filing Cabinets in Different Rooms

Think of a big office with lots of papers. If all papers were in one filing cabinet, finding a certain paper would take a long time. Instead, the office uses many filing cabinets in different rooms, each holding a specific type of paper (like HR, Finance, Projects, etc.).

This way, when you need a paper from HR, you go right to the HR room. Sharding in databases is like this. **It divides a big database into smaller, easier-to-handle parts (shards), each holding some of the data, which makes getting data quicker and more efficient.**

## Key Points

* **Data Distribution**: Data is divided into smaller, manageable parts, called shards.
    
* **Improved Performance**: Each shard is hosted on a separate server, reducing the load on any single server and enhancing performance.
    
* **Scalability**: As the amount of data grows, more shards can be added, making the database more scalable.
    
* **Complexity**: Sharding adds complexity to database management, as data is now spread across multiple locations.
