Replies: 3 comments 8 replies
-
|
Can you send the entire log output? I suspect that there was an error early on that caused one of the threads to fail.
From: Manju050 ***@***.***>
Date: Tuesday, April 8, 2025 at 3:14 AM
To: CrunchyData/pgCompare ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [CrunchyData/pgCompare] pgcompare getting stuck (Discussion #59)
Any reasons why it is taking so much time?
LOGS:-
[2025-04-08 12:16:09] [INFO ] [ReconcileController ] Creating data compare staging tables
[2025-04-08 12:16:09] [INFO ] [ReconcileController ] Starting compare thread 0
[2025-04-08 12:16:09] [INFO ] [Observer-c460-t0 ] Starting reconcile observer
[2025-04-08 12:16:09] [INFO ] [Observer-c460-t0 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [Reconcile-source-c460-t0] (source) Start database reconcile thread
[2025-04-08 12:16:09] [INFO ] [Reconcile-target-c460-t0] (target) Start database reconcile thread
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i1 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [Reconcile-source-c460-t0] (source) Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i1 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i7 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i2 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i2 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i3 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i3 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i4 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i4 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [Reconcile-target-c460-t0] (target) Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i5 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i5 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i6 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i6 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i7 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i1 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i8 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i8 ] Start repository loader thread
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i7 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i2 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i2 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [Reconcile-source-c460-t0] (source) Connecting to database
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i3 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i3 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [Reconcile-target-c460-t0] (target) Connecting to database
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i4 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i4 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i1 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i5 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i5 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i6 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i6 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i7 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-source-t0-i8 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [loader-target-t0-i8 ] Connecting to repository database
[2025-04-08 12:16:09] [INFO ] [Reconcile-target-c460-t0] (target) Complete. Total rows loaded: 0
[2025-04-08 12:16:09] [INFO ] [Reconcile-source-c460-t0] (source) Complete. Total rows loaded: 0
[2025-04-08 12:16:11] [INFO ] [loader-target-t0-i1 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-source-t0-i7 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-source-t0-i2 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-target-t0-i2 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-source-t0-i3 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-source-t0-i4 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-target-t0-i3 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-target-t0-i4 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-source-t0-i1 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-source-t0-i5 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-source-t0-i6 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-target-t0-i5 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-target-t0-i8 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-target-t0-i7 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-source-t0-i8 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [loader-target-t0-i6 ] Loader thread complete.
[2025-04-08 12:16:11] [INFO ] [ReconcileController ] Waiting for compare threads to complete
[2025-04-08 12:16:11] [INFO ] [ReconcileController ] Waiting for reconcile threads to complete
—
Reply to this email directly, view it on GitHub<#59>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHQXQRUG5QYDRPRJ7SYQP7L2YNZLLAVCNFSM6AAAAAB2VOUNICVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYGE3TOOBRGE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
You can reach me directly at ***@***.******@***.***>. That may be easier to send over logs. Standing by….
From: Manju050 ***@***.***>
Date: Wednesday, April 9, 2025 at 9:15 AM
To: CrunchyData/pgCompare ***@***.***>
Cc: bpace ***@***.***>, Comment ***@***.***>
Subject: Re: [CrunchyData/pgCompare] pgCompare hangs during execution (Discussion #59)
Actuallly,
I have 100 schemas to compare.
i tried to call pgcompare for each schema serially.
Randomly at one point of time it stucks.
will run it again and will share the logs.
Thanks for the reply.
—
Reply to this email directly, view it on GitHub<#59 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHQXQRU4W44CR54IBKUBXTD2YUMPZAVCNFSM6AAAAAB2VOUNICVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENZXHA2DAMY>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
|
A couple of suggestions:
Based on the log neither the source or target have any rows. Will have to debug why it is waiting for additional threads to close as all threads did close. I suspect it is a timing thing with 0 rows being returned. Setting loader-threads to 0 will address this. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Any reasons why it is stuck at " Waiting for reconcile threads to complete "?
LOGS:-
Beta Was this translation helpful? Give feedback.
All reactions