Author: nfilotto
Date: 2011-08-26 06:58:55 -0400 (Fri, 26 Aug 2011)
New Revision: 4800
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/DB2ConnectionFactory.java
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/PostgreConnectionFactory.java
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/SybaseConnectionFactory.java
Log:
EXOJCR-1195: RDBMS indexing is disabled for DB2, Sybase and PGSQL until we improve it if
it is possible as the perfs are better with old indexing
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/DB2ConnectionFactory.java
===================================================================
---
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/DB2ConnectionFactory.java 2011-08-26
08:44:53 UTC (rev 4799)
+++
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/DB2ConnectionFactory.java 2011-08-26
10:58:55 UTC (rev 4800)
@@ -130,5 +130,14 @@
public boolean isIDNeededForPaging()
{
return false;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public boolean isReindexingSupport()
+ {
+ return false;
}
}
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/PostgreConnectionFactory.java
===================================================================
---
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/PostgreConnectionFactory.java 2011-08-26
08:44:53 UTC (rev 4799)
+++
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/PostgreConnectionFactory.java 2011-08-26
10:58:55 UTC (rev 4800)
@@ -122,5 +122,13 @@
throw new RepositoryException(e);
}
}
-
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public boolean isReindexingSupport()
+ {
+ return false;
+ }
}
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/SybaseConnectionFactory.java
===================================================================
---
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/SybaseConnectionFactory.java 2011-08-26
08:44:53 UTC (rev 4799)
+++
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/optimisation/db/SybaseConnectionFactory.java 2011-08-26
10:58:55 UTC (rev 4800)
@@ -130,6 +130,6 @@
@Override
public boolean isReindexingSupport()
{
- return true;
+ return false;
}
}
Show replies by date