New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 4.18 and 4.17.2 taking long time in computing checksum #3655
Comments
Jars used under /lib folder in version 4.14, version 4.17.2 and version 4.18 |
Hello! I personally didnt find any difference on the time between versions, so to have a better view of this issue, can you provide us with the output of |
Running with --monitor-performance In execution at : It is taking around ~ 22 mins and there is one more addition due to prompt for "Liquibase Hub" it keeps on waiting in for input, Is there a way to disable this? Add your free Hub API key hereliquibase.hub.apikey: This is not considered when added in properties file. Is there a permanent way to disable this prompt as this is not needed and disrupting the upgrade/automation as keeps waiting for input. |
if you input N or add |
I tried on multiple releases 4.14, 4.18 including Liquibase latest version 4.19 with parameter --monitor-performance=true in CLI or liquibase.monitorPerformance=true in properties file but seems it is not been considered as no jfr file is generated in the folder from where it is triggered. This was run including liquibase.hub.mode=off but no jfr file is generated. Is there any other setting that needs to be looked for jfr generation? -Dliquibase.monitorperformance=TRUE |
Log file content generation is same for version 4.18 and 4.19. Used latest version 4.19 also to confirm this slowness. |
Other finding between Version 4.14 where for new db setup slowness is not there as mentioned above with logs snippet but for existing db upgrade with version 4.14 jar [2023-01-27 18:24:43] INFO [liquibase.changelog] Reading from TEST_APP.DBCHANGELOG |
With Liquibase version 3.8.8 both new setup and upgrading existing database does not show any slowness as seen in above versions. |
In what environment are running liquibase on? |
Running in Windows and on Oracle db. It seems both of the parameters are read correctly but --monitor-performance=true Liquibase(4.19.0) Parameters: Also --monitor-performance=true passed in CLI printed in log as :- Liquibase execution is done from correct place as the same works well and applying all changesets but not generating performance jfr file. It generates log with info and debug logs with debug parameter set where I can see changelogs are running fine. |
Linked issue raised for 4.18 that is also seen in 4.19: |
Also updated below issue#- |
We are working on another performance issue that probably makes this issue a duplicate. But the problem with your environment not recognizing parameters as monitorperformance and hubmode is different. I think this has to do with how you run liquibase. If you can, can you send us a duplicate of your environment? Thanks! |
I tried and updated other performance issue #3694 but the provided fix is not fixing issue completely. In upgrading existing db the slowness still persists with new artifact. |
Environment
Liquibase Version:
4.18
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
CLI
Liquibase Extension(s) & Version:
4.18
Database Vendor & Version:
Oracle Database 19c Enterprise Edition Release 19.3.0.0.0
Operating System Type & Version:
Oracle Enterprise Linux 7
Infrastructure Type/Provider: <AWC, GCS, Azure, VM, etc>
VM
Description
Starting Liquibase at 20:06:21 (version 4.17.2 #5255 built at 2022-11-01 18:07+0000)
[2022-11-30 20:06:23] INFO [liquibase.lockservice] Successfully acquired change log lock
[2022-11-30 20:06:39] INFO [liquibase.changelog] Creating database history table with name: TEST_APP.DBCHANGELOG
[2022-11-30 20:06:39] INFO [liquibase.changelog] Reading from TEST_APP.DBCHANGELOG
Running Changeset: changelogs/prerequisite_checks.xml::1::base
[2022-11-30 20:29:36] INFO [liquibase.changelog] ChangeSet changelogs/prerequisite_checks.xml::1::base ran successfully in 16ms
Starting Liquibase at 23:59:58 (version 4.18.0 #5864 built at 2022-12-02 18:02+0000)
[2023-01-09 23:59:59] INFO [liquibase.lockservice] Successfully acquired change log lock
[2023-01-10 00:00:18] INFO [liquibase.changelog] Creating database history table with name: TEST_APP.DBCHANGELOG
[2023-01-10 00:00:18] INFO [liquibase.changelog] Reading from TEST_APP.DBCHANGELOG
Running Changeset: changelogs/prerequisite_checks.xml::1::base
[2023-01-10 00:22:13] INFO [liquibase.changelog] ChangeSet changelogs/prerequisite_checks.xml::1::base ran successfully in 16ms
Taking approx ~ 22 mins in version 4.17.2 and version 4.18.0
Starting Liquibase at 16:24:35 (version 4.14.0 #3667 built at 2022-07-22 18:36+0000)
[2022-07-29 16:24:37] INFO [liquibase.lockservice] Successfully acquired change log lock
[2022-07-29 16:24:51] INFO [liquibase.changelog] Creating database history table with name: TEST_APP.DBCHANGELOG
[2022-07-29 16:24:51] INFO [liquibase.changelog] Reading from TEST_APP.DBCHANGELOG
Running Changeset: changelogs/prerequisite_checks.xml::1::base
[2022-07-29 16:25:04] INFO [liquibase.changelog] ChangeSet changelogs/prerequisite_checks.xml::1::base ran successfully in 16ms
Taking approx ~ few secs in version 4.14.0 ( issue not seen here)
A clear and concise description of the issue being addressed.
Steps To Reproduce
List the steps to reproduce the behavior.
Actual Behavior
Expected/Desired Behavior
This should behave as Liquibase version 4.14.
Screenshots (if appropriate)
If applicable, add screenshots to help explain your problem.
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: