当前位置:网站首页>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 !
边栏推荐
- NetSeer:可编程数据平面的流事件遥测笔记
- IOT platform construction equipment, with source code
- Five star certification! Know that Chuangyu has passed the evaluation of the content audit service system of China Academy of Communications
- Shell process control - 39. Special process control statements
- 杰理之串口通信 串口接收 IO 需要设置数字功能【篇】
- TT voice landing Zadig: open source co creates helm access scenario, and environmental governance can be done!
- 元宇宙大杀器来了!小扎祭出4款VR头显,挑战视觉图灵测试
- Improving efficiency or increasing costs, how should developers understand pair programming?
- STM32 (IX) -- can
- 嵌入式开发基础之任务管理(线程管理)
猜你喜欢
![Jerry's DAC output mode setting [chapter]](/img/b4/64fe92308c16d0cd8c29fee8ad28d8.png)
Jerry's DAC output mode setting [chapter]

物流服务与管理主要学什么

第十三届蓝桥杯单片机国赛真题

韬略生物冲刺科创板:年亏损过亿 实控人张大为夫妇为美国籍

基于FPGA的电磁超声脉冲压缩检测系统 论文+源文件

反直觉的三门问题,80%的人都会错?

DataEase模板市场正式发布
![[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

基于QT实现的图形学绘制系统 文档+项目源码及可执行EXE文件+系统使用说明书

Yapi installation
随机推荐
QT implements a rule-based machinetranslation system course paper + assignment + project source code
Practical circuit analysis 3
Leetcode question brushing: hash table 01 (valid Letter ectopic words)
Jerry added an input capture channel [chapter]
高级计网笔记(六)
南芯半导体冲刺科创板:年营收9.8亿 顺为红杉小米OPPO是股东
[binary tree] flip the binary tree to match the preorder traversal
微机原理第五章笔记整理
When Jerry's serial port is set up, it prints garbled code, and the internal crystal oscillator is not calibrated [chapter]
高级计网笔记(五)
用户分析-AARRR模型(海盗模型)
Jerry's broadcast MP3 prompt sound function [chapter]
杰理之播 MP3 提示音功能【篇】
Stream流的使用
Know Chuangyu: content oriented, ai+ artificial empowerment
测试
IOT platform construction equipment, with source code
golang set type implementation
【Qt】第十章:数据库
韬略生物冲刺科创板:年亏损过亿 实控人张大为夫妇为美国籍