Skip to content
SPECIFICTION
Get listed

db-migrate vs pt-online-schema-change

db-migrate

github.com

pt-online-schema-change

docs.percona.com

Side by side

Figuredb-migratept-online-schema-change
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
LinuxYesYes
Self-hostedYesYes
Plans published11
Spec score · Database Migration Tools8.5 (#5)7.5 (#21)
LicenseThe project is distributed under the MIT License.The program is free software under either the GNU General Public License version 2 or the Perl Artistic License.
Purposedb-migrate describes itself as a database migration framework for Node.js.pt-online-schema-change alters MySQL table structures without blocking reads or writes by building and populating a copy of the table, then replacing the original.
SupportThe repository invites users to seek project support through backer and sponsor contributions.Percona says its Community Forum service is free and response times vary with the complexity of the question.

Plans

db-migrate

  • db-migrateFree

db-migrate pricing →

pt-online-schema-change

  • Percona Toolkit (includes pt-online-schema-change)Free

pt-online-schema-change pricing →

In their own words

db-migrate

db-migrate is a free, open-source database migration framework for Node.js applications. It runs on Linux and can be self-hosted. The command-line interface provides up, down, reset, create, and db commands for applying, rolling back, resetting, creating, and managing migrations. Supported databases listed by the project include MySQL, PostgreSQL, sqlite3, MongoDB, and CockroachDB, with database drivers installed separately. Migration files support callback-based or promise-based interfaces, while the --sql-file option creates separate SQL files for migration-up and migration-down statements. Applied migrations are recorded in a migrations table. Environment settings can come from database.json, with command-line choices for the environment and configuration file. Database usernames and passwords can reference environment variables. Global and local npm installation are documented. Node.js 24 and newer are officially supported; package metadata specifies version 8.0.0 or later. Rollback is supported, and the format is mixed.

Visit github.com

pt-online-schema-change

pt-online-schema-change has no write-up on Specifiction yet; its figures are above.

Visit docs.percona.com