Skip to main content
Skip to main content
Edit this page

Best Practices in ClickHouse Cloud

This section provides best practices you will want to follow to get the most out of ClickHouse Cloud.

PageDescription
Usage LimitsExplore the limits of ClickHouse.
Multi tenancyLearn about different strategies to implement multi-tenancy.

These are in addition to the standard best practices which apply to all deployments of ClickHouse.

PageDescription
Choosing a Primary KeyGuidance on selecting an effective Primary Key in ClickHouse.
Select Data TypesRecommendations for choosing appropriate data types.
Use Materialized ViewsWhen and how to benefit from materialized views.
Minimize and Optimize JOINsBest practices for minimizing and optimizing JOIN operations.
Choosing a Partitioning KeyHow to choose and apply partitioning keys effectively.
Selecting an Insert StrategyStrategies for efficient data insertion in ClickHouse.
Data Skipping IndicesWhen to apply data skipping indices for performance gains.
Avoid MutationsReasons to avoid mutations and how to design without them.
Avoid OPTIMIZE FINALWhy OPTIMIZE FINAL can be costly and how to work around it.
Use JSON where appropriateConsiderations for using JSON columns in ClickHouse.