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

how to config multiple storage #7410

Closed
lzy305 opened this issue Oct 21, 2019 · 2 comments
Closed

how to config multiple storage #7410

lzy305 opened this issue Oct 21, 2019 · 2 comments
Labels
comp-documentation Documentation comp-multidisk Storages & policies question Question?

Comments

@lzy305
Copy link

lzy305 commented Oct 21, 2019

Today, I editor config.xml in order to support multi storage.

config.txt

then restart clickhouse . It is ok.

but I found that it does not take effect.

  1. select * from system.disks

result: default,/data/clickhouse/data/,207526051840,1081114603520,0

  1. select * from system.storage_policies

default,default,1,{default},0,0

@lzy305 lzy305 added the question Question? label Oct 21, 2019
@filimonov
Copy link
Contributor

filimonov commented Oct 21, 2019

<disks> and <policies> should all go to <storage_configuration> subsection.

Here is the working sample: https://github.com/ClickHouse/ClickHouse/blob/4575b6e4ffb35c9d613fd3fe8b6a6cabd2bbaec6/dbms/tests/integration/test_multiple_disks/configs/config.d/storage_configuration.xml

@filimonov filimonov added comp-multidisk Storages & policies comp-documentation Documentation labels Oct 23, 2019
@alexey-milovidov
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-documentation Documentation comp-multidisk Storages & policies question Question?
Projects
None yet
Development

No branches or pull requests

3 participants