Skip to content

Commit d77fa13

Browse files
committed
Detail query usage
1 parent 6cd6d38 commit d77fa13

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

content/en/altinity-kb-setup-and-maintenance/multidisk-jbod-balancing.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,15 @@ Example of least_used policy:
7272

7373
## Manual Rebalancing Parts over JBOD Disks
7474

75+
Following query will select large parts in target_tables and target_databases that can be candidates to move to another disk. Disk chosen should comply with the following requirements:
76+
- Should only select valid moves for the same storage_policy used by that table
77+
- storage_policy must be JBODs type
78+
- moves to other disks in the same volume
79+
- select a different disk, i.e not the same disk as the one that part is in
80+
- select the disk to move the part to by order of largest free_space on that disk
81+
82+
Set `target_tables` and `target_databases` based on requirements.
83+
7584
```sql
7685
WITH
7786
'%' AS target_tables,

0 commit comments

Comments
 (0)