S3 Engine Internals
Learn about the internal architecture of the S3 engine, which inherits from Aria code but redirects reads to S3, using a dedicated page cache.
Last updated
Was this helpful?
Was this helpful?
frm file (for discovery):
s3_bucket/database/table/frm
First index block (contains description of the Aria file):
s3_bucket/database/table/aria
Rest of the index file:
s3_bucket/database/table/index/block_number
Data file:
s3_bucket/database/table/data/block_number# install python-pip (on an OpenSuse distribution)
# use the appropriate command for your distribution
zypper install python-pip
pip install --upgrade pip
# the following installs awscli tools in ~/.local/bin
pip install --upgrade --user awscli
export PATH=~/.local/bin:$PATH
# configure your aws credentials
aws configureshell> aws s3 ls --recursive s3://mariadb-bucket/
2019-05-10 17:46:48 8192 foo/test1/aria
2019-05-10 17:46:49 3227648 foo/test1/data/000001
2019-05-10 17:46:48 942 foo/test1/frm
2019-05-10 17:46:48 1015808 foo/test1/index/000001shell> ~/.local/bin/aws s3 rm --recursive s3://mariadb-bucket/foo/test1
delete: s3://mariadb-bucket/foo/test1/aria
delete: s3://mariadb-bucket/foo/test1/data/000001
delete: s3://mariadb-bucket/foo/test1/frm
delete: s3://mariadb-bucket/foo/test1/index/000001