[Groonga-commit] Errored: groonga/groonga#7546 (master - 8a814ad)

アーカイブの一覧に戻る

Travis CI build****@travi*****
Fri May 6 16:34:05 JST 2016


Build Update for groonga/groonga
-------------------------------------

Build: #7546
Status: Errored

Duration: 3 minutes and 7 seconds
Commit: 8a814ad (master)
Author: Kouhei Sutou
Message: select: improve performance for range search and enough filtered case

This may improve performance when a table has many records and two
conditions such as --filter 'content @ "keyword" && price < 1000'. If
'content @ "keyword"' filters many records, 'price < 1000' may be
evaluated as sequential search instead of index search. Sequential
search is faster than index search when the number of remained records
is less.

It's disabled by default. You can enable it by defining
GRN_TABLE_SELECT_ENOUGH_FILTERED_RATIO=0.1 environment variable.

0.1 means that
"the number of remained records by 'content @ "keyword"'" /
"the number of original records"
must be 10% or less to use this optimization.

If "the number of remained records by 'content @ "keyword"'" is greater
than 1000, this optimization isn't used. You can custom the threshold by
defining GRN_TABLE_SELECT_MAX_N_ENOUGH_FILTERED_RECORDS=5000 environment
variable. In the case, the optimization may be used when "the number of
remained records by 'content @ "keyword"'" is equal to or less than than
5000.

This optimization is used when both of the two conditions are
satisfied.

View the changeset: https://github.com/groonga/groonga/compare/a1f1efd1705a...8a814ad16f4b

View the full build log and details: https://travis-ci.org/groonga/groonga/builds/128234456

--

You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications

-------------- next part --------------
An HTML attachment was scrubbed...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る