Create and manage Aiven for ClickHouse® integration databases
Create and manage integration databases in Aiven for ClickHouse® to query data from integrated services:
- Aiven for Apache Kafka®
- Aiven for PostgreSQL®
Prerequisites
- Access to the Aiven Console
- An Aiven for ClickHouse service
- A service integration with Aiven for Kafka or Aiven for PostgreSQL
Create integration databases
Your Aiven for ClickHouse service can support up to 400 databases simultaneously.
Depending on your data source, select PostgreSQL or Apache Kafka.
- PostgreSQL
- Apache Kafka
-
Log in to the Aiven Console, and go to your project.
-
On the Services page, select an Aiven for ClickHouse service.
-
In the sidebar, click Databases and tables.
-
Click Create database > PostgreSQL integration database.
-
In the Create PostgreSQL integration database wizard:
- Select the data source service, and click Continue.
- Enter Database name and Schema name, and click Save.
-
Log in to the Aiven Console, and go to your project.
-
On the Services page, select an Aiven for ClickHouse service.
-
In the sidebar, click Integrations.
-
On the Integrations page, find your data source integration and click Actions > Create database.
-
In the Create Kafka integration database wizard:
- Select the data source service, and click Continue.
- Configure the integration table:
- Enter a table name.
- Enter a consumer group name.
- Select topics.
- Select a data format.
- Enter table columns.
- Click Save table details > Save.
View integration databases or tables
- Log in to the Aiven Console, and go to your project.
- On the Services page, select an Aiven for ClickHouse service.
- In the sidebar, click Databases and tables.
- Expand the integration database using .
- Click Actions > View details on the table.
Edit integration databases or tables
Add or delete integration databases or tables. Update table details.
You cannot edit tables inside PostgreSQL integration databases.
Depending on what you intend to edit, select Database or Table.
- Database
- Table
- Log in to the Aiven Console, and go to your project.
- On the Services page, select an Aiven for ClickHouse service with the database.
- In the sidebar, click Databases and tables.
- Click Actions > Edit database on the integration database.
- Use or Delete to add or remove integration databases, and click Save.
On the Integrations page, find the integration and click Actions > Edit database.
Add or delete tables
- Log in to the Aiven Console, and go to your project.
- On the Services page, select an Aiven for ClickHouse service with the database.
- In the sidebar, click Databases and tables.
- Click Actions > Edit database on the database.
- Use Add table or Delete to add or remove tables, and click Save.
Update table details
- Log in to the Aiven Console, and go to your project.
- On the Services page, select an Aiven for ClickHouse service with the table.
- In the sidebar, click Databases and tables.
- Expand the database using .
- Click Actions > Edit table on the table.
- Update the table details, and click Save.
Delete integration databases or tables
Depending on what you intend to delete, select Database or Table.
- Database
- Table
- Log in to the Aiven Console, and go to your project.
- On the Services page, select an Aiven for ClickHouse service with the database.
- In the sidebar, click Databases and tables.
- Click Actions > Delete database on the integration database.
- Review the impact in the confirmation dialog, and click Confirm to delete the database and its tables.
- Log in to the Aiven Console, and go to your project.
- On the Services page, select an Aiven for ClickHouse service with the table.
- In the sidebar, click Databases and tables.
- Expand the integration database using .
- Click Actions > Delete table on the table.
- Review the impact in the confirmation dialog, and click Confirm to delete the table.
Related pages