Skip to content

Commit

Permalink
fix faq link error (#217)
Browse files Browse the repository at this point in the history
Co-authored-by: wangyunbo <[email protected]>
  • Loading branch information
wbtiger and tigerwangyb authored Mar 23, 2024
1 parent 9b3bf96 commit e38501b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/faq/all-in-one.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Q1: After configuring ByConity with s3, how long does it take for data to be wri
A: When writing data, it is directly written to S3, and the local disk stores temporary files. During a query, the system first checks the local disk cache. If the data is not found, it then accesses the remote storage.

Q2: When configuring the AWS s3 endpoint, should I use https://xxx or s3://xxxx? To access an s3 bucket, do I need to combine the endpoint, bucket, and path?
A: Refer to https://ByConity.github.io/zh-cn/docs/basic-guide/cluster-configuration. Yes, you would combine the endpoint, bucket, and path.
A: Refer to https://byconity.github.io/docs/admin-guides/cluster-configuration#storage_configuration. Yes, you would combine the endpoint, bucket, and path.

Q3: In the S3 configuration, what are ak_id and ak_secret? What is the type? What is the purpose of virtual_host_style?
A: ak_id and ak_secret correspond to the access_key and secret_key of s3, respectively. The type should be set to bytes3. The virtual_host_style can be set to true. Most public clouds use the virtual host request style, while minio defaults to the PathStyle unless otherwise configured.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Q1:ByConity配置s3之后,当写数据时,是先写本地磁盘后,多
A:写入数据时,数据直接写入S3,本地磁盘存放存放的是临时文件。查询时,先查找本地磁盘的cache,如果没有再访问远端存储。

Q2:AWS s3 endpoint是使用https://xxx还是s3://xxxx?要访问s3 bucket,就要把上面的endpoint, bucket, path 合并吗?
A:参考:https://ByConity.github.io/zh-cn/docs/basic-guide/cluster-configuration。是的合并路径。
A:参考:https://byconity.github.io/zh-cn/docs/admin-guides/cluster-configuration#storage_configuration。是的合并路径。

Q3:S3配置里的ak_id和ak_secret就是s3 的access_key 和secret_key?type是什么?virtual_host_style是做什么的?
A:ak_id和ak_secret就是s3 的access_key 和secret_key。Type配置成bytes3。virtual_host_style 可以设置成true,公有云基本上都用的是虚拟主机的请求方式,minio 默认不配置的话 用的是 PathStyle。
Expand Down

0 comments on commit e38501b

Please sign in to comment.