Skip to content

DocumentsDB

Databases_

Dive deeper into Appwrite DocumentsDB and database configuration. Learn how to create and manage multiple databases for your application.

1 min read

Raw

Databases are the largest organizational unit in Appwrite. Each database contains a group of collections.

A database runs on shared or dedicated infrastructure; see shared and dedicated databases.

Create in Console

The easiest way to create a database is using the Appwrite Console. Navigate to the Databases page and click Create database, choose DocumentsDB as the database type, and select your preferred tier.

Create database
Create database

Create using Server SDKs

You can programmatically create databases using a Server SDK. Appwrite Server SDKs require an API key.

List databases

Use the list method to retrieve all databases in your project.

Get a database

Use the get method to retrieve a single database by its ID.

Update a database

Use the update method to change a database's name or enabled state.

Delete a database

Use the delete method to permanently remove a database and all of its collections and documents.

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.