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

[continuation] feature multiple disks #6489

Merged
merged 143 commits into from Sep 13, 2019
Merged

Conversation

@alesapin
Copy link
Member

alesapin commented Aug 14, 2019

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

For changelog. Remove if this is non-significant change.

Category (leave one):

  • New Feature

Short description (up to few sentences):
Continuation of #4918

ObjatieGroba and others added 30 commits Apr 1, 2019
Add space reservation for each new MargeTreeDataPart.
… from MergeTree Constructor
…Tree::fetchPartition multipath fix. Choosing on mutate any disk to write mutation file.
…kHouse into feature_multiple_disks
alesapin added 14 commits Sep 9, 2019
…nd rename, add tests
@alesapin

This comment has been minimized.

Copy link
Member Author

alesapin commented Sep 11, 2019

performance flap

@filimonov

This comment has been minimized.

Copy link
Collaborator

filimonov commented on docs/ru/operations/table_engines/mergetree.md in 9d227b2 Sep 12, 2019

misleading sample. why somebody should use slow & fast disk in single volume and fill them in round-robin manner?

I think should that should be something like

<round_robin_jbod>
   <volumes>
      <jbod>
            <disk>mountpoint_sda1</disk>
            <disk>mountpoint_sda2</disk>
      </jbod>
   </volumes>
</round_robin_jbod>
@filimonov

This comment has been minimized.

Copy link
Collaborator

filimonov commented on docs/ru/operations/table_engines/mergetree.md in 9d227b2 Sep 12, 2019

полИтиках

alesapin added 3 commits Sep 13, 2019
docs/ru/operations/table_engines/mergetree.md Outdated Show resolved Hide resolved
docs/ru/operations/table_engines/mergetree.md Outdated Show resolved Hide resolved
docs/ru/operations/table_engines/mergetree.md Outdated Show resolved Hide resolved
docs/ru/query_language/alter.md Show resolved Hide resolved
docs/ru/query_language/alter.md Show resolved Hide resolved
docs/ru/query_language/alter.md Outdated Show resolved Hide resolved

Перемещения данных не взаимодействуют с репликацией данных, поэтому на разных репликах одной и той же таблицы могут быть указаны разные политики хранения.

После выполнения фоновых слияний или мутаций старые куски не удаляются сразу, а через некоторое время (табличная настройка `old_parts_lifetime`). Также они не перемещаются на другие тома или диски, поэтому до момента удаления они продолжают учитываться при подсчёте занятого дискового пространства.

This comment has been minimized.

Copy link
@blinkov

blinkov Sep 13, 2019

Member

ссылка на настройку?

This comment has been minimized.

Copy link
@alesapin

alesapin Sep 13, 2019

Author Member

А её нет :(

alesapin and others added 2 commits Sep 13, 2019
Co-Authored-By: Ivan Blinkov <github@blinkov.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.