# How to cancel the checksum of liquibase

**URL:** <https://forum.liquibase.org/t/how-to-cancel-the-checksum-of-liquibase/5692>\
**Category:** General Discussion\
**Created:** [July 10, 2021, 8:20am UTC](https://forum.liquibase.org/t/how-to-cancel-the-checksum-of-liquibase/5692 "2021-07-10T08:20:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcf](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@jcf](https://forum.liquibase.org/u/jcf)\
**Post date:** [July 10, 2021, 8:20am UTC](https://forum.liquibase.org/t/how-to-cancel-the-checksum-of-liquibase/5692/1 "2021-07-10T08:20:10Z")

</div>

![微信截图_20210710161914](https://us1.discourse-cdn.com/flex020/uploads/liquibase1/original/1X/b22004a81c31b3f9765a17d0224548d0e1eba897.png)  
springboot  
postgreSQL  
liquibase

---

<div class="post-metadata">

**Author:** ![jcf](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@jcf](https://forum.liquibase.org/u/jcf)\
**Post date:** [July 10, 2021, 9:18am UTC](https://forum.liquibase.org/t/how-to-cancel-the-checksum-of-liquibase/5692/2 "2021-07-10T09:18:06Z")

</div>

[https://forum.liquibase.org/t/how-to-cancel-the-checksum-of-liquibase/](https://forum.liquibase.org/t/how-to-cancel-the-checksum-of-liquibase/)

---

<div class="post-metadata">

**Author:** ![rakhi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/rakhi/32/288_2.png) [@rakhi](https://forum.liquibase.org/u/rakhi)\
**Post date:** [July 12, 2021, 6:15am UTC](https://forum.liquibase.org/t/how-to-cancel-the-checksum-of-liquibase/5692/3 "2021-07-12T06:15:58Z")

</div>

Hi @jcf ,

Liquibase store an md5 checksum with each changeset entry in the database changelog table to detect differences between what is currently in the changelog and what was actually ran against the database. Read more [here](https://www.liquibase.org/blog/what-affects-changeset-checksums). This could not be disabled. However there are multiple ways if you are facing checksum issues while executing a changeset:

1. You can use `runAlways="true"` to execute the changeset on every run, even if it has been run before.
2. You can use `runOnChange="true"` to execute the changeset the first time and each time the changeset has been changed.
3. You can also use `validCheckSum` which adds a checksum that is considered valid for this changeset, regardless of what is stored in the database.

Find more details [here](https://www.liquibase.org/blog/dealing-with-changing-changesets).

Having said all this, could you please help us with more details about why do you wish to disable checksum calculation in liquibase?

Thanks!  
Rakhi Agrawal

---

<div class="post-metadata">

**Author:** ![jcf](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@jcf](https://forum.liquibase.org/u/jcf)\
**Post date:** [July 12, 2021, 12:20pm UTC](https://forum.liquibase.org/t/how-to-cancel-the-checksum-of-liquibase/5692/4 "2021-07-12T12:20:40Z")

</div>

Thank you. There are tens of thousands of insert tags in XML, which leads to a large number of verification statements at startup and slows down the startup speed

---

<div class="post-metadata">

**Author:** ![daryldoak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/daryldoak/32/764_2.png) [@daryldoak](https://forum.liquibase.org/u/daryldoak)\
**Post date:** [July 12, 2021, 12:27pm UTC](https://forum.liquibase.org/t/how-to-cancel-the-checksum-of-liquibase/5692/5 "2021-07-12T12:27:30Z")

</div>

Put all of the insert statements into 1 changeset, then only 1 MD5SUM needs to be calculated.

---

<div class="post-metadata">

**Author:** ![jcf](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@jcf](https://forum.liquibase.org/u/jcf)\
**Post date:** [July 12, 2021, 12:41pm UTC](https://forum.liquibase.org/t/how-to-cancel-the-checksum-of-liquibase/5692/6 "2021-07-12T12:41:16Z")

</div>

ok,thanks very much 😀 😃
