# How to run the optimization process using pt-archiver on some other partition

**URL:** <https://forums.percona.com/t/how-to-run-the-optimization-process-using-pt-archiver-on-some-other-partition/6056>\
**Category:** Percona Toolkit\
**Created:** [December 6, 2017, 5:24pm UTC](https://forums.percona.com/t/how-to-run-the-optimization-process-using-pt-archiver-on-some-other-partition/6056 "2017-12-06T17:24:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![santhosh.kp](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@santhosh.kp](https://forums.percona.com/u/santhosh.kp)\
**Post date:** [December 6, 2017, 5:24pm UTC](https://forums.percona.com/t/how-to-run-the-optimization-process-using-pt-archiver-on-some-other-partition/6056/1 "2017-12-06T17:24:42Z")

</div>

When we run the optimization process on some XYZ table using pt-archiver, the optimization process is using /mnt/data (default Data directory) which do not have enough disk space to run the process, so instead of that i have added new disk called (/optimization-data partition). So we are looking for an option to pass the new disk as parameter and try to run the optimization process on that disk.

# Is there any such option is available to run the percona pt-archiver (for optimize) to include specific partition in the command Below is the current command we use for optimize

# pt-archiver --no-check-charset --source h=localhost,D=ABCD,t=XYZ --purge --optimize=s --where “id \< 2635421542”

we need to include /optimization-data partition to run the optimization process
