Use the less onerous version of statistics.

This commit is contained in:
Gregory Burd 2013-04-20 12:27:42 -04:00
parent 7380bd3bd7
commit b69f35364b
2 changed files with 2 additions and 1 deletions

View file

@ -377,7 +377,7 @@ max_sessions(Config) ->
establish_utility_cursors(Connection, Table) -> establish_utility_cursors(Connection, Table) ->
case wterl:cursor_open(Connection, Table) of case wterl:cursor_open(Connection, Table) of
{ok, IsEmptyCursor} -> {ok, IsEmptyCursor} ->
case wterl:cursor_open(Connection, "table:statistics") of case wterl:cursor_open(Connection, "table:statistics", [{statistics_fast, true}]) of
{ok, StatusCursor} -> {ok, StatusCursor} ->
{ok, IsEmptyCursor, StatusCursor}; {ok, IsEmptyCursor, StatusCursor};
{error, Reason1} -> {error, Reason1} ->

View file

@ -461,6 +461,7 @@ config_to_bin([{Key, Value} | Rest], Acc) ->
{eviction_target, integer}, {eviction_target, integer},
{eviction_trigger, integer}, {eviction_trigger, integer},
{extensions, {list, quoted}}, {extensions, {list, quoted}},
{statistics_fast, bool},
{force, bool}, {force, bool},
{from, string}, {from, string},
{hazard_max, integer}, {hazard_max, integer},