Skip to content

[Feature request] Order source tables by size descending to reduce migration time #1099

Closed
@stumbaumr

Description

@stumbaumr

Hi,

first thank you for this great software! I am used to write my migration scripts by hand for other destination DBs and pgloader is really wonderful!

From previous migrations I have the experience to sort the tables by size descending, so the biggest tables in a parallel migration are started first.

By using this strategy the runtime of the migration is in most cases the time for the biggest table - more so if there is one table outstanding in size.

I am currently migrating a zabbix DB from mysql to postgresql, the history and trends tables are huge compared to the rest (260GByte vs. 2GByte).

All the best and thanks!
Rainer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueThis is a good way to contribute to pgloader for the first timeWishList

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions