partition_data_async better implementation? #826
Replies: 3 comments
-
|
That's actually a really good idea for the async partition operation! Saves the entire step of having to move it back. If you'd like to do a PR to implement this, I'd be happy to review it. Otherwise I'll see about what I can do to change that procedure's functionality. Thank you! |
Beta Was this translation helpful? Give feedback.
-
|
Going to turn this discussion into an issue so I can keep track of it and not forget. |
Beta Was this translation helpful? Give feedback.
-
|
Issue can be found here. Please continue further discussion there. Thank you again! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Based on my previous research, there's a very good pattern for creating partitions with minimal table downtime.
Here:
For me, the key difference from what
partition_data_asynccurrently does is that the "outside" table is not temporary, and is attached as the partition itself, not dropped. The obvious tradeoff is that you can't insert data that would go to this partition until everything is done, but that's not necessarily a bad thing.If I'm being silly, feel free to disregard, just thought I'd share my research in case it's useful :)
Beta Was this translation helpful? Give feedback.
All reactions