Database / Liquibase interview questions
What is Liquibase and what problem does it solve?
Liquibase is an open-source database schema change management tool that tracks, versions, and deploys changes to a database in a controlled, repeatable way. It solves the problem of managing database migrations alongside application code — ensuring every environment (dev, test, staging, production) runs against the exact same schema version.
Without a tool like Liquibase, teams often rely on a shared folder of SQL scripts, a README with manual steps, or tribal knowledge about what has been run where. This leads to drift: production might be missing a column that staging has, or a developer's local database has leftover tables from an abandoned feature branch. Liquibase eliminates this drift by maintaining a change log that records every schema change ever applied, along with a tracking table (DATABASECHANGELOG) in the database itself that records exactly which changes have been applied.
When Liquibase runs, it compares the change log against the tracking table and applies only the changes that haven't been executed yet in that database. This makes deployments idempotent — you can run Liquibase on any environment without fear of re-applying already-executed changes or missing ones. It also supports rollback for changes that define an undo operation, enabling controlled recovery from bad deployments.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
