Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Solutions
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Managed Service for ClickHouse
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Information about existing clusters
    • Creating clusters
    • Connecting to databases
    • Stop and start the cluster
    • SQL queries in the management console
    • Changing cluster and database settings
    • Connecting to DataLens
    • Connecting external dictionaries
    • Adding your own geobase
    • Enabling machine learning models
    • Changing ClickHouse versions
    • Managing ClickHouse hosts
    • Adding ZooKeeper hosts
    • Database management
    • Managing database users
    • Managing backups
    • How to manage shards
    • Deleting clusters
  • Solutions
    • Adding data to the database
    • Sharding tables
  • Concepts
    • Relationship between service resources
    • Host classes
    • Network in Yandex Managed Service for ClickHouse
    • Quotas and limits
    • Storage types
    • Backups
    • Replication
    • Dictionaries
    • Sharding
    • Supported clients
  • Access management
  • Pricing policy
    • Current pricing policy
    • Archive
      • Before January 1, 2019
      • From January 1 to March 1, 2019
      • From March 1, 2019 to February 1, 2020
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • BackupService
      • ClusterService
      • DatabaseService
      • FormatSchemaService
      • MlModelService
      • ResourcePresetService
      • UserService
      • VersionsService
      • OperationService
    • REST
      • Overview
      • Backup
        • Overview
        • get
        • list
      • Cluster
        • Overview
        • addHosts
        • addShard
        • addZookeeper
        • backup
        • create
        • createExternalDictionary
        • createShardGroup
        • delete
        • deleteExternalDictionary
        • deleteHosts
        • deleteShard
        • deleteShardGroup
        • get
        • getShard
        • getShardGroup
        • list
        • listBackups
        • listHosts
        • listLogs
        • listOperations
        • listShardGroups
        • listShards
        • move
        • rescheduleMaintenance
        • restore
        • start
        • stop
        • streamLogs
        • update
        • updateShard
        • updateShardGroup
      • Database
        • Overview
        • create
        • delete
        • get
        • list
      • FormatSchema
        • Overview
        • create
        • delete
        • get
        • list
        • update
      • MlModel
        • Overview
        • create
        • delete
        • get
        • list
        • update
      • ResourcePreset
        • Overview
        • get
        • list
      • User
        • Overview
        • create
        • delete
        • get
        • grantPermission
        • list
        • revokePermission
        • update
      • Versions
        • Overview
        • list
      • Operation
        • Overview
        • get
  • Questions and answers
    • General questions
    • Questions about ClickHouse
    • All questions on the same page
  1. Questions and answers
  2. Questions about ClickHouse

Questions about ClickHouse

    Why should I use ClickHouse in Managed Service for ClickHouse rather than my own VM-based installation?

    Managed Service for ClickHouse automates routine database maintenance:

    • Quick DB deployment with the necessary available resources.

    • Data backup.

    • Regular software updates.

    • DB cluster failover.

    • Database usage monitoring and statistics.

    When should I use ClickHouse instead of PostgreSQL?

    ClickHouse supports only adding and reading data, as it is designed primarily for analytics (OLAP). In other cases, it's probably more convenient to use PostgreSQL.

    Is it possible to connect to individual ClickHouse hosts?

    Yes. You can connect to ClickHouse cluster hosts over an encrypted connection:

    • Using the HTTPS interface, port 8443.

    • Using the command-line client, port 9440.

    SSH connections are not supported.

    How do I upload data to ClickHouse?

    Use the INSERT query described in the ClickHouse documentation.

    How do I upload a very large amount of data to ClickHouse?

    Use the CLI for efficient data compression during transmission (the recommended frequency is no more than one INSERT command per second).

    Data transfer from physical media is not yet supported.

    What happens to a cluster if one of its nodes fails?

    DB clusters consist of at least two replicas, so the cluster will continue working if one of its nodes is out.

    Data may be lost only if a node with a non-replicated table fails.

    Is it possible to deploy a ClickHouse DB cluster in multiple availability zones?

    Yes. A database cluster may consist of hosts that reside in different availability zones and even different availability regions.

    How do I back up a ClickHouse database?

    Backups are created every 24 hours and stored for seven days after being created. You can restore data only as of backup creation time.

    How does replication work for ClickHouse?

    ZooKeeper is used for replication. Managed Service for ClickHouse creates a separate ZooKeeper cluster for each ClickHouse cluster.

    Access to ZooKeeper and its setup are not available to Cloud users.

    Why does a ClickHouse cluster take up 3 hosts more than it should?

    When creating a ClickHouse cluster with 2 or more hosts, Managed Service for ClickHouse automatically creates a cluster of 3 ZooKeeper hosts for managing replication and fault tolerance. These hosts are considered when calculating the resource quotas used by the cloud and the cluster cost. By default, ZooKeeper hosts are created with a minimal host class.

    For more information about using ZooKeeper, see ClickHouse documentation.

    Language / Region
    Careers
    Privacy policy
    Terms of use
    Brandbook
    © 2021 Yandex.Cloud LLC