Skip to content

Database Management

Manage your TerraScale databases through the web dashboard with an intuitive visual interface.


Click “Create Database” from the dashboard home page or navigate to Databases and click the create button.

Enter your database configuration:

FieldDescriptionRequirements
Database NameUnique identifierLowercase letters, numbers, hyphens only
RegionGeographic locationSelect from dropdown
Automatic BackupsDaily backup scheduleOptional, configurable retention
Deletion ProtectionPrevent accidental deletionOptional, recommended for production

Click “Create Database” to provision your database. It will be ready within seconds and appear with “Active” status.


The Databases page shows all your databases with:

ColumnDescription
NameDatabase identifier (click to open details)
RegionGeographic location
StatusActive, Creating, or Deleting
CreatedCreation timestamp
ItemsTotal item count
StorageStorage used
  • Use the search box to filter by database name
  • Sort by any column by clicking the header
  • Filter by region or status

Click on any database to view its detail page with three tabs:

Overview metrics for your database:

  • Item Count: Total number of items stored
  • Storage Used: Current storage consumption
  • Read Units: Read capacity consumed
  • Write Units: Write capacity consumed
  • Recent Activity: Graph of operations over time

The built-in Query Explorer allows you to run queries directly in your browser:

  1. Navigate to your database’s Explorer tab
  2. Write your query in the editor
  3. Click “Execute” or press Ctrl+Enter
  4. View results in the JSON viewer below
// Get a single item
{
"operation": "GetItem",
"pk": "user#123",
"sk": "profile"
}
// Query items by partition key
{
"operation": "Query",
"pk": "user#123",
"skCondition": {
"operator": "begins_with",
"value": "order#"
}
}
FeatureDescription
Syntax HighlightingJSON syntax colors for readability
Auto-formattingFormat JSON with Ctrl+Shift+F
Error IndicatorsRed underlines for syntax errors
Line NumbersEasy reference for debugging
Query HistoryAccess recent queries from dropdown

Enable daily automated backups:

  1. Navigate to database Settings tab
  2. Toggle Automatic Backups on
  3. Set Retention Period (7, 14, or 30 days)
  4. Click Save

Backups run daily and can be restored by contacting support.

Prevent accidental database deletion:

  1. Navigate to database Settings tab
  2. Toggle Deletion Protection on
  3. Click Save

When enabled, the delete button is disabled. You must first disable protection to delete the database.


To delete a database:

  1. Navigate to the database’s Settings tab
  2. Ensure Deletion Protection is disabled
  3. Scroll to Danger Zone
  4. Click “Delete Database”
  5. Type the database name to confirm
  6. Click “Delete”

Deletion is permanent and cannot be undone.


  • Enable Deletion Protection for all production databases
  • Enable Automatic Backups with 30-day retention
  • Use descriptive names like prod-users or staging-orders
  • Use naming conventions like dev-* or test-*
  • Consider shorter backup retention to save storage
  • Clean up unused databases regularly
EnvironmentPatternExample
Productionprod-{service}prod-users
Stagingstaging-{service}staging-orders
Developmentdev-{service}dev-inventory
Testingtest-{feature}test-auth-flow