Skip to content

Commit

Permalink
more tags
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerwizard committed Dec 30, 2024
1 parent ea464e7 commit 413eb78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/en/integrations/data-ingestion/data-formats/binary.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ sidebar_label: Binary and Native
slug: /en/integrations/data-formats/binary-native
---

import CloudNotSupportedBadge from '@theme/badges/CloudNotSupportedBadge';

# Using native and binary formats in ClickHouse

ClickHouse supports multiple binary formats, which result in better performance and space efficiency. Binary formats are also safe in character encoding since data is saved in a binary form.
Expand Down Expand Up @@ -166,6 +168,8 @@ FORMAT MsgPack

## Protocol Buffers

<CloudNotSupportedBadge/>

To work with [Protocol Buffers](/docs/en/interfaces/formats.md/#protobuf) we first need to define a [schema file](assets/schema.proto):

```protobuf
Expand All @@ -191,6 +195,8 @@ This saves data to the [proto.bin](assets/proto.bin) file. ClickHouse also suppo

## Cap’n Proto

<CloudNotSupportedBadge/>

Another popular binary serialization format supported by ClickHouse is [Cap’n Proto](https://capnproto.org/). Similarly to `Protobuf` format, we have to define a schema file ([schema.capnp](assets/schema.capnp)) in our example:

```
Expand Down

0 comments on commit 413eb78

Please sign in to comment.