# User defined copy algorithm for pt-online-schema-change

**URL:** <https://forums.percona.com/t/user-defined-copy-algorithm-for-pt-online-schema-change/5343>\
**Category:** Percona Toolkit\
**Created:** [January 13, 2017, 5:43am UTC](https://forums.percona.com/t/user-defined-copy-algorithm-for-pt-online-schema-change/5343 "2017-01-13T05:43:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karsten](https://avatars.discourse-cdn.com/v4/letter/k/e47c2d/32.png) [@Karsten](https://forums.percona.com/u/Karsten)\
**Post date:** [January 13, 2017, 5:43am UTC](https://forums.percona.com/t/user-defined-copy-algorithm-for-pt-online-schema-change/5343/1 "2017-01-13T05:43:55Z")

</div>

Hi

Is there a way to supply pt-online-schema-change with a user define copy algorithm?  
E.g. a Stored Procedure or via the plugin option?  
This functionality is useful when standard algorithm is slow due to unsuitable indexes.

Best Regards
