mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
ab38b7511b
A read-only storage engine that stores it's data in (aws) S3 To store data in S3 one could use ALTER TABLE: ALTER TABLE table_name ENGINE=S3 libmarias3 integration done by Sergei Golubchik libmarias3 created by Andrew Hutchings
8 lines
176 B
Text
8 lines
176 B
Text
create table t1 (pk int primary key, a int);
|
|
insert into t1 values (1,1),(2,2),(3,3),(4,4);
|
|
alter table t1 engine=S3;
|
|
select a from t1 where pk in (2, 3);
|
|
a
|
|
2
|
|
3
|
|
drop table t1;
|