Manage Aiven for ClickHouse® integration databases
Set up and manage Aiven for ClickHouse® integration databases to access data hosted by services you're integrated with.
By adding integrations databases in Aiven for ClickHouse, you create streaming data pipelines across services. From Aiven for ClickHouse, you can add integration databases connecting to:
- Aiven for Apache Kafka®
- Aiven for PostgreSQL®
Prerequisites
- Access to the Aiven Console
- Running Aiven for ClickHouse service
- Service integration between the Aiven for ClickHouse service and a data source service (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.
-
On your service's page, click Databases and tables in the sidebar.
-
On the Databases and tables page, click Create database > PostgreSQL integration database.
-
In the Create PostgreSQL integration database wizard:
- Select a service to be a data source for the integration database, 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.
-
On your service's page, click Integrations in the sidebar.
-
On the Integrations page, find your data source integration and click Actions > Create database.
-
In the Create Kafka integration database wizard:
- Select a service to be a data source for the integration database, and click Continue.
- Set up the integration table details:
- 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
To preview integration databases or tables for your Aiven for ClickHouse service:
- Log in to the Aiven Console, and go to your project.
- On the Services page, select an Aiven for ClickHouse service to preview data structures for.
- On your service's page, click Databases and tables in the sidebar.
- Find your integration database, and expand it using to display tables inside it.
- Find your table, and click Actions > View details.
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 that includes a database to be edited.
- On your service's page, click Databases and tables in the sidebar.
- Find the integration database to be edited, and click Actions > Edit database.
- Add or delete integration databases using or Delete respectively, and click Save.
Go to your Aiven for ClickHouse service's Integrations page, find an integration, and clicking 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 that includes a database where you intend to add or delete tables.
- On your service's page, click Databases and tables in the sidebar.
- Find the database, and click Actions > Edit database.
- Add or delete tables using Add table or Delete respectively, 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 that includes a table to be edited.
- On your service's page, click Databases and tables in the sidebar.
- Find a database including the table to be edited, and expand the database using to display tables inside it.
- Find the table to be edited, and click Actions > Edit table.
- In the Edit table window, update table details, and click Saves.
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 where a database to be deleted resides.
- On your service's page, click Databases and tables in the sidebar.
- On the Databases and tables page, find your integration database and click Actions > Delete database.
- In the Delete database confirmation window, study the impact and click Confirm if you accept removing the database along with the tables inside it.
- Log in to the Aiven Console, and go to your project.
- On the Services page, select an Aiven for ClickHouse service where a table to be deleted resides.
- On your service's page, click Databases and tables in the sidebar.
- Find the integration database including the table, and expand it using to display tables inside it.
- Find the table to be deleted, and click Actions > Delete table.
- In the Delete table confirmation window, study the impact and click Confirm if you accept removing the table.
Related pages