Skip to content
Permalink
Browse files

0003802: Faster two-pass initial load for tables with LOB on Oracle

  • Loading branch information...
erilong committed Dec 5, 2018
1 parent 91252bc commit e04c07b6f5d2bb928e9581eba398c98286cc2e76
@@ -35,6 +35,7 @@
import org.jumpmind.db.sql.SqlException;
import org.jumpmind.db.util.BinaryEncoding;
import org.jumpmind.symmetric.common.ParameterConstants;
import org.jumpmind.symmetric.common.TableConstants;
import org.jumpmind.symmetric.db.AbstractSymmetricDialect;
import org.jumpmind.symmetric.db.ISymmetricDialect;
import org.jumpmind.symmetric.db.SequenceIdentifier;
@@ -371,6 +372,7 @@ public String massageForLob(String sql, boolean isContainsBigLob) {
@Override
public boolean isInitialLoadTwoPassLob(Table table) {
return parameterService.is(ParameterConstants.INITIAL_LOAD_EXTRACT_USE_TWO_PASS_LOB)
&& !TableConstants.getTables(parameterService.getTablePrefix()).contains(table.getNameLowerCase())
&& table.containsLobColumns(this.platform);
}

@@ -15,6 +15,7 @@
import org.jumpmind.db.sql.SqlException;
import org.jumpmind.db.util.BinaryEncoding;
import org.jumpmind.symmetric.common.ParameterConstants;
import org.jumpmind.symmetric.common.TableConstants;
import org.jumpmind.symmetric.db.AbstractSymmetricDialect;
import org.jumpmind.symmetric.db.ISymmetricDialect;
import org.jumpmind.symmetric.db.SequenceIdentifier;
@@ -334,6 +335,7 @@ public String massageForLob(String sql, boolean isContainsBigLob) {
@Override
public boolean isInitialLoadTwoPassLob(Table table) {
return parameterService.is(ParameterConstants.INITIAL_LOAD_EXTRACT_USE_TWO_PASS_LOB)
&& !TableConstants.getTables(parameterService.getTablePrefix()).contains(table.getNameLowerCase())
&& table.containsLobColumns(this.platform);
}

0 comments on commit e04c07b

Please sign in to comment.
You can’t perform that action at this time.