gh-ost icon indicating copy to clipboard operation
gh-ost copied to clipboard

Can we support the change from common table to partitioned table

Open kert8888 opened this issue 2 years ago • 2 comments

This is the place to report a bug, ask a question, or suggest an enhancement.

This is also the place to make a discussion before creating a PR.

If this is a bug report, please provide a test case (e.g., your table definition and gh-ost command) and the error output.

Please use markdown to format code or SQL: https://guides.github.com/features/mastering-markdown/

Please label the issue on the right (bug, enhancement, question, etc.).

And please understand if this issue is not addressed immediately or in a timeframe you were expecting.

Thank you!

kert8888 avatar Oct 12 '22 09:10 kert8888

:wave: @kert8888 please can you provide more details of what you're trying to do - it would be useful to see the before and after table structures, and what happens when you try to run that migration using gh-ost. Thanks!

dm-2 avatar Oct 21 '22 16:10 dm-2

When I need to change some archived tables into partitioned tables, I need to modify the primary key unique key and add partitions;before this function ,I usually do like"Using shadow table is directly transformed into a partitioned table when building the shadow table"

kert8888 avatar Dec 20 '22 12:12 kert8888