Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tikv: store WAL and Level 0 on SSD, offload higher levels to object store such as S3 #14507

Open
auntyellow opened this issue Jan 16, 2020 · 2 comments
Labels
feature/reviewing This feature request is reviewing by product managers type/enhancement The issue or PR belongs to an enhancement. type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@auntyellow
Copy link

Feature Request

Log data such as transaction details, browse history, may reach many TB or PB, and they must be query online. Store them on S3 may be much cheaper than SSD. Although S3 has much higher latency than SSD, it is acceptable if people just search their logs.

Consider RocksDB, where TiKV is based on: Is it possible that level 0 WAL files still be written into SSD, while level 1 and higher level SST files written into S3?

An open source project RocksDB-Cloud can set up RocksDB on S3, but there is no such an SQL database support it.

@auntyellow auntyellow added the type/enhancement The issue or PR belongs to an enhancement. label Jan 16, 2020
@coocood
Copy link
Member

coocood commented Jan 17, 2020

Sure, not yet.
But there is an experimental project unistore is developing this feature, it is not production-ready yet.

@ghost ghost added the type/feature-request Categorizes issue or PR as related to a new feature. label Aug 6, 2020
@ghost ghost changed the title Could TiDB support Amazon S3 or Aliyun OSS? tikv: store WAL and Level 0 on SSD, offload higher levels to object store such as S3 Aug 6, 2020
@ghost
Copy link

ghost commented Aug 6, 2020

I have updated the title to be a little bit clearer. This feature request is for TiKV to offload Levels N and higher to an object store. It will likely be independent of TiDB.

@zz-jason zz-jason added the feature/reviewing This feature request is reviewing by product managers label Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/reviewing This feature request is reviewing by product managers type/enhancement The issue or PR belongs to an enhancement. type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants