View Issue Details

IDProjectCategoryView StatusLast Update
0006343SymmetricDSBugpublic2024-04-19 15:46
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.15.0 
Target Version3.15.5Fixed in Version3.15.5 
Summary0006343: DbCompare on Postgres not using cursor with fetch size
DescriptionWhen running dbcompare on PostgreSQL database, it is using the default behavior of querying all rows into the result set instead of using a more memory efficient backend cursor. Comparison of a large table can cause an OutOfMemoryError. Postgres requires autocommt to be off and the fetch size to be set before it will use a backend cursor. The code is using the dirty SQL template that was initialized with the default SQL template instead of the Postgres SQL template that has the setting requiresAutoCommitFalseToSetFetchSize set to true.
Tagsdbcompare, dialect: postgresql

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.15 518ef2db

2024-04-12 16:46:14

admin

Details Diff
0006343: DbCompare on Postgres not using cursor with fetch size Affected Issues
0006343
mod - symmetric-jdbc/src/main/java/org/jumpmind/db/platform/postgresql/PostgreSqlDatabasePlatform.java Diff File
mod - symmetric-jdbc/src/main/java/org/jumpmind/db/platform/redshift/RedshiftDatabasePlatform.java Diff File

Issue History

Date Modified Username Field Change
2024-04-12 16:45 elong New Issue
2024-04-12 16:45 elong Status new => assigned
2024-04-12 16:45 elong Assigned To => elong
2024-04-12 16:45 elong Tag Attached: dbcompare
2024-04-12 16:45 elong Tag Attached: dialect: postgresql
2024-04-12 16:46 elong Status assigned => resolved
2024-04-12 16:46 elong Resolution open => fixed
2024-04-12 16:46 elong Fixed in Version => 3.15.5
2024-04-19 15:46 admin Changeset attached => SymmetricDS 3.15 518ef2db
2024-04-23 16:58 admin Status resolved => closed