Skip to content

Commit 4d0db4a

Browse files
authored
Merge pull request #3468 from ClickHouse/aashishkohli-patch-4
Update network-data-transfer.mdx
2 parents 7b15c96 + 40f9e41 commit 4d0db4a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/cloud/manage/network-data-transfer.mdx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,17 @@ Data transfer charges vary by Cloud Service Provider (CSP) and region.
2121
Public internet egress pricing is based only on the origin region.
2222
Inter-region (or cross-region) pricing depends on both the origin and destination regions.
2323

24+
**Best Practices to minimize Data Transfer Costs**
25+
26+
There are some patterns to keep in mind when ingressing and egressing data to minimize data transfer costs.
27+
1. When ingressing or egressing data from Clickhouse Cloud, use compression where possible, to minimize the amount of data transferred and the associated cost.
28+
2. Be aware that when doing an INSERT over the native protocol with non-inlined values (e.g. INSERT INTO [TABLE] FROM INFILE [FILE] FORMAT NATIVE), ClickHouse clients pull metadata from servers to pack the data. If the metadata is larger than the INSERT payload, you might counterintuitively see more egress than there is ingress from the server perspective. If this is unacceptable, consider inlining data with VALUES syntax or using the HTTP protocol.
29+
30+
2431
The tables below shows how data transfer charges for egress vary across public internet or cross-region by cloud provider and region.
2532

2633
:::note
2734
ClickHouse Cloud meters inter-region usage in terms of tiers, Tier 1 through Tier 4, depending on the origin and destination regions. The table below shows the tier for each combination of inter-region data transfer. In the Billing usage screen on ClickHouse Cloud you will see data transfer usage broken out by tiers.
2835
:::
2936

30-
:::note
31-
Be aware that when doing an INSERT over the native protocol with non-inlined values (e.g. INSERT INTO [TABLE] FROM INFILE [FILE] FORMAT NATIVE), ClickHouse clients pull metadata from servers to pack the data. If the metadata is larger than the INSERT payload, you might counterintuitively see more egress than there is ingress from the server perspective. If this is unacceptable, consider inlining data with VALUES syntax or using the HTTP protocol.
32-
:::
33-
3437
<NetworkPricing/>

0 commit comments

Comments
 (0)