---
title: "A no-code database built into every app"
description: "Every Hercules app includes a database. Describe what to track and Hercules creates the tables. Import a CSV, edit records in place, and schedule backups."
---

# A no-code database built into every app

Every app you build on Hercules comes with its own database, and you don't have to design it. Describe what the app should track, such as orders, prices or customers, and Hercules creates the tables and the relationships between them.

- **No setup.** The database exists the moment the app does.
- **Your choice of region.** Data runs in North America, Europe or Asia Pacific.
- **CSV import.** Load a spreadsheet into a new table or an existing one.

## What can you do with the Hercules database?

### Get tables from a sentence

Describe a feature and Hercules works out the tables. "Users should be able to save favorites" creates a favorites table linked to users. [How the database works](https://hercules.app/docs/apps/database)

### Browse and edit records

The Database tab shows every table and its structure. Search, filter and edit records without writing a query. [Database tab](https://hercules.app/docs/apps/database)

### Import the spreadsheet you run on today

Your current spreadsheets become tables in your app. Large CSV files upload in the background, so a big sheet doesn't time out. [CSV import](https://hercules.app/docs/apps/database)

### Change data by asking

Ask in chat to "raise every wholesale price in the beverages category by 3%" and Hercules queries the tables and makes the change. Hercules updates or deletes records only with your approval. [Edit data with AI](https://hercules.app/docs/apps/database)

### Keep files apart from records

Images, PDFs and videos go in [Files & Media](https://hercules.app/docs/apps/files-media-storage), not the database. Every file there gets a public link, so keep sensitive documents out of it.

### Test on real data safely

A branch is a separate copy of your app for testing changes, and Replicate production data copies your live records into it. Nothing on the branch reaches your live app until you merge it. [Branches](https://hercules.app/docs/apps/branches)

## How does the database get built?

### 1. Describe the feature

> Customers place orders for products. Each customer has their own price per product, and larger orders get a lower unit price.

Hercules creates customers, products and orders tables and links them.

### 2. Load what you already have

Export each sheet as a CSV, then click Import CSV in Database, name the table and pick Append, Replace or Require empty.

Hercules loads the rows into the table using that mode. [CSV import](https://hercules.app/docs/apps/database)

### 3. Keep it safe

In the Hosting tab, open the backup schedule, turn on periodic backups and pick daily or weekly.

Hercules runs backups on that schedule and lists recent runs in the dialog. [Backups](https://hercules.app/docs/apps/database)

## What does a real business keep in the Hercules database?

Gamatauri is a beverage wholesaler in Belo Horizonte, Brazil. Their founder built their enterprise resource planning (ERP) system on Hercules, and it holds 700+ products with a price for each customer and tiered prices for bigger orders. A Heineken costs R$6.98 for one, R$6.63 for three and R$6.41 by the case. The ERP tracks margins and flags any promotion that loses money when a supplier raises its cost. Store sales went up 49% after the switch to dynamic pricing.

> Now with Hercules, I can change the price per product per customer easily. My sales instantly went up.

Thales, Founder, Gamatauri

Read the [Gamatauri story](https://hercules.app/customers/gamatauri)

## What should you know before you start?

- Scheduled backups need a paid plan. Hercules keeps daily backups for 7 days and weekly backups for 14. To restore production from a backup, contact support.
- Downloading your app's code and database needs a paid plan. [Export data](https://hercules.app/docs/apps/export-data)
- Choosing or moving an app's region needs a paid plan, and only organization owners and admins can do it. [Move regions](https://hercules.app/docs/apps/backend)
- Scheduled jobs on a branch send real emails and messages. Ask Hercules to remove them there before you test, since pausing the branch stops all its functions.

## Related features

- Use [App Builder](/products/app-builder) to build the app and its data together when you describe a feature.
- Use [Hercules Auth](/features/authentication) to list everyone who signs up when you manage your users.
- Use [Hosting](/features/hosting) to run scheduled jobs on the same data when your app works in the background.
- Use [Hercules Commerce](/features/payments) to store products, prices and customers when your app takes payments.

## How do you get started?

Import the spreadsheet your business can't run without, check a few records, then bring over the rest. Start building.

## Frequently asked questions

### How large can the Hercules database get?

The Hercules database scales as large as your app needs. Storage counts toward Hercules Cloud usage, and the free plan includes 500 MB a month. [Hercules Cloud](https://hercules.app/docs/platform/billing/cloud-credits)

### Where is my data stored?

Hercules stores each app's data in one region, and new apps use your organization's default region.

- US East (N. Virginia)
- EU West (Ireland)
- Canada Central (Montreal)
- Asia Pacific (Sydney)

### Does merging a branch copy its records into production?

No. Branch records never reach production, and after the merge Hercules deletes the branch's database.

### Will reverting a version undo my data?

No. Reverting changes your code and database structure but leaves the records alone. To undo bad data, restore a backup or fix it forward. [Version control](https://hercules.app/docs/apps/version-control)

```json
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How large can the Hercules database get?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The Hercules database scales as large as your app needs. Storage counts toward Hercules Cloud usage, and the free plan includes 500 MB a month. Hercules Cloud"
      }
    },
    {
      "@type": "Question",
      "name": "Where is my data stored?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Hercules stores each app's data in one region, and new apps use your organization's default region. - US East (N. Virginia) - EU West (Ireland) - Canada Central (Montreal) - Asia Pacific (Sydney)"
      }
    },
    {
      "@type": "Question",
      "name": "Does merging a branch copy its records into production?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "No. Branch records never reach production, and after the merge Hercules deletes the branch's database."
      }
    },
    {
      "@type": "Question",
      "name": "Will reverting a version undo my data?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "No. Reverting changes your code and database structure but leaves the records alone. To undo bad data, restore a backup or fix it forward. Version control"
      }
    }
  ]
}
```
