当前位置:网站首页>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 !
边栏推荐
- Jerry's serial port communication serial port receiving IO needs to set digital function [chapter]
- Description of all shortcut keys in win11 system
- yapi安装
- STM32(九)------- CAN
- Browser cross domain
- 亚香香料深交所上市:市值40亿 鼎龙博晖与涌耀投资是股东
- Jericho Forced upgrade [chapter]
- golang set type implementation
- [QT] Chapter 3 and 4: window components and layout management
- 高级计网笔记(三)
猜你喜欢

Task management of embedded development foundation (thread management)

汇编语言(1)基础知识

三一重能科创板上市:年营收102亿 市值470亿

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

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

【NOI2014】15.起床困難綜合症【二進制】

STM32 (VIII) -- PWM output

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

Graffiti intelligence passed the hearing: Tencent is an important shareholder planning to return to Hong Kong for listing

【Qt】第十章:数据库
随机推荐
杰理之串口通信 串口接收 IO 需要设置数字功能【篇】
【Qt】第十章:数据库
渗透测试基础,初识渗透测试
【NOI2014】15.起床困难综合症【二进制】
矩阵分析笔记(一)
Shunted Self-Attention | 源于 PvT又高于PvT,解决小目标问题的ViT方法
微机原理第六章笔记整理
杰理之DAC 输出方式设置【篇】
杰理之无缝循环播放【篇】
云安全日报220623:红帽数据库管理系统发现执行任意代码漏洞,需要尽快升级
Revelation: Bezos' business logic and leadership rules
Leetcode: hash table 02 (intersection of two arrays)
Yaxiang spice listed on Shenzhen Stock Exchange: with a market value of 4billion, Dinglong Bohui and Yongyao investment are shareholders
又一家破产清算:那些在时代和资本裹挟下风雨飘摇的游戏公司
物联网平台搭建设备,附源代码
诺亚财富通过聆讯:年营收43亿 汪静波有49%投票权,红杉是股东
涂鸦智能通过聆讯:拟回归香港上市 腾讯是重要股东
【翻译】具有时间结构的特定信号的鲁棒提取(下)
Jerry's adding timer interrupt [chapter]
How to make good use of daily time to review efficiently?