Jump right into Deepnote and start exploring using our ClickHouse template here.
With the ClickHouse integration, you can leverage the performance and scalability that comes with ClickHouse's open-source column-oriented DBMS right from within Deepnote. ClickHouse allows users to handle thousands of sub-second queries per second on petabyte-scale datasets. If you need to run fast queries against (very) large datasets, ClickHouse is for you.
ClickHouse and Deepnote
Deepnote's ClickHouse integration allows data teams to efficiently query very large datasets, extract relevant data, and start analyzing and modeling in the comfort of their known notebook environment.
How to connect
To create a ClickHouse integration in Deepnote, open up the integrations overview and click on the ClickHouse tile.
Creating a ClickHouse integration in Deepnote
To create the integration, you'll need a few things:
Hostname
The hostname of the server you are trying to connect to. Check out this section of ClickHouse's docs for more details.
Port
The port on the server of interest you are trying to connect to. Luckily, ClickHouse's docs offer concrete steps for this one as well.
The password for the specified username. More details here.
Database
The name of the database you would like to connect to.
If your connection is protected, you might need to whitelist Deepnote's IP addresses. Read more here.
How to use
Once created, you'll be able to connect the ClickHouse integration to any project within your workspace through the right-hand sidebar. The ClickHouse integration comes with custom ClickHouse SQL blocks that help streamline your analytics efforts. You can also convert any existing SQL block to a ClickHouse block.
Querying ClickHouse in Deepnote
As with all SQL blocks, the query results will be saved as a dataframe and stored in the variable specified in the SQL block.