当前位置:网站首页>Database migration tool flyway vs liquibase (I)
Database migration tool flyway vs liquibase (I)
2022-06-23 18:46:00 【Qing Cheng sequent stone】
Keep creating , Accelerate growth ! This is my participation 「 Nuggets day new plan · 6 Yuegengwen challenge 」 Of the 28 God , Click to see the event details
Personal home page :@ green Cheng Foreman stone
I believe there is no need to describe why the use of database migration tools is critical to modern applications that use relational database engines . I just want to say , They can make our life easier , And help us automate complex and repetitive processes . Through this article , I will review the two most common open source migration tools ,Flyway and Liquibase The similarities and differences between them provide some further insights .
Tool description
First, a quick description of these two tools . Two of the most popular migration tools ,Flyway and Liquibase, Provides version control for databases .Flyway Use SQL or Java To define a change . by comparison ,Liquibase Provided by SQL、XML、YAML and JSON Flexibility in formatting changes .
Flyway Detailed description of
Its creator is a company named Redgate The company , It is described as an open source database migration tool , It prefers simplicity and convention to configuration .
Up to now , It supports most of the database engines currently in use , Such as Postgres、Oracle、SQL Server、DB2、H2、MariaDB And many other databases . It also supports some cloud based database services , Amazon RDS Or Google cloud SQL or Heroku.
Scripts can be written in pure SQL To write ( Support many dialects ) Or use Java To write ( Mainly used for more complex transformations ). It has a command-line client , But it also provides Maven and Gradle plug-in unit .
what's more , It has Java API, Can also be applied to Android.
For those using .NET and C# For people who , There is one named Evolve Of Flyway Corresponding software , So if you're interested in , You can take a look at this software . its GitHub The link to the page will be at the end of the article .
Liquibase Detailed description of
It begins with 2006 year , Is an open source tool for database migration .
It is based on the concept of change log and change set file , These documents can be used SQL、XML、YAML、JSON To write . There? , We store all the changes we want to make in the database structure . These files can be further used to apply these changes to any other database instance .
Liquibase Support subsequent databases .Postgres、Oracle、DB2、H2、MariaDB、SQL Server、SQLite, And many other databases . Many cloud based databases are also supported , for example Azure SQL、Amazon RDS、Amazon Aurora.
You can start your shell Run in Liquibase Migration scripts , Use Maven Gradle even to the extent that Ant And so on . Besides , You can generate pure SQL Inquire about , It's up to you DBA-s/Ops/DevOps The team or anyone else who is taking care of your database will go further .
juvenile , I didn't see enough. ? Click on the stone Details , Just a little , There might be a surprise ? Welcome to support give the thumbs-up / Focus on / Comment on , Your support is my biggest motivation , Thank you very much !
边栏推荐
猜你喜欢

This year, Anhui master fund exploded

Talk about row storage and column storage of database

Noah fortune passed the hearing: with an annual revenue of 4.3 billion yuan, Wang Jingbo has 49% voting rights, and Sequoia is a shareholder

产品设计- 需求分析

Js25 topic

杰理之DAC 输出方式设置【篇】

Heavyweight: the domestic ide was released, developed by Alibaba, and is completely open source! (high performance + high customization)
![[Huazhong University of science and technology] information sharing for the first and second examinations of postgraduate entrance examination](/img/ec/884e656a921e20a5679a2960c9ac4d.jpg)
[Huazhong University of science and technology] information sharing for the first and second examinations of postgraduate entrance examination

Shengke communication IPO meeting: annual revenue of 460million China Zhenhua and industry fund are shareholders

CV-图像分类
随机推荐
Improving efficiency or increasing costs, how should developers understand pair programming?
三一重能科创板上市:年营收102亿 市值470亿
VirtP4笔记
[binary tree] flip the binary tree to match the preorder traversal
云安全日报220623:红帽数据库管理系统发现执行任意代码漏洞,需要尽快升级
[QT] Chapter 3 and 4: window components and layout management
各种解背包问题
How far is the rise of cloud native industry applications from "available" to "easy to use"?
反直觉的三门问题,80%的人都会错?
Leetcode: hash table 04 (sum of two numbers)
Stepping mode of research control motor
golang set type implementation
产品设计- 需求分析
可编程全功能速率限制器设计硬件交换机
Revelation: Bezos' business logic and leadership rules
Rancher2.6 new monitoring QuickStart
Browser cross domain
对比学习(Contrastive Learning)综述
DigiCert和GlobalSign单域名OV SSL证书对比评测
Jerry's SD card will reset after he enters soft off [chapter]