s3 table function reads and writes objects directly, and a MergeTree table can keep its data on an S3 disk. Both work against a Tapedrive bucket with the endpoint and your keys.
Before you start
You need a bucket and a credential. A bucket is a tape that has delegated writes to the gateway, and a credential is an access key pair the gateway operator issues you. Set up a bucket walks through both. A table’s data parts are many files. Run it against your own gateway (gateway setup) rather than a public one.Configure
Thes3 table function takes the endpoint and the keys in the call, so it needs no configuration. A disk takes them in the storage configuration:
/etc/clickhouse-server/config.d/tape.xml