Download:
child 28:f834362f7f83
parent 26:05579dfd3e35
27:e5098c3301fb
Anton Shestakov <engored@ya.ru>, Wed, 27 May 2015 18:57:30 +0800
bench: include node in idx_results_limits (local limits speed-up)

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
bench.py file | annotate | diff | comparison | revisions
--- a/bench.py Wed May 27 18:56:20 2015 +0800
+++ b/bench.py Wed May 27 18:57:30 2015 +0800
@@ -170,7 +170,7 @@
conn.execute(
'CREATE INDEX IF NOT EXISTS idx_results_node ON results (node)')
conn.execute(
- 'CREATE INDEX IF NOT EXISTS idx_results_limits ON results (mark, cache, time ASC)')
+ 'CREATE INDEX IF NOT EXISTS idx_results_limits ON results (mark, cache, node, time ASC)')
conn.commit()
conn.close()