[Groonga-commit] Still Failing: groonga/groonga#3854 (master - 7c2e7d6)

Back to archive index

Travis CI notif****@travi*****
Tue Nov 11 14:03:12 JST 2014


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

Build: #3854
Status: Still Failing

Duration: 6 minutes and 46 seconds
Commit: 7c2e7d6 (master)
Author: Kouhei Sutou
Message: between: optimize for small result set

If result set is small and indexed records are large, searching with
index is slower than sequential search. This change uses sequential
search for the case.

You can custom the behavior by GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO
environment variable:

  * -1: Disable the optimization
  * other value: Use the optimization if
      ("# of result set" / "# of indexed records") > GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO

The default GRN_BETWEEN_TOO_MANY_INDEX_MATCH_RATIO is 0.01. It means
that "# of indexed records" * 0.01 >= "# of result set" case is "small
result set" case.

Limitations:

  * "# of indexed records" isn't exact number.
    * It is too rough value.
    * We assume the followings:
      * homogeneous index key distribution.
      * each index key matches only 1 record.
  * Time value is only supported for now.
    * Integer family values and Float can be supported easily.

View the changeset: https://github.com/groonga/groonga/compare/dbf31498c88d...7c2e7d6f1676

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

--

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


-------------- next part --------------
An HTML attachment was scrubbed...
下載 



More information about the Groonga-commit mailing list
Back to archive index