Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2956)

Issue 308860043: LL: Speed up delete queries by using a builtin index (b/25088575) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 9 months ago by JohnL
Modified:
7 years, 8 months ago
Reviewers:
Brett Johnson, Srinivas
CC:
connector-cr_google.com
Visibility:
Public.

Description

Speed up delete queries by using a builtin index (b/25088575). Add an alternative delete query that uses a predefined database index rather than requiring the Google recommended index. The new query is controlled by a new useIndexedDeleteQuery advanced config property. The default is false, to avoid forcing all Oracle-based customers to update the LAPI white list.

Patch Set 1 #

Patch Set 2 : Fix 80 cols #

Total comments: 6

Patch Set 3 : Code review comments #

Messages

Total messages: 8
JohnL
7 years, 9 months ago (2016-07-30 02:29:17 UTC) #1
JohnL
Fix 80 cols
7 years, 9 months ago (2016-07-30 02:31:28 UTC) #2
Brett Johnson
https://codereview.appspot.com/308860043/diff/20001/projects/otex-core/source/java/com/google/enterprise/connector/otex/SqlQueries.java File projects/otex-core/source/java/com/google/enterprise/connector/otex/SqlQueries.java (right): https://codereview.appspot.com/308860043/diff/20001/projects/otex-core/source/java/com/google/enterprise/connector/otex/SqlQueries.java#newcode55 projects/otex-core/source/java/com/google/enterprise/connector/otex/SqlQueries.java:55: String[] columns = resources.getStringArray(key + ".select"); Why change execute() ...
7 years, 8 months ago (2016-08-01 22:45:18 UTC) #3
JohnL
Code review comments
7 years, 8 months ago (2016-08-01 23:39:52 UTC) #4
JohnL
PTAL John L https://codereview.appspot.com/308860043/diff/20001/projects/otex-core/source/java/com/google/enterprise/connector/otex/SqlQueries.java File projects/otex-core/source/java/com/google/enterprise/connector/otex/SqlQueries.java (right): https://codereview.appspot.com/308860043/diff/20001/projects/otex-core/source/java/com/google/enterprise/connector/otex/SqlQueries.java#newcode55 projects/otex-core/source/java/com/google/enterprise/connector/otex/SqlQueries.java:55: String[] columns = resources.getStringArray(key + ".select"); ...
7 years, 8 months ago (2016-08-01 23:41:25 UTC) #5
Brett Johnson
LGTM
7 years, 8 months ago (2016-08-02 00:04:48 UTC) #6
Srinivas
On 2016/08/02 00:04:48, johnsonb wrote: > LGTM LGTM
7 years, 8 months ago (2016-08-02 01:21:59 UTC) #7
JohnL
7 years, 8 months ago (2016-08-10 23:17:10 UTC) #8

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b